Searched refs:cycle_state (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/early/ |
D | xhci-dbc.c | 208 ring->cycle_state = 1; in xdbc_reset_ring() 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() 403 if (ring->cycle_state) in xdbc_queue_trb() 409 ring->cycle_state ^= 1; in xdbc_queue_trb() 488 cycle = ring->cycle_state; in xdbc_bulk_transfer() 803 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events() 824 xdbc.evt_ring.cycle_state ^= 1; in xdbc_handle_events()
|
D | xhci-dbc.h | 120 u32 cycle_state; member
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-mem.c | 29 unsigned int cycle_state, in xhci_segment_alloc() argument 58 if (cycle_state == 0) { in xhci_segment_alloc() 297 unsigned int cycle_state) in xhci_initialize_ring_info() argument 311 ring->cycle_state = cycle_state; in xhci_initialize_ring_info() 323 unsigned int num_segs, unsigned int cycle_state, in xhci_alloc_segments_for_ring() argument 334 prev = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring() 343 next = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring() 372 unsigned int num_segs, unsigned int cycle_state, in xhci_ring_alloc() argument 391 &ring->last_seg, num_segs, cycle_state, type, in xhci_ring_alloc() 402 xhci_initialize_ring_info(ring, cycle_state); in xhci_ring_alloc() [all …]
|
D | xhci-dbgcap.c | 115 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_out->cycle_state); in xhci_dbc_init_contexts() 122 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_in->cycle_state); in xhci_dbc_init_contexts() 241 ring->cycle_state ^= 1; in xhci_dbc_queue_trb() 262 cycle = ring->cycle_state; in xhci_dbc_queue_bulk_tx() 743 ring->cycle_state ^= 1; in inc_evt_deq() 850 dbc->ring_evt->cycle_state) { in xhci_dbc_do_handle_events()
|
D | xhci-trace.h | 468 __field(unsigned int, cycle_state) 479 __entry->cycle_state = ring->cycle_state; 493 __entry->cycle_state
|
D | xhci-ring.c | 165 ring->cycle_state ^= 1; in inc_deq() 245 ring->cycle_state ^= 1; in inc_enq() 598 state->new_cycle_state = ep_ring->cycle_state; in xhci_find_new_dequeue_state() 2818 xhci->event_ring->cycle_state) in xhci_handle_event() 3101 ep_ring->cycle_state ^= 1; in prepare_ring() 3450 start_cycle = ring->cycle_state; in xhci_queue_bulk_tx() 3471 field |= ring->cycle_state; in xhci_queue_bulk_tx() 3543 field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; in xhci_queue_bulk_tx() 3602 start_cycle = ep_ring->cycle_state; in xhci_queue_ctrl_tx() 3662 field | ep_ring->cycle_state); in xhci_queue_ctrl_tx() [all …]
|
D | xhci.h | 1619 u32 cycle_state; member 2034 unsigned int num_segs, unsigned int cycle_state, 2044 unsigned int cycle_state);
|
D | xhci-debugfs.c | 190 seq_printf(s, "%d\n", ring->cycle_state); in xhci_ring_cycle_show()
|
D | xhci.c | 853 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq() 895 ring->cycle_state = 1; in xhci_clear_command_ring()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0034_linux_drivers_usb_vfio_wdt_tty_uio.patch | 6052 + start_cycle = ep_ring->cycle_state; 6081 + start_cycle = ep_ring->cycle_state; 6099 + field | ep_ring->cycle_state); 6103 + field = TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state;
|