Lines Matching refs:start_frame
3995 int start_frame, ist, ret = 0; in xhci_get_isoc_frame_id() local
4000 start_frame = urb->start_frame + index * urb->interval; in xhci_get_isoc_frame_id()
4002 start_frame = (urb->start_frame + index * urb->interval) >> 3; in xhci_get_isoc_frame_id()
4033 start_frame &= 0x7ff; in xhci_get_isoc_frame_id()
4038 if (start_frame > end_frame_id || in xhci_get_isoc_frame_id()
4039 start_frame < start_frame_id) in xhci_get_isoc_frame_id()
4042 if ((start_frame > end_frame_id && in xhci_get_isoc_frame_id()
4043 start_frame < start_frame_id)) in xhci_get_isoc_frame_id()
4050 if (ret == -EINVAL || start_frame == start_frame_id) { in xhci_get_isoc_frame_id()
4051 start_frame = start_frame_id + 1; in xhci_get_isoc_frame_id()
4054 urb->start_frame = start_frame; in xhci_get_isoc_frame_id()
4056 urb->start_frame = start_frame << 3; in xhci_get_isoc_frame_id()
4063 start_frame, current_frame_id, index, in xhci_get_isoc_frame_id()
4069 return start_frame; in xhci_get_isoc_frame_id()
4244 xep->next_frame_id = urb->start_frame + num_tds * urb->interval; in xhci_queue_isoc_tx()
4291 int start_frame; in xhci_queue_isoc_tx_prepare() local
4324 urb->start_frame = xep->next_frame_id; in xhci_queue_isoc_tx_prepare()
4329 start_frame = readl(&xhci->run_regs->microframe_index); in xhci_queue_isoc_tx_prepare()
4330 start_frame &= 0x3fff; in xhci_queue_isoc_tx_prepare()
4338 start_frame += ist + XHCI_CFC_DELAY; in xhci_queue_isoc_tx_prepare()
4339 start_frame = roundup(start_frame, 8); in xhci_queue_isoc_tx_prepare()
4347 start_frame = roundup(start_frame, urb->interval << 3); in xhci_queue_isoc_tx_prepare()
4348 urb->start_frame = start_frame >> 3; in xhci_queue_isoc_tx_prepare()
4350 start_frame = roundup(start_frame, urb->interval); in xhci_queue_isoc_tx_prepare()
4351 urb->start_frame = start_frame; in xhci_queue_isoc_tx_prepare()