Home
last modified time | relevance | path

Searched refs:ep_ring (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/usb/host/
Dxhci-ring.c528 struct xhci_ring *ep_ring; in xhci_find_new_dequeue_state() local
536 ep_ring = xhci_triad_to_transfer_ring(xhci, slot_id, in xhci_find_new_dequeue_state()
538 if (!ep_ring) { in xhci_find_new_dequeue_state()
549 new_seg = ep_ring->deq_seg; in xhci_find_new_dequeue_state()
550 new_deq = ep_ring->dequeue; in xhci_find_new_dequeue_state()
574 next_trb(xhci, ep_ring, &new_seg, &new_deq); in xhci_find_new_dequeue_state()
606 static void td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, in td_to_noop() argument
622 next_trb(xhci, ep_ring, &seg, &trb); in td_to_noop()
703 struct xhci_ring *ep_ring; in xhci_handle_cmd_stop_ep() local
747 ep_ring = xhci_urb_to_transfer_ring(xhci, cur_td->urb); in xhci_handle_cmd_stop_ep()
[all …]
Dxhci-mem.c1046 struct xhci_ring *ep_ring; in xhci_copy_ep0_dequeue_into_input_ctx() local
1050 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx()
1058 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx()
1059 ep_ring->enqueue) in xhci_copy_ep0_dequeue_into_input_ctx()
1060 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx()
1429 struct xhci_ring *ep_ring; in xhci_endpoint_init() local
1495 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1505 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1506 ep_ring->cycle_state); in xhci_endpoint_init()
Dxhci.c1609 struct xhci_ring *ep_ring; in xhci_urb_dequeue() local
1632 ep_ring = xhci_urb_to_transfer_ring(xhci, urb); in xhci_urb_dequeue()
1633 if (!ep || !ep_ring) in xhci_urb_dequeue()
1648 if (!td_on_ring(&urb_priv->td[0], ep_ring)) { in xhci_urb_dequeue()