Searched refs:cycle_state (Results 1 – 14 of 14) sorted by relevance
| /drivers/usb/cdns3/ |
| A D | cdnsp-mem.c | 30 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 D | cdnsp-ring.c | 156 ring->cycle_state ^= 1; in cdnsp_inc_deq() 222 ring->cycle_state ^= 1; in cdnsp_inc_enq() 1669 ep_ring->cycle_state ^= 1; in cdnsp_prepare_ring() 1935 start_cycle = ring->cycle_state; in cdnsp_queue_bulk_tx() 1955 field |= ring->cycle_state; in cdnsp_queue_bulk_tx() 2026 if (!ring->cycle_state) in cdnsp_queue_bulk_tx() 2091 field | ep_ring->cycle_state | in cdnsp_queue_ctrl_tx() 2104 field | ep_ring->cycle_state | in cdnsp_queue_ctrl_tx() 2117 field = ep_ring->cycle_state; in cdnsp_queue_ctrl_tx() 2259 start_cycle = ep_ring->cycle_state; in cdnsp_queue_isoc_tx() [all …]
|
| A D | cdnsp-gadget.c | 514 u32 cycle_state; in cdnsp_invalidate_ep_events() local 519 cycle_state = pdev->event_ring->cycle_state; in cdnsp_invalidate_ep_events() 525 if ((data & TRB_CYCLE) != cycle_state) in cdnsp_invalidate_ep_events() 535 cycle_state ^= 1; in cdnsp_invalidate_ep_events() 550 u32 cycle_state; in cdnsp_wait_for_cmd_compl() local 573 cycle_state = pdev->event_ring->cycle_state; in cdnsp_wait_for_cmd_compl() 583 if ((flags & TRB_CYCLE) != cycle_state) { in cdnsp_wait_for_cmd_compl() 616 cycle_state ^= 1; in cdnsp_wait_for_cmd_compl() 1418 pdev->cmd_ring->cycle_state; in cdnsp_clear_cmd_ring() 1438 if (cycle_bit != pdev->event_ring->cycle_state) in cdnsp_consume_all_events()
|
| A D | cdnsp-trace.h | 709 __field(unsigned int, cycle_state) 720 __entry->cycle_state = ring->cycle_state; 737 __entry->cycle_state
|
| A D | cdnsp-gadget.h | 1271 u32 cycle_state; member
|
| /drivers/usb/early/ |
| A 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() 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()
|
| A D | xhci-dbc.h | 120 u32 cycle_state; member
|
| /drivers/usb/host/ |
| A D | xhci-trace.h | 494 __field(unsigned int, cycle_state) 502 __entry->cycle_state = ring->cycle_state; 514 __entry->cycle_state
|
| A D | xhci-ring.c | 121 ring->cycle_state); in unhandled_event_trb() 175 ring->cycle_state ^= 1; in inc_deq() 236 ring->cycle_state ^= 1; in inc_enq_past_link() 3681 start_cycle = ring->cycle_state; in xhci_queue_bulk_tx() 3702 field |= ring->cycle_state; in xhci_queue_bulk_tx() 3847 start_cycle = ep_ring->cycle_state; in xhci_queue_ctrl_tx() 3907 field | ep_ring->cycle_state); in xhci_queue_ctrl_tx() 4122 start_cycle = ep_ring->cycle_state; in xhci_queue_isoc_tx() 4185 ep_ring->cycle_state; in xhci_queue_isoc_tx() 4273 ep_ring->cycle_state = start_cycle; in xhci_queue_isoc_tx() [all …]
|
| A D | xhci-dbgcap.c | 130 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_out->cycle_state); in xhci_dbc_init_contexts() 137 ep_ctx->deq = cpu_to_le64(deq | dbc->ring_in->cycle_state); in xhci_dbc_init_contexts() 259 ring->cycle_state ^= 1; in xhci_dbc_queue_trb() 280 cycle = ring->cycle_state; in xhci_dbc_queue_bulk_tx() 819 ring->cycle_state ^= 1; in inc_evt_deq() 900 dbc->ring_evt->cycle_state) { in xhci_dbc_do_handle_events()
|
| A D | xhci-mem.c | 145 if (dst->cycle_state == 0) { in xhci_link_rings() 319 ring->cycle_state = 1; in xhci_initialize_ring_info() 676 cur_ring->cycle_state; in xhci_alloc_stream_info() 755 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx() 1058 | ep_ring->cycle_state); in xhci_copy_ep0_dequeue_into_input_ctx() 1196 dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev() 1509 ep_ring->cycle_state); in xhci_endpoint_init()
|
| A D | xhci-debugfs.c | 191 seq_printf(s, "%d\n", ring->cycle_state); in xhci_ring_cycle_show()
|
| A D | xhci.h | 1376 u32 cycle_state; member
|
| A D | xhci.c | 500 crcr |= xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq()
|
Completed in 63 milliseconds