Lines Matching refs:start_frame
3658 int start_frame, ist, ret = 0; in xhci_get_isoc_frame_id() local
3663 start_frame = urb->start_frame + index * urb->interval; in xhci_get_isoc_frame_id()
3665 start_frame = (urb->start_frame + index * urb->interval) >> 3; in xhci_get_isoc_frame_id()
3696 start_frame &= 0x7ff; in xhci_get_isoc_frame_id()
3702 start_frame_id, end_frame_id, start_frame); in xhci_get_isoc_frame_id()
3705 if (start_frame > end_frame_id || in xhci_get_isoc_frame_id()
3706 start_frame < start_frame_id) in xhci_get_isoc_frame_id()
3709 if ((start_frame > end_frame_id && in xhci_get_isoc_frame_id()
3710 start_frame < start_frame_id)) in xhci_get_isoc_frame_id()
3717 if (ret == -EINVAL || start_frame == start_frame_id) { in xhci_get_isoc_frame_id()
3718 start_frame = start_frame_id + 1; in xhci_get_isoc_frame_id()
3721 urb->start_frame = start_frame; in xhci_get_isoc_frame_id()
3723 urb->start_frame = start_frame << 3; in xhci_get_isoc_frame_id()
3730 start_frame, current_frame_id, index, in xhci_get_isoc_frame_id()
3736 return start_frame; in xhci_get_isoc_frame_id()
3908 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx()
3956 int start_frame; in xhci_queue_isoc_tx_prepare() local
3989 urb->start_frame = xep->next_frame_id; in xhci_queue_isoc_tx_prepare()
3994 start_frame = readl(&xhci->run_regs->microframe_index); in xhci_queue_isoc_tx_prepare()
3995 start_frame &= 0x3fff; in xhci_queue_isoc_tx_prepare()
4003 start_frame += ist + XHCI_CFC_DELAY; in xhci_queue_isoc_tx_prepare()
4004 start_frame = roundup(start_frame, 8); in xhci_queue_isoc_tx_prepare()
4012 start_frame = roundup(start_frame, urb->interval << 3); in xhci_queue_isoc_tx_prepare()
4013 urb->start_frame = start_frame >> 3; in xhci_queue_isoc_tx_prepare()
4015 start_frame = roundup(start_frame, urb->interval); in xhci_queue_isoc_tx_prepare()
4016 urb->start_frame = start_frame; in xhci_queue_isoc_tx_prepare()