Lines Matching refs:start_frame
3453 int start_frame, ist, ret = 0; in xhci_get_isoc_frame_id() local
3458 start_frame = urb->start_frame + index * urb->interval; in xhci_get_isoc_frame_id()
3460 start_frame = (urb->start_frame + index * urb->interval) >> 3; in xhci_get_isoc_frame_id()
3491 start_frame &= 0x7ff; in xhci_get_isoc_frame_id()
3497 start_frame_id, end_frame_id, start_frame); in xhci_get_isoc_frame_id()
3500 if (start_frame > end_frame_id || in xhci_get_isoc_frame_id()
3501 start_frame < start_frame_id) in xhci_get_isoc_frame_id()
3504 if ((start_frame > end_frame_id && in xhci_get_isoc_frame_id()
3505 start_frame < start_frame_id)) in xhci_get_isoc_frame_id()
3512 if (ret == -EINVAL || start_frame == start_frame_id) { in xhci_get_isoc_frame_id()
3513 start_frame = start_frame_id + 1; in xhci_get_isoc_frame_id()
3516 urb->start_frame = start_frame; in xhci_get_isoc_frame_id()
3518 urb->start_frame = start_frame << 3; in xhci_get_isoc_frame_id()
3525 start_frame, current_frame_id, index, in xhci_get_isoc_frame_id()
3531 return start_frame; in xhci_get_isoc_frame_id()
3688 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx()
3736 int start_frame; in xhci_queue_isoc_tx_prepare() local
3769 urb->start_frame = xep->next_frame_id; in xhci_queue_isoc_tx_prepare()
3774 start_frame = readl(&xhci->run_regs->microframe_index); in xhci_queue_isoc_tx_prepare()
3775 start_frame &= 0x3fff; in xhci_queue_isoc_tx_prepare()
3783 start_frame += ist + XHCI_CFC_DELAY; in xhci_queue_isoc_tx_prepare()
3784 start_frame = roundup(start_frame, 8); in xhci_queue_isoc_tx_prepare()
3792 start_frame = roundup(start_frame, urb->interval << 3); in xhci_queue_isoc_tx_prepare()
3793 urb->start_frame = start_frame >> 3; in xhci_queue_isoc_tx_prepare()
3795 start_frame = roundup(start_frame, urb->interval); in xhci_queue_isoc_tx_prepare()
3796 urb->start_frame = start_frame; in xhci_queue_isoc_tx_prepare()