Searched refs:cycle_state (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/usb/early/ |
D | xhci-dbc.c | 207 ring->cycle_state = 1; in xdbc_reset_ring() 325 ep_out->deq = cpu_to_le64(xdbc.out_seg.dma | xdbc.out_ring.cycle_state); in xdbc_mem_init() 332 ep_in->deq = cpu_to_le64(xdbc.in_seg.dma | xdbc.in_ring.cycle_state); in xdbc_mem_init() 402 if (ring->cycle_state) in xdbc_queue_trb() 408 ring->cycle_state ^= 1; in xdbc_queue_trb() 487 cycle = ring->cycle_state; in xdbc_bulk_transfer() 809 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events() 830 xdbc.evt_ring.cycle_state ^= 1; in xdbc_handle_events()
|
D | xhci-dbc.h | 120 u32 cycle_state; member
|
/Linux-v4.19/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() 294 unsigned int cycle_state) in xhci_initialize_ring_info() argument 308 ring->cycle_state = cycle_state; in xhci_initialize_ring_info() 320 unsigned int num_segs, unsigned int cycle_state, in xhci_alloc_segments_for_ring() argument 325 prev = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring() 334 next = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring() 363 unsigned int num_segs, unsigned int cycle_state, in xhci_ring_alloc() argument 382 &ring->last_seg, num_segs, cycle_state, type, in xhci_ring_alloc() 393 xhci_initialize_ring_info(ring, cycle_state); in xhci_ring_alloc() [all …]
|
D | xhci-trace.h | 447 __field(unsigned int, cycle_state) 458 __entry->cycle_state = ring->cycle_state; 472 __entry->cycle_state
|
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() 236 ring->cycle_state ^= 1; in xhci_dbc_queue_trb() 257 cycle = ring->cycle_state; in xhci_dbc_queue_bulk_tx() 750 dbc->ring_evt->cycle_state) { in xhci_dbc_do_handle_events()
|
D | xhci-ring.c | 165 ring->cycle_state ^= 1; in inc_deq() 245 ring->cycle_state ^= 1; in inc_enq() 2578 xhci->event_ring->cycle_state) in xhci_handle_event() 2831 ep_ring->cycle_state ^= 1; in prepare_ring() 3171 start_cycle = ring->cycle_state; in xhci_queue_bulk_tx() 3192 field |= ring->cycle_state; in xhci_queue_bulk_tx() 3257 field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; in xhci_queue_bulk_tx() 3316 start_cycle = ep_ring->cycle_state; in xhci_queue_ctrl_tx() 3366 field | ep_ring->cycle_state); in xhci_queue_ctrl_tx() 3383 field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state); in xhci_queue_ctrl_tx() [all …]
|
D | xhci-debugfs.c | 189 seq_printf(s, "%d\n", ring->cycle_state); in xhci_ring_cycle_show()
|
D | xhci.h | 1585 u32 cycle_state; member 1980 unsigned int num_segs, unsigned int cycle_state,
|
D | xhci.c | 838 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq() 880 ring->cycle_state = 1; in xhci_clear_command_ring()
|