Lines Matching defs:frame
116 td->frame = -1;
153 * We insert Isochronous URBs directly into the frame list at the beginning
160 td->frame = framenum;
175 td->link = uhci->frame[framenum];
177 uhci->frame[framenum] = LINK_TO_TD(uhci, td);
186 if (td->frame == -1) {
191 if (uhci->frame_cpu[td->frame] == td) {
193 uhci->frame[td->frame] = td->link;
194 uhci->frame_cpu[td->frame] = NULL;
201 uhci->frame[td->frame] = LINK_TO_TD(uhci, ntd);
202 uhci->frame_cpu[td->frame] = ntd;
212 td->frame = -1;
225 uhci->frame[framenum] = ltd->link;
234 * Remove all the TDs for an Isochronous URB from the frame list
324 * occurring after the nominal unlink frame. */
583 * list) for more than one frame, or when an error occurs while adding
646 /* Maximum allowable periodic bandwidth is 90%, or 900 us per frame */
1259 unsigned frame, next;
1270 /* Check the period and figure out the starting frame number */
1280 frame = qh->phase;
1283 frame += (next - frame + qh->period - 1) & -qh->period;
1291 /* Find the next unused frame */
1293 frame = qh->iso_frame;
1299 frame = lurb->start_frame +
1305 if (!uhci_frame_before_eq(next, frame)) {
1309 frame += (next - frame + qh->period - 1) &
1317 frame + (urb->number_of_packets - 1) *
1320 urb, frame,
1329 frame + urb->number_of_packets * urb->interval))
1331 urb->start_frame = frame;
1351 /* Add the TDs to the frame list */
1352 frame = urb->start_frame;
1354 uhci_insert_td_in_frame_list(uhci, td, frame);
1355 frame += qh->period;
1495 /* Remove Isochronous TDs from the frame list ASAP */