Searched refs:cycle_state (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.10/drivers/usb/early/ |
| D | xhci-dbc.c | 201 ring->cycle_state = 1; in xdbc_reset_ring() 319 ep_out->deq = cpu_to_le64(xdbc.out_seg.dma | xdbc.out_ring.cycle_state); in xdbc_mem_init() 326 ep_in->deq = cpu_to_le64(xdbc.in_seg.dma | xdbc.in_ring.cycle_state); in xdbc_mem_init() 396 if (ring->cycle_state) in xdbc_queue_trb() 402 ring->cycle_state ^= 1; in xdbc_queue_trb() 481 cycle = ring->cycle_state; in xdbc_bulk_transfer() 796 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events() 817 xdbc.evt_ring.cycle_state ^= 1; in xdbc_handle_events()
|
| D | xhci-dbc.h | 120 u32 cycle_state; member
|
| /Linux-v5.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 | 466 __field(unsigned int, cycle_state) 477 __entry->cycle_state = ring->cycle_state; 491 __entry->cycle_state
|
| D | xhci-ring.c | 165 ring->cycle_state ^= 1; in inc_deq() 245 ring->cycle_state ^= 1; in inc_enq() 559 state->new_cycle_state = ep_ring->cycle_state; in xhci_find_new_dequeue_state() 2735 xhci->event_ring->cycle_state) in xhci_handle_event() 3014 ep_ring->cycle_state ^= 1; in prepare_ring() 3359 start_cycle = ring->cycle_state; in xhci_queue_bulk_tx() 3380 field |= ring->cycle_state; in xhci_queue_bulk_tx() 3452 field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; in xhci_queue_bulk_tx() 3511 start_cycle = ep_ring->cycle_state; in xhci_queue_ctrl_tx() 3571 field | ep_ring->cycle_state); in xhci_queue_ctrl_tx() [all …]
|
| D | xhci.h | 1607 u32 cycle_state; member 2013 unsigned int num_segs, unsigned int cycle_state, 2023 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 | 832 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq() 874 ring->cycle_state = 1; in xhci_clear_command_ring()
|