Home
last modified time | relevance | path

Searched refs:deq (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/usb/host/
H A Dxhci-dbgcap.c94 dma_addr_t deq, dma; in xhci_dbc_init_contexts() local
112 deq = dbc_bulkout_enq(dbc); in xhci_dbc_init_contexts()
115 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_out->cycle_state); in xhci_dbc_init_contexts()
119 deq = dbc_bulkin_enq(dbc); in xhci_dbc_init_contexts()
122 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_in->cycle_state); in xhci_dbc_init_contexts()
472 dma_addr_t deq; in xhci_dbc_mem_init() local
510 deq = xhci_trb_virt_to_dma(dbc->ring_evt->deq_seg, in xhci_dbc_mem_init()
512 lo_hi_writeq(deq, &dbc->regs->erdp); in xhci_dbc_mem_init()
755 event->trans_event.buffer, remain_length, ep_ctx->deq); in dbc_handle_xfer_event()
774 if ((ep_ctx->deq & ~TRB_CYCLE) == event->trans_event.buffer) { in dbc_handle_xfer_event()
[all …]
H A Dxhci-trace.h318 __field(u64, deq)
324 __entry->deq = le64_to_cpu(ctx->deq);
328 __entry->info, __entry->info2, __entry->deq, __entry->tx_info)
455 __field(dma_addr_t, deq)
473 __entry->deq = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue);
478 &__entry->deq, &__entry->deq_seg,
H A Dxhci-mem.c653 /* Set deq ptr, cycle bit, and stream context type */ in xhci_alloc_stream_info()
719 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in xhci_setup_streams_ep_input_ctx()
733 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx()
1034 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx()
1177 ep0_ctx->deq = cpu_to_le64(dev->eps[0].ring->first_seg->dma | in xhci_setup_addressable_virt_dev()
1484 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init()
1505 ep_ctx->deq = 0; in xhci_endpoint_zero()
1593 in_ep_ctx->deq = out_ep_ctx->deq; in xhci_endpoint_copy()
1939 dma_addr_t deq; in xhci_set_hc_event_deq() local
[all...]
H A Dxhci-ring.c626 return le64_to_cpu(ep_ctx->deq); in xhci_get_hw_deq()
1458 u64 deq; in xhci_handle_cmd_set_deq() local
1463 deq = le64_to_cpu(ctx->stream_ring) & SCTX_DEQ_MASK; in xhci_handle_cmd_set_deq()
1479 deq = le64_to_cpu(ep_ctx->deq) & ~EP_CTX_CYCLE_MASK; in xhci_handle_cmd_set_deq()
1482 "Successful Set TR Deq Ptr cmd, deq = @%08llx", deq); in xhci_handle_cmd_set_deq()
1484 ep->queued_deq_ptr) == deq) { in xhci_handle_cmd_set_deq()
3149 dma_addr_t deq; in xhci_update_erst_dequeue() local
3154 deq = xhci_trb_virt_to_dma(ir->event_ring->deq_seg, in xhci_update_erst_dequeue()
3156 if (deq == 0) in xhci_update_erst_dequeue()
3163 ((u64) deq & (u64) ~ERST_PTR_MASK)) in xhci_update_erst_dequeue()
[all …]
H A Dxhci.h442 * @deq: 64-bit ring dequeue pointer address. If the endpoint only
457 __le64 deq; member
528 /* deq bitmasks */
582 /* Stream Context Types (section 6.4.1) - bits 3:1 of stream ctx deq ptr */
2197 "%s: deq %08x%08x stream %d slot %d ep %d flags %c", in xhci_decode_trb()
2518 u32 info2, u64 deq, u32 tx_info) in xhci_decode_ep_context() argument
2561 ret += sprintf(str + ret, "Type %s %sburst %d maxp %d deq %016llx ", in xhci_decode_ep_context()
2563 burst, maxp, deq); in xhci_decode_ep_context()
H A Dxhci-debugfs.c298 le64_to_cpu(ep_ctx->deq), in xhci_endpoint_context_show()
H A Dxhci.c2006 ep_ctx->deq = 0; in xhci_zero_in_ctx()
/openbmc/u-boot/drivers/usb/host/
H A Dxhci-mem.c508 unsigned long deq; in xhci_mem_init() local
569 deq = (unsigned long)ctrl->event_ring->dequeue; in xhci_mem_init()
573 (u64)deq & (u64)~ERST_PTR_MASK); in xhci_mem_init()
681 in_ep_ctx->deq = out_ep_ctx->deq; in xhci_endpoint_copy()
853 ep0_ctx->deq = cpu_to_le64(trb_64 | virt_dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev()
H A Dxhci.h593 __le64 deq; member
H A Dxhci.c600 ep_ctx[ep_index]->deq = cpu_to_le64(trb_64 | in xhci_set_configuration()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-trace.h543 __field(u64, deq)
549 __entry->deq = le64_to_cpu(ctx->deq);
554 __entry->deq, __entry->tx_info)
704 __field(dma_addr_t, deq)
725 __entry->deq = cdnsp_trb_virt_to_dma(ring->deq_seg,
732 &__entry->deq, &__entry->deq_seg,
H A Dcdnsp-mem.c722 ep0_ctx->deq = cpu_to_le64(dma | ep_ring->cycle_state); in cdnsp_copy_ep0_dequeue_into_input_ctx()
769 ep0_ctx->deq = cpu_to_le64(pdev->eps[0].ring->first_seg->dma | in cdnsp_setup_addressable_priv_dev()
1001 ep_ctx->deq = cpu_to_le64(pep->ring->first_seg->dma | in cdnsp_endpoint_init()
1021 pep->in_ctx->deq = 0; in cdnsp_endpoint_zero()
1102 dma_addr_t deq; in cdnsp_set_event_deq() local
1105 deq = cdnsp_trb_virt_to_dma(pdev->event_ring->deq_seg, in cdnsp_set_event_deq()
1118 cdnsp_write_64(((u64)deq & (u64)~ERST_PTR_MASK) | temp, in cdnsp_set_event_deq()
H A Dcdnsp-debug.h543 u64 deq, u32 tx_info) in cdnsp_decode_ep_context() argument
579 burst, maxp, deq); in cdnsp_decode_ep_context()
H A Dcdnsp-gadget.c465 ep_ctx->deq = 0; in cdnsp_zero_in_ctx()
756 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in cdnsp_setup_streams_ep_input_ctx()
1342 dma_addr_t deq; in cdnsp_update_erst_dequeue() local
1348 deq = cdnsp_trb_virt_to_dma(pdev->event_ring->deq_seg, in cdnsp_update_erst_dequeue()
1351 temp_64 |= ((u64)deq & (u64)~ERST_PTR_MASK); in cdnsp_update_erst_dequeue()
H A Dcdnsp-gadget.h642 __le64 deq; member
H A Dcdnsp-ring.c412 return le64_to_cpu(pep->out_ctx->deq); in cdnsp_get_hw_deq()
/openbmc/linux/drivers/usb/early/
H A Dxhci-dbc.h77 __le64 deq; member
H A Dxhci-dbc.c326 ep_out->deq = cpu_to_le64(xdbc.out_seg.dma | xdbc.out_ring.cycle_state); in xdbc_mem_init()
333 ep_in->deq = cpu_to_le64(xdbc.in_seg.dma | xdbc.in_ring.cycle_state); in xdbc_mem_init()