Lines Matching refs:start_frame
3870 int start_frame, ist, ret = 0; in xhci_get_isoc_frame_id() local
3875 start_frame = urb->start_frame + index * urb->interval; in xhci_get_isoc_frame_id()
3877 start_frame = (urb->start_frame + index * urb->interval) >> 3; in xhci_get_isoc_frame_id()
3908 start_frame &= 0x7ff; in xhci_get_isoc_frame_id()
3914 start_frame_id, end_frame_id, start_frame); in xhci_get_isoc_frame_id()
3917 if (start_frame > end_frame_id || in xhci_get_isoc_frame_id()
3918 start_frame < start_frame_id) in xhci_get_isoc_frame_id()
3921 if ((start_frame > end_frame_id && in xhci_get_isoc_frame_id()
3922 start_frame < start_frame_id)) in xhci_get_isoc_frame_id()
3929 if (ret == -EINVAL || start_frame == start_frame_id) { in xhci_get_isoc_frame_id()
3930 start_frame = start_frame_id + 1; in xhci_get_isoc_frame_id()
3933 urb->start_frame = start_frame; in xhci_get_isoc_frame_id()
3935 urb->start_frame = start_frame << 3; in xhci_get_isoc_frame_id()
3942 start_frame, current_frame_id, index, in xhci_get_isoc_frame_id()
3948 return start_frame; in xhci_get_isoc_frame_id()
4121 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx()
4169 int start_frame; in xhci_queue_isoc_tx_prepare() local
4202 urb->start_frame = xep->next_frame_id; in xhci_queue_isoc_tx_prepare()
4207 start_frame = readl(&xhci->run_regs->microframe_index); in xhci_queue_isoc_tx_prepare()
4208 start_frame &= 0x3fff; in xhci_queue_isoc_tx_prepare()
4216 start_frame += ist + XHCI_CFC_DELAY; in xhci_queue_isoc_tx_prepare()
4217 start_frame = roundup(start_frame, 8); in xhci_queue_isoc_tx_prepare()
4225 start_frame = roundup(start_frame, urb->interval << 3); in xhci_queue_isoc_tx_prepare()
4226 urb->start_frame = start_frame >> 3; in xhci_queue_isoc_tx_prepare()
4228 start_frame = roundup(start_frame, urb->interval); in xhci_queue_isoc_tx_prepare()
4229 urb->start_frame = start_frame; in xhci_queue_isoc_tx_prepare()