Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/host/
Dxhci-ring.c534 struct xhci_ring *ep_ring; in xhci_find_new_dequeue_state() local
542 ep_ring = xhci_triad_to_transfer_ring(xhci, slot_id, in xhci_find_new_dequeue_state()
544 if (!ep_ring) { in xhci_find_new_dequeue_state()
556 if (list_empty(&ep_ring->td_list)) { in xhci_find_new_dequeue_state()
557 state->new_deq_seg = ep_ring->enq_seg; in xhci_find_new_dequeue_state()
558 state->new_deq_ptr = ep_ring->enqueue; in xhci_find_new_dequeue_state()
559 state->new_cycle_state = ep_ring->cycle_state; in xhci_find_new_dequeue_state()
572 new_seg = ep_ring->deq_seg; in xhci_find_new_dequeue_state()
573 new_deq = ep_ring->dequeue; in xhci_find_new_dequeue_state()
597 next_trb(xhci, ep_ring, &new_seg, &new_deq); in xhci_find_new_dequeue_state()
[all …]
Dxhci-mem.c1055 struct xhci_ring *ep_ring; in xhci_copy_ep0_dequeue_into_input_ctx() local
1059 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx()
1067 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx()
1068 ep_ring->enqueue) in xhci_copy_ep0_dequeue_into_input_ctx()
1069 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx()
1438 struct xhci_ring *ep_ring; in xhci_endpoint_init() local
1510 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1520 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1521 ep_ring->cycle_state); in xhci_endpoint_init()
Dxhci.c1612 struct xhci_ring *ep_ring; in xhci_urb_dequeue() local
1635 ep_ring = xhci_urb_to_transfer_ring(xhci, urb); in xhci_urb_dequeue()
1636 if (!ep || !ep_ring) in xhci_urb_dequeue()
1651 if (!td_on_ring(&urb_priv->td[0], ep_ring)) { in xhci_urb_dequeue()