Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dxhci-ring.c521 struct xhci_ring *ep_ring; in xhci_find_new_dequeue_state() local
529 ep_ring = xhci_triad_to_transfer_ring(xhci, slot_id, in xhci_find_new_dequeue_state()
531 if (!ep_ring) { in xhci_find_new_dequeue_state()
542 new_seg = ep_ring->deq_seg; in xhci_find_new_dequeue_state()
543 new_deq = ep_ring->dequeue; in xhci_find_new_dequeue_state()
567 next_trb(xhci, ep_ring, &new_seg, &new_deq); in xhci_find_new_dequeue_state()
599 static void td_to_noop(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, in td_to_noop() argument
615 next_trb(xhci, ep_ring, &seg, &trb); in td_to_noop()
692 struct xhci_ring *ep_ring; in xhci_handle_cmd_stop_ep() local
736 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.c1555 struct xhci_ring *ep_ring; in xhci_urb_dequeue() local
1578 ep_ring = xhci_urb_to_transfer_ring(xhci, urb); in xhci_urb_dequeue()
1579 if (!ep || !ep_ring) in xhci_urb_dequeue()
1594 if (!td_on_ring(&urb_priv->td[0], ep_ring)) { in xhci_urb_dequeue()