Searched refs:ep_ring (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-ring.c | 369 struct cdnsp_ring *ep_ring; in cdnsp_ring_doorbell_for_active_rings() local 374 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_ring_doorbell_for_active_rings() 375 if (!ep_ring) in cdnsp_ring_doorbell_for_active_rings() 378 if (!ep_ring->stream_active || ep_ring->stream_rejected) in cdnsp_ring_doorbell_for_active_rings() 381 list_for_each_entry_safe(td, td_temp, &ep_ring->td_list, in cdnsp_ring_doorbell_for_active_rings() 439 struct cdnsp_ring *ep_ring; in cdnsp_find_new_dequeue_state() local 444 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_find_new_dequeue_state() 445 if (!ep_ring) in cdnsp_find_new_dequeue_state() 453 new_seg = ep_ring->deq_seg; in cdnsp_find_new_dequeue_state() 454 new_deq = ep_ring->dequeue; in cdnsp_find_new_dequeue_state() [all …]
|
| H A D | cdnsp-mem.c | 717 struct cdnsp_ring *ep_ring = pdev->eps[0].ring; in cdnsp_copy_ep0_dequeue_into_input_ctx() local 720 dma = cdnsp_trb_virt_to_dma(ep_ring->enq_seg, ep_ring->enqueue); in cdnsp_copy_ep0_dequeue_into_input_ctx() 721 ep0_ctx->deq = cpu_to_le64(dma | ep_ring->cycle_state); in cdnsp_copy_ep0_dequeue_into_input_ctx()
|
| /linux/drivers/usb/host/ |
| H A D | xhci-ring.c | 695 struct xhci_ring *ep_ring; in xhci_move_dequeue_past_td() local 707 ep_ring = xhci_triad_to_transfer_ring(xhci, slot_id, in xhci_move_dequeue_past_td() 709 if (!ep_ring) { in xhci_move_dequeue_past_td() 716 new_seg = ep_ring->deq_seg; in xhci_move_dequeue_past_td() 717 new_deq = ep_ring->dequeue; in xhci_move_dequeue_past_td() 880 struct xhci_ring *ep_ring, int status) in xhci_td_cleanup() argument 888 xhci_unmap_td_bounce_buffer(xhci, ep_ring, td); in xhci_td_cleanup() 1421 struct xhci_ring *ep_ring; in xhci_handle_cmd_set_deq() local 1434 ep_ring = xhci_virt_ep_to_ring(xhci, ep, stream_id); in xhci_handle_cmd_set_deq() 1435 if (!ep_ring) { in xhci_handle_cmd_set_deq() [all …]
|
| H A D | xhci-mem.c | 1044 struct xhci_ring *ep_ring; in xhci_copy_ep0_dequeue_into_input_ctx() local 1048 ep_ring = virt_dev->eps[0].ring; in xhci_copy_ep0_dequeue_into_input_ctx() 1056 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx() 1057 ep_ring->enqueue) in xhci_copy_ep0_dequeue_into_input_ctx() 1058 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx() 1415 struct xhci_ring *ep_ring; in xhci_endpoint_init() local 1494 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init() 1504 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init() 1505 ep_ring->cycle_state); in xhci_endpoint_init()
|
| H A D | xhci.c | 1765 struct xhci_ring *ep_ring; in xhci_urb_dequeue() local 1788 ep_ring = xhci_urb_to_transfer_ring(xhci, urb); in xhci_urb_dequeue() 1789 if (!ep || !ep_ring) in xhci_urb_dequeue() 1804 if (!td_on_ring(&urb_priv->td[0], ep_ring)) { in xhci_urb_dequeue()
|