Searched refs:ep_ring (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-ring.c | 574 struct xhci_ring *ep_ring; in xhci_move_dequeue_past_td() local 589 ep_ring = xhci_triad_to_transfer_ring(xhci, slot_id, in xhci_move_dequeue_past_td() 591 if (!ep_ring) { in xhci_move_dequeue_past_td() 604 if (list_empty(&ep_ring->td_list)) { in xhci_move_dequeue_past_td() 605 new_seg = ep_ring->enq_seg; in xhci_move_dequeue_past_td() 606 new_deq = ep_ring->enqueue; in xhci_move_dequeue_past_td() 607 new_cycle = ep_ring->cycle_state; in xhci_move_dequeue_past_td() 617 new_seg = ep_ring->deq_seg; in xhci_move_dequeue_past_td() 618 new_deq = ep_ring->dequeue; in xhci_move_dequeue_past_td() 661 next_trb(xhci, ep_ring, &new_seg, &new_deq); in xhci_move_dequeue_past_td() [all …]
|
| H A D | xhci-mem.c | 1123 struct xhci_ring *ep_ring; in xhci_copy_ep0_dequeue_into_input_ctx() local 1127 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx() 1135 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx() 1136 ep_ring->enqueue) in xhci_copy_ep0_dequeue_into_input_ctx() 1137 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx() 1506 struct xhci_ring *ep_ring; in xhci_endpoint_init() local 1586 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init() 1596 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init() 1597 ep_ring->cycle_state); in xhci_endpoint_init()
|
| H A D | xhci.c | 1648 struct xhci_ring *ep_ring; in xhci_urb_dequeue() local 1671 ep_ring = xhci_urb_to_transfer_ring(xhci, urb); in xhci_urb_dequeue() 1672 if (!ep || !ep_ring) in xhci_urb_dequeue() 1687 if (!td_on_ring(&urb_priv->td[0], ep_ring)) { in xhci_urb_dequeue()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | xhci-ring.c | 210 static int prepare_ring(struct xhci_ctrl *ctrl, struct xhci_ring *ep_ring, in prepare_ring() argument 213 union xhci_trb *next = ep_ring->enqueue; in prepare_ring() 238 while (last_trb(ctrl, ep_ring, ep_ring->enq_seg, next)) { in prepare_ring() 250 if (last_trb_on_last_seg(ctrl, ep_ring, in prepare_ring() 251 ep_ring->enq_seg, next)) in prepare_ring() 252 ep_ring->cycle_state = (ep_ring->cycle_state ? 0 : 1); in prepare_ring() 253 ep_ring->enq_seg = ep_ring->enq_seg->next; in prepare_ring() 254 ep_ring->enqueue = ep_ring->enq_seg->trbs; in prepare_ring() 255 next = ep_ring->enqueue; in prepare_ring() 763 struct xhci_ring *ep_ring; in xhci_ctrl_tx() local [all …]
|