Lines Matching full:schedule

69  * for the specified QH in the periodic schedule
77 * periodic schedule may occur in the same (micro)frame
112 * pmap_schedule() - Schedule time in a periodic bitmap (pmap).
114 * @map: The bitmap representing the schedule; will be updated
116 * @bits_per_period: The schedule represents several periods. This is how many
118 * of the schedule will repeat after its end.
119 * @periods_in_map: The number of periods in the schedule.
133 * The idea here is that we want to schedule time for repeating events that all
135 * and the events want to repeat every "interval" periods. The schedule
138 * To keep things "simple", we'll represent our schedule with a bitmap that
141 * the number of the periods in the schedule doesn't match well with the
142 * intervals that we're trying to schedule.
158 * - If interval is 5, we again need interval 1. The schedule will be
167 * Note that at the moment this function tends to front-pack the schedule.
168 * In some cases that's really non-ideal (it's hard to schedule things that
170 * schedule bigger, less often repeating things).
220 /* If start has gotten us past interval then we can't schedule */ in pmap_schedule()
306 * @num_bits: The number of bits that was passed to schedule.
307 * @interval: The interval that was passed to schedule.
400 * Will attempt to print out the periodic schedule.
480 * dwc2_qh_schedule_print() - Print the periodic schedule
540 * dwc2_ls_pmap_schedule() - Schedule a low speed QH
544 * @search_slice: We'll start trying to schedule at the passed slice.
546 * schedule (think 25us or so).
550 * Normally we schedule low speed devices on the map associated with the TT.
565 * Schedule on the proper low speed map with our low speed scheduling in dwc2_ls_pmap_schedule()
573 * parameters is only useful when we're trying to get one schedule to in dwc2_ls_pmap_schedule()
574 * match what we already planned in the other schedule). in dwc2_ls_pmap_schedule()
599 /* Schedule should have failed, so no worries about no error code */ in dwc2_ls_pmap_unschedule()
609 * dwc2_hs_pmap_schedule - Schedule in the main high speed schedule
611 * This will schedule something on the main dwc2 schedule.
621 * already scheduled something on the low speed schedule and
666 * dwc2_uframe_schedule_split - Schedule a QH for a periodic split xfer.
669 * in both the global high speed schedule for the port and the low speed
670 * schedule for the TT associated with the given device.
687 * The interval (how often to repeat) in the actual host schedule. in dwc2_uframe_schedule_split()
694 * We always try to find space in the low speed schedule first, then in dwc2_uframe_schedule_split()
696 * up the place we start searching in the low speed schedule and try in dwc2_uframe_schedule_split()
698 * schedule. in dwc2_uframe_schedule_split()
700 * Note that this will tend to front-load the high speed schedule. in dwc2_uframe_schedule_split()
823 * to schedule quite as tightly. in dwc2_uframe_schedule_split()
924 /* Try to schedule with filled in hs_transfers above */ in dwc2_uframe_schedule_split()
952 * dwc2_uframe_schedule_hs - Schedule a QH for a periodic high speed xfer.
975 * dwc2_uframe_schedule_ls - Schedule a QH for a periodic low/full speed xfer.
990 /* Run on the main low speed schedule (no split = no hub = no TT) */ in dwc2_uframe_schedule_ls()
995 * dwc2_uframe_schedule - Schedule a QH for a periodic xfer.
1015 dwc2_sch_dbg(hsotg, "QH=%p Failed to schedule %d\n", qh, ret); in dwc2_uframe_schedule()
1101 /* Adjust interval as per high speed schedule */ in dwc2_pick_first_frame()
1107 * as high speed but on a different schedule and with slightly in dwc2_pick_first_frame()
1163 * Try to allocate space in the periodic schedule. Depending on parameters
1320 * the periodic schedule
1370 /* Don't rely on SOF and start in ready schedule */ in dwc2_schedule_periodic()
1373 /* Always start in inactive schedule */ in dwc2_schedule_periodic()
1382 * from the periodic schedule
1395 * Schedule the unreserve to happen in a little bit. Cases here: in dwc2_deschedule_periodic()
1397 * In this case it will notice it's been schedule again and will in dwc2_deschedule_periodic()
1535 * Schedule low speed if we're running the host in low or in dwc2_qh_init()
1543 /* We won't know num transfers until we schedule */ in dwc2_qh_init()
1551 /* We'll schedule later when we have something to do */ in dwc2_qh_init()
1600 dwc2_sch_dbg(hsotg, "QH=%p ...low speed schedule=%p\n", in dwc2_qh_init()
1683 * schedule if it is not already in the schedule. If the QH is already in
1684 * the schedule, no action is taken.
1701 /* QH already in a schedule */ in dwc2_hcd_qh_add()
1704 /* Add the new QH to the appropriate schedule */ in dwc2_hcd_qh_add()
1706 /* Schedule right away */ in dwc2_hcd_qh_add()
1738 * schedule. Memory is not freed.
1741 * @qh: QH to remove from schedule
1753 /* QH is not in a schedule */ in dwc2_hcd_qh_unlink()
1819 * past it just means schedule ASAP. in dwc2_next_for_periodic_split()
1878 * Test for misses, which is when it's too late to schedule. in dwc2_next_periodic_start()
1889 * at the last second. We want to make sure we don't schedule in dwc2_next_periodic_start()
1936 * non-periodic schedule. The QH is added to the inactive non-periodic
1937 * schedule if any QTDs are still attached to the QH.
1939 * For periodic QHs, the QH is removed from the periodic queued schedule. If
1941 * periodic inactive schedule or the periodic ready schedule and its next
1942 * scheduled frame is calculated. The QH is placed in the ready schedule if
1944 * inactive schedule. If there are no QTDs attached to the QH, the QH is
1945 * completely removed from the periodic schedule.
1960 /* Add back to inactive/waiting non-periodic schedule */ in dwc2_hcd_qh_deactivate()
2046 * into the proper schedule based on its EP type.