Lines Matching refs:start_frame
3940 int start_frame, ist, ret = 0; in xhci_get_isoc_frame_id() local
3945 start_frame = urb->start_frame + index * urb->interval; in xhci_get_isoc_frame_id()
3947 start_frame = (urb->start_frame + index * urb->interval) >> 3; in xhci_get_isoc_frame_id()
3978 start_frame &= 0x7ff; in xhci_get_isoc_frame_id()
3984 start_frame_id, end_frame_id, start_frame); in xhci_get_isoc_frame_id()
3987 if (start_frame > end_frame_id || in xhci_get_isoc_frame_id()
3988 start_frame < start_frame_id) in xhci_get_isoc_frame_id()
3991 if ((start_frame > end_frame_id && in xhci_get_isoc_frame_id()
3992 start_frame < start_frame_id)) in xhci_get_isoc_frame_id()
3999 if (ret == -EINVAL || start_frame == start_frame_id) { in xhci_get_isoc_frame_id()
4000 start_frame = start_frame_id + 1; in xhci_get_isoc_frame_id()
4003 urb->start_frame = start_frame; in xhci_get_isoc_frame_id()
4005 urb->start_frame = start_frame << 3; in xhci_get_isoc_frame_id()
4012 start_frame, current_frame_id, index, in xhci_get_isoc_frame_id()
4018 return start_frame; in xhci_get_isoc_frame_id()
4191 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx()
4239 int start_frame; in xhci_queue_isoc_tx_prepare() local
4272 urb->start_frame = xep->next_frame_id; in xhci_queue_isoc_tx_prepare()
4277 start_frame = readl(&xhci->run_regs->microframe_index); in xhci_queue_isoc_tx_prepare()
4278 start_frame &= 0x3fff; in xhci_queue_isoc_tx_prepare()
4286 start_frame += ist + XHCI_CFC_DELAY; in xhci_queue_isoc_tx_prepare()
4287 start_frame = roundup(start_frame, 8); in xhci_queue_isoc_tx_prepare()
4295 start_frame = roundup(start_frame, urb->interval << 3); in xhci_queue_isoc_tx_prepare()
4296 urb->start_frame = start_frame >> 3; in xhci_queue_isoc_tx_prepare()
4298 start_frame = roundup(start_frame, urb->interval); in xhci_queue_isoc_tx_prepare()
4299 urb->start_frame = start_frame; in xhci_queue_isoc_tx_prepare()