Lines Matching refs:start_frame
3879 int start_frame, ist, ret = 0; in xhci_get_isoc_frame_id() local
3884 start_frame = urb->start_frame + index * urb->interval; in xhci_get_isoc_frame_id()
3886 start_frame = (urb->start_frame + index * urb->interval) >> 3; in xhci_get_isoc_frame_id()
3917 start_frame &= 0x7ff; in xhci_get_isoc_frame_id()
3923 start_frame_id, end_frame_id, start_frame); in xhci_get_isoc_frame_id()
3926 if (start_frame > end_frame_id || in xhci_get_isoc_frame_id()
3927 start_frame < start_frame_id) in xhci_get_isoc_frame_id()
3930 if ((start_frame > end_frame_id && in xhci_get_isoc_frame_id()
3931 start_frame < start_frame_id)) in xhci_get_isoc_frame_id()
3938 if (ret == -EINVAL || start_frame == start_frame_id) { in xhci_get_isoc_frame_id()
3939 start_frame = start_frame_id + 1; in xhci_get_isoc_frame_id()
3942 urb->start_frame = start_frame; in xhci_get_isoc_frame_id()
3944 urb->start_frame = start_frame << 3; in xhci_get_isoc_frame_id()
3951 start_frame, current_frame_id, index, in xhci_get_isoc_frame_id()
3957 return start_frame; in xhci_get_isoc_frame_id()
4130 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx()
4178 int start_frame; in xhci_queue_isoc_tx_prepare() local
4211 urb->start_frame = xep->next_frame_id; in xhci_queue_isoc_tx_prepare()
4216 start_frame = readl(&xhci->run_regs->microframe_index); in xhci_queue_isoc_tx_prepare()
4217 start_frame &= 0x3fff; in xhci_queue_isoc_tx_prepare()
4225 start_frame += ist + XHCI_CFC_DELAY; in xhci_queue_isoc_tx_prepare()
4226 start_frame = roundup(start_frame, 8); in xhci_queue_isoc_tx_prepare()
4234 start_frame = roundup(start_frame, urb->interval << 3); in xhci_queue_isoc_tx_prepare()
4235 urb->start_frame = start_frame >> 3; in xhci_queue_isoc_tx_prepare()
4237 start_frame = roundup(start_frame, urb->interval); in xhci_queue_isoc_tx_prepare()
4238 urb->start_frame = start_frame; in xhci_queue_isoc_tx_prepare()