Lines Matching full:schedule

55  *  1) Add some accounting to the schedule code to see how late we are
59 * a schedule item but there is a current event. We could:
60 * -> Reschedule the schedule item and let current event finish
62 * -> Disable schedule timer while in an event; could cause us to be late.
63 * -> Wait for current event to finish hoping it does before schedule item.
74 * Checks if two events in the schedule will overlap in time. NOTE: consecutive
75 * schedule items can end and start at the same time.
105 * Determines if the schedule item overlaps the currently running schedule
106 * item. We only care about connection schedule items
169 /* Get schedule element from connection */ in ble_ll_sched_conn_reschedule()
172 /* Set schedule start and end times */ in ble_ll_sched_conn_reschedule()
188 /* We have to find a place for this schedule */ in ble_ll_sched_conn_reschedule()
294 * Called to schedule a connection when the current role is master.
330 /* Get schedule element from connection */ in ble_ll_sched_master_new()
350 * The code then attempts to schedule the connection at the in ble_ll_sched_master_new()
352 * schedule start time is determined, the master has to determine if this in ble_ll_sched_master_new()
363 * start (the anchor point) is sched offset ticks from the schedule start in ble_ll_sched_master_new()
388 * received on secondary adv channel. We can schedule first packet at in ble_ll_sched_master_new()
411 /* We have to find a place for this schedule */ in ble_ll_sched_master_new()
464 /* Nothing in schedule. Schedule as soon as possible */ in ble_ll_sched_master_new()
491 /* Must be able to schedule within one connection interval */ in ble_ll_sched_master_new()
559 /* Get schedule element from connection */ in ble_ll_sched_master_new()
580 * The code then attempts to schedule the connection at the in ble_ll_sched_master_new()
582 * schedule start time is determined, the master has to determine if this in ble_ll_sched_master_new()
593 * start (the anchor point) is sched offset ticks from the schedule start in ble_ll_sched_master_new()
618 * received on secondary adv channel. We can schedule first packet at in ble_ll_sched_master_new()
642 /* We have to find a place for this schedule */ in ble_ll_sched_master_new()
645 /* The schedule item must occur after current running item (if any) */ in ble_ll_sched_master_new()
650 /* Nothing in schedule. Schedule as soon as possible */ in ble_ll_sched_master_new()
677 /* Must be able to schedule within one connection interval */ in ble_ll_sched_master_new()
744 /* Get schedule element from connection */ in ble_ll_sched_slave_new()
748 /* Set schedule start and end times */ in ble_ll_sched_slave_new()
760 /* We have to find a place for this schedule */ in ble_ll_sched_slave_new()
763 /* The schedule item must occur after current running item (if any) */ in ble_ll_sched_slave_new()
771 /* Nothing in schedule. Schedule as soon as possible */ in ble_ll_sched_slave_new()
788 /* If we overlap with a connection, we re-schedule */ in ble_ll_sched_slave_new()
844 /* Get length of schedule item */ in ble_ll_sched_adv_new()
920 /* Get length of schedule item */ in ble_ll_sched_adv_reschedule()
1048 /* If we overlap with the first item, simply re-schedule */ in ble_ll_sched_adv_resched_pdu()
1066 * Remove a schedule element
1138 * Executes a schedule item by calling the schedule callback function.
1142 * @param sch Pointer to schedule item
1144 * @return int 0: schedule item is not over; otherwise schedule item is done.
1207 * Run the BLE scheduler. Iterate through all items on the schedule queue.
1218 /* Look through schedule queue */ in ble_ll_sched_run()
1234 /* Remove schedule item and execute the callback */ in ble_ll_sched_run()
1239 /* Restart if there is an item on the schedule */ in ble_ll_sched_run()
1374 * Called to schedule a aux scan.
1431 /* Nothing in schedule. Schedule as soon as possible in ble_ll_sched_aux_scan()
1489 /* Nothing in schedule. Schedule as soon as possible in ble_ll_sched_dtm()
1561 * to determine the worst-case "early" time the schedule was called. Dont in ble_ll_sched_init()