Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
A Dcdnsp-mem.c30 unsigned int cycle_state, in cdnsp_segment_alloc() argument
55 if (cycle_state == 0) { in cdnsp_segment_alloc()
312 ring->cycle_state = 1; in cdnsp_initialize_ring_info()
326 unsigned int cycle_state, in cdnsp_alloc_segments_for_ring() argument
345 next = cdnsp_segment_alloc(pdev, cycle_state, in cdnsp_alloc_segments_for_ring()
439 ring->cycle_state, ring->type, in cdnsp_ring_expansion()
612 cur_ring->cycle_state; 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()
770 pdev->eps[0].ring->cycle_state); in cdnsp_setup_addressable_priv_dev()
1002 pep->ring->cycle_state); in cdnsp_endpoint_init()
[all …]
A Dcdnsp-ring.c156 ring->cycle_state ^= 1; in cdnsp_inc_deq()
222 ring->cycle_state ^= 1; in cdnsp_inc_enq()
1445 if (cycle_bit != pdev->event_ring->cycle_state) in cdnsp_handle_event()
1654 ep_ring->cycle_state ^= 1; in cdnsp_prepare_ring()
1903 start_cycle = ring->cycle_state; in cdnsp_queue_bulk_tx()
1923 field |= ring->cycle_state; in cdnsp_queue_bulk_tx()
2036 field | ep_ring->cycle_state | in cdnsp_queue_ctrl_tx()
2048 field = ep_ring->cycle_state; in cdnsp_queue_ctrl_tx()
2050 field = (ep_ring->cycle_state ^ 1); in cdnsp_queue_ctrl_tx()
2181 start_cycle = ep_ring->cycle_state; in cdnsp_queue_isoc_tx()
[all …]
A Dcdnsp-gadget.c492 u32 cycle_state; in cdnsp_invalidate_ep_events() local
497 cycle_state = pdev->event_ring->cycle_state; in cdnsp_invalidate_ep_events()
503 if ((data & TRB_CYCLE) != cycle_state) in cdnsp_invalidate_ep_events()
513 cycle_state ^= 1; in cdnsp_invalidate_ep_events()
528 u32 cycle_state; in cdnsp_wait_for_cmd_compl() local
550 cycle_state = pdev->event_ring->cycle_state; in cdnsp_wait_for_cmd_compl()
560 if ((flags & TRB_CYCLE) != cycle_state) in cdnsp_wait_for_cmd_compl()
578 cycle_state ^= 1; in cdnsp_wait_for_cmd_compl()
1386 pdev->cmd_ring->cycle_state; in cdnsp_clear_cmd_ring()
1406 if (cycle_bit != pdev->event_ring->cycle_state) in cdnsp_consume_all_events()
A Dcdnsp-trace.h712 __field(unsigned int, cycle_state)
723 __entry->cycle_state = ring->cycle_state;
740 __entry->cycle_state
A Dcdnsp-gadget.h1257 u32 cycle_state; member
/linux/drivers/usb/host/
A Dxhci-mem.c29 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()
402 xhci_initialize_ring_info(ring, cycle_state); in xhci_ring_alloc()
440 num_segs, ring->cycle_state, ring->type, in xhci_ring_expansion()
674 cur_ring->cycle_state; in xhci_alloc_stream_info()
1056 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx()
1201 dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev()
1507 ep_ring->cycle_state); in xhci_endpoint_init()
[all …]
A Dxhci-dbgcap.c115 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()
A Dxhci-trace.h468 __field(unsigned int, cycle_state)
479 __entry->cycle_state = ring->cycle_state;
493 __entry->cycle_state
A Dxhci-ring.c169 ring->cycle_state ^= 1; in inc_deq()
264 ring->cycle_state ^= 1; in inc_enq()
605 new_cycle = ep_ring->cycle_state; in xhci_move_dequeue_past_td()
2984 xhci->event_ring->cycle_state) in xhci_handle_event()
3270 ep_ring->cycle_state ^= 1; in prepare_ring()
3632 start_cycle = ring->cycle_state; in xhci_queue_bulk_tx()
3653 field |= ring->cycle_state; in xhci_queue_bulk_tx()
3787 start_cycle = ep_ring->cycle_state; in xhci_queue_ctrl_tx()
3847 field | ep_ring->cycle_state); in xhci_queue_ctrl_tx()
4063 start_cycle = ep_ring->cycle_state; in xhci_queue_isoc_tx()
[all …]
A Dxhci.h1628 u32 cycle_state; member
2041 unsigned int num_segs, unsigned int cycle_state,
2051 unsigned int cycle_state);
A Dxhci-debugfs.c190 seq_printf(s, "%d\n", ring->cycle_state); in xhci_ring_cycle_show()
A Dxhci.c835 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq()
877 ring->cycle_state = 1; in xhci_clear_command_ring()
/linux/drivers/usb/early/
A Dxhci-dbc.c208 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()
A Dxhci-dbc.h120 u32 cycle_state; member

Completed in 73 milliseconds