Home
last modified time | relevance | path

Searched refs:cycle_state (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/host/
Dxhci-mem.c29 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 …]
Dxhci-trace.h477 __field(unsigned int, cycle_state)
488 __entry->cycle_state = ring->cycle_state;
502 __entry->cycle_state
Dxhci-dbgcap.c114 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_out->cycle_state); in xhci_dbc_init_contexts()
121 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_in->cycle_state); in xhci_dbc_init_contexts()
235 ring->cycle_state ^= 1; in xhci_dbc_queue_trb()
256 cycle = ring->cycle_state; in xhci_dbc_queue_bulk_tx()
748 dbc->ring_evt->cycle_state) { in xhci_dbc_do_handle_events()
Dxhci-ring.c165 ring->cycle_state ^= 1; in inc_deq()
245 ring->cycle_state ^= 1; in inc_enq()
2688 xhci->event_ring->cycle_state) in xhci_handle_event()
2941 ep_ring->cycle_state ^= 1; in prepare_ring()
3286 start_cycle = ring->cycle_state; in xhci_queue_bulk_tx()
3307 field |= ring->cycle_state; in xhci_queue_bulk_tx()
3379 field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; in xhci_queue_bulk_tx()
3438 start_cycle = ep_ring->cycle_state; in xhci_queue_ctrl_tx()
3498 field | ep_ring->cycle_state); in xhci_queue_ctrl_tx()
3515 field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state); in xhci_queue_ctrl_tx()
[all …]
Dxhci-debugfs.c189 seq_printf(s, "%d\n", ring->cycle_state); in xhci_ring_cycle_show()
Dxhci.h1607 u32 cycle_state; member
1999 unsigned int num_segs, unsigned int cycle_state,
Dxhci.c832 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq()
874 ring->cycle_state = 1; in xhci_clear_command_ring()
/drivers/usb/early/
Dxhci-dbc.c207 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()
802 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events()
823 xdbc.evt_ring.cycle_state ^= 1; in xdbc_handle_events()
Dxhci-dbc.h120 u32 cycle_state; member