/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 94 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() 470 dma_addr_t deq; in xhci_dbc_mem_init() local 508 deq = xhci_trb_virt_to_dma(dbc->ring_evt->deq_seg, in xhci_dbc_mem_init() 510 lo_hi_writeq(deq, in xhci_dbc_mem_init() 752 dma_addr_t deq; xhci_dbc_do_handle_events() local [all...] |
H A D | xhci-trace.h | 323 __field(u64, deq) 330 __entry->deq = le64_to_cpu(ctx->deq); 334 __entry->info, __entry->info2, __entry->deq, __entry->tx_info) 463 __field(dma_addr_t, deq) 483 __entry->deq = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue); 485 TP_printk("%s %p: enq %pad(%pad) deq %pad(%pad) segs %d stream %d free_trbs %d bounce %d cycle %d", 488 &__entry->deq, &__entry->deq_seg,
|
H A D | xhci-mem.c | 688 /* Set deq ptr, cycle bit, and stream context type */ in xhci_alloc_stream_info() 755 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in xhci_setup_streams_ep_input_ctx() 769 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx() 1080 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx() 1227 ep0_ctx->deq = cpu_to_le64(dev->eps[0].ring->first_seg->dma | in xhci_setup_addressable_virt_dev() 1533 ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | in xhci_endpoint_init() 1554 ep_ctx->deq = 0; in xhci_endpoint_zero() 1642 in_ep_ctx->deq = out_ep_ctx->deq; in xhci_endpoint_copy() 2123 dma_addr_t deq; in xhci_set_hc_event_deq() local [all...] |
H A D | xhci-ring.c | 542 return le64_to_cpu(ep_ctx->deq); in xhci_get_hw_deq() 1221 * we need to clear the set deq pending flag in the endpoint ring state, so that 1246 xhci_warn(xhci, "WARN Set TR deq ptr command for freed stream ID %u\n", in xhci_handle_cmd_set_deq() 1290 u64 deq; in xhci_handle_cmd_set_deq() local 1291 /* 4.6.10 deq ptr is written to the stream ctx for streams */ in xhci_handle_cmd_set_deq() 1295 deq = le64_to_cpu(ctx->stream_ring) & SCTX_DEQ_MASK; in xhci_handle_cmd_set_deq() 1297 deq = le64_to_cpu(ep_ctx->deq) & ~EP_CTX_CYCLE_MASK; in xhci_handle_cmd_set_deq() 1300 "Successful Set TR Deq Ptr cmd, deq = @%08llx", deq); in xhci_handle_cmd_set_deq() 2928 dma_addr_t deq; xhci_update_erst_dequeue() local [all...] |
H A D | xhci.h | 694 * @deq: 64-bit ring dequeue pointer address. If the endpoint only 709 __le64 deq; member 780 /* deq bitmasks */ 832 /* Stream Context Types (section 6.4.1) - bits 3:1 of stream ctx deq ptr */ 2411 "%s: deq %08x%08x stream %d slot %d ep %d flags %c", in xhci_decode_trb() 2732 u32 info2, u64 deq, u32 tx_info) in xhci_decode_ep_context() 2775 ret += sprintf(str + ret, "Type %s %sburst %d maxp %d deq %016llx ", in xhci_decode_ep_context() 2777 burst, maxp, deq); in xhci_decode_ep_context() 2731 xhci_decode_ep_context(char *str, u32 info, u32 info2, u64 deq, u32 tx_info) xhci_decode_ep_context() argument
|
H A D | xhci-debugfs.c | 298 le64_to_cpu(ep_ctx->deq), in xhci_endpoint_context_show() 556 seq_printf(s, "%pad stream id %d deq %016llx\n", &dma, in xhci_stream_context_array_show() 559 seq_printf(s, "%pad stream context entry not used deq %016llx\n", in xhci_stream_context_array_show()
|
H A D | xhci.c | 666 "ERST deq = 64'h%0lx", (long unsigned int) temp_64); in xhci_run() 2004 ep_ctx->deq = 0; in xhci_zero_in_ctx() 3070 xhci_warn(xhci, "WARN deq seg = %p, deq ptr = %p\n", in xhci_setup_input_ctx_for_quirk() 3075 ep_ctx->deq = cpu_to_le64(addr | deq_state->new_cycle_state); in xhci_setup_input_ctx_for_quirk() 3553 /* Set maxPstreams in endpoint context and update deq ptr to in xhci_alloc_streams() 3613 * update deq ptr to point to normal string ring. in xhci_alloc_streams() 3704 * update deq ptr to point to normal string ring. in xhci_free_streams()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 94 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() 470 dma_addr_t deq; in xhci_dbc_mem_init() local 508 deq = xhci_trb_virt_to_dma(dbc->ring_evt->deq_seg, in xhci_dbc_mem_init() 510 lo_hi_writeq(deq, in xhci_dbc_mem_init() 752 dma_addr_t deq; xhci_dbc_do_handle_events() local [all...] |
H A D | xhci-trace.h | 318 __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); 475 TP_printk("%s %p: enq %pad(%pad) deq %pad(%pad) segs %d stream %d bounce %d cycle %d", 478 &__entry->deq, &__entry->deq_seg,
|
H A D | xhci-mem.c | 653 /* 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() 1937 dma_addr_t deq; in xhci_set_hc_event_deq() local [all...] |
H A D | xhci-ring.c | 288 /* Ring might be empty even if enq != deq if enq is left on a link trb */ in xhci_num_trbs_free() 344 xhci_dbg(xhci, "Adding %d trbs moves enq %d trbs into deq seg\n", in xhci_ring_expansion_needed() 617 return le64_to_cpu(ep_ctx->deq); in xhci_get_hw_deq() 706 xhci_warn(xhci, "deq seg = %p, deq ptr = %p\n", new_seg, new_deq); in xhci_move_dequeue_past_td() 1019 case TD_CLEARING_CACHE: /* set TR deq command already queued */ in xhci_invalidate_cancelled_tds() 1167 /* will queue a set TR deq if stopped on a cancelled, uncleared TD */ in xhci_handle_cmd_stop_ep() 1315 * we need to clear the set deq pending flag in the endpoint ring state, so that 1339 xhci_warn(xhci, "WARN Set TR deq ptr command for freed stream ID %u\n", in xhci_handle_cmd_set_deq() 1383 u64 deq; in xhci_handle_cmd_set_deq() local 3053 dma_addr_t deq; xhci_update_erst_dequeue() local [all...] |
H A D | xhci.h | 697 * @deq: 64-bit ring dequeue pointer address. If the endpoint only 712 __le64 deq; member 783 /* deq bitmasks */ 835 /* Stream Context Types (section 6.4.1) - bits 3:1 of stream ctx deq ptr */ 2443 "%s: deq %08x%08x stream %d slot %d ep %d flags %c", in xhci_decode_trb() 2764 u32 info2, u64 deq, u32 tx_info) in xhci_decode_ep_context() 2807 ret += sprintf(str + ret, "Type %s %sburst %d maxp %d deq %016llx ", in xhci_decode_ep_context() 2809 burst, maxp, deq); in xhci_decode_ep_context() 2763 xhci_decode_ep_context(char *str, u32 info, u32 info2, u64 deq, u32 tx_info) xhci_decode_ep_context() argument
|
H A D | xhci-debugfs.c | 298 le64_to_cpu(ep_ctx->deq), in xhci_endpoint_context_show() 556 seq_printf(s, "%pad stream id %d deq %016llx\n", &dma, in xhci_stream_context_array_show() 559 seq_printf(s, "%pad stream context entry not used deq %016llx\n", in xhci_stream_context_array_show()
|
H A D | xhci.c | 525 "ERST deq = 64'h%0lx", (long unsigned int) temp_64); in xhci_run() 1983 ep_ctx->deq = 0; in xhci_zero_in_ctx() 3445 /* Set maxPstreams in endpoint context and update deq ptr to in xhci_alloc_streams() 3505 * update deq ptr to point to normal string ring. in xhci_alloc_streams() 3596 * update deq ptr to point to normal string ring. in xhci_free_streams()
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-trace.h | 543 __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, 728 TP_printk("%s %p: enq %pad(%pad) deq %pad(%pad) segs %d stream %d" 732 &__entry->deq, &__entry->deq_seg,
|
H A D | cdnsp-mem.c | 610 /* Set deq ptr, cycle bit, and stream context type. */ in cdnsp_alloc_stream_info() 722 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 D | cdnsp-debug.h | 352 "%s: ep%d%s(%d) deq %08x%08x stream %ld slot %ld flags %c", in cdnsp_decode_trb() 543 u64 deq, u32 tx_info) in cdnsp_decode_ep_context() 577 "Type %s %sburst %d maxp %d deq %016llx ", in cdnsp_decode_ep_context() 579 burst, maxp, deq); in cdnsp_decode_ep_context() 541 cdnsp_decode_ep_context(char *str, size_t size, u32 info, u32 info2, u64 deq, u32 tx_info) cdnsp_decode_ep_context() argument
|
H A D | cdnsp-gadget.c | 465 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 1346 /* If necessary, update the HW's version of the event ring deq ptr. */ in cdnsp_update_erst_dequeue() 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 D | cdnsp-gadget.h | 627 * @deq: 64-bit ring dequeue pointer address. If the endpoint only 642 __le64 deq; member 707 /* deq bitmasks. */ 749 /* Stream Context Types - bits 3:1 of stream ctx deq ptr. */
|
H A D | cdnsp-ring.c | 412 return le64_to_cpu(pep->out_ctx->deq); in cdnsp_get_hw_deq()
|
/kernel/linux/linux-5.10/drivers/usb/early/ |
H A D | xhci-dbc.h | 77 __le64 deq; member
|
H A D | xhci-dbc.c | 326 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()
|
/kernel/linux/linux-6.6/drivers/usb/early/ |
H A D | xhci-dbc.h | 77 __le64 deq; member
|
H A D | xhci-dbc.c | 326 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()
|