Searched refs:cycle_state (Results 1 – 13 of 13) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | xhci-ring.c | 131 ring->cycle_state = (ring->cycle_state ? 0 : 1); in inc_enq() 159 ring->cycle_state = (ring->cycle_state ? 0 : 1); in inc_deq() 252 ep_ring->cycle_state = (ep_ring->cycle_state ? 0 : 1); in prepare_ring() 284 ctrl->cmd_ring->cycle_state; in xhci_queue_command() 420 ctrl->event_ring->cycle_state) in event_ready() 509 ring->cycle_state), udev->slot_id, ep_index, TRB_SET_DEQ); in abort_td() 632 start_cycle = ring->cycle_state; in xhci_bulk_tx() 666 field |= ring->cycle_state; in xhci_bulk_tx() 819 start_cycle = ep_ring->cycle_state; in xhci_ctrl_tx() 882 trb_fields[3] = field | ep_ring->cycle_state; in xhci_ctrl_tx() [all …]
|
| H A D | xhci-mem.c | 262 ring->cycle_state = 1; in xhci_initialize_ring_info() 533 ctrl->cmd_ring->cycle_state; in xhci_mem_init() 854 ep0_ctx->deq = cpu_to_le64(trb_64 | virt_dev->eps[0].ring->cycle_state); in xhci_setup_addressable_virt_dev()
|
| H A D | xhci.c | 602 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
|
| /OK3568_Linux_fs/kernel/drivers/usb/early/ |
| H 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() 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()
|
| H A D | xhci-dbc.h | 120 u32 cycle_state; member
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-mem.c | 29 unsigned int cycle_state, in xhci_segment_alloc() argument 58 if (cycle_state == 0) { in xhci_segment_alloc() 300 unsigned int cycle_state) in xhci_initialize_ring_info() argument 314 ring->cycle_state = cycle_state; in xhci_initialize_ring_info() 327 unsigned int num_segs, unsigned int cycle_state, in xhci_alloc_segments_for_ring() argument 338 prev = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring() 347 next = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring() 424 unsigned int num_segs, unsigned int cycle_state, in xhci_ring_alloc() argument 443 &ring->last_seg, num_segs, cycle_state, type, in xhci_ring_alloc() 454 xhci_initialize_ring_info(ring, cycle_state); in xhci_ring_alloc() [all …]
|
| H A 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()
|
| H A D | xhci-trace.h | 468 __field(unsigned int, cycle_state) 479 __entry->cycle_state = ring->cycle_state; 493 __entry->cycle_state
|
| H A D | xhci-ring.c | 170 ring->cycle_state ^= 1; in inc_deq() 265 ring->cycle_state ^= 1; in inc_enq() 607 new_cycle = ep_ring->cycle_state; in xhci_move_dequeue_past_td() 2977 xhci->event_ring->cycle_state) in xhci_handle_event() 3275 ep_ring->cycle_state ^= 1; in prepare_ring() 3637 start_cycle = ring->cycle_state; in xhci_queue_bulk_tx() 3658 field |= ring->cycle_state; in xhci_queue_bulk_tx() 3731 field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; in xhci_queue_bulk_tx() 3792 start_cycle = ep_ring->cycle_state; in xhci_queue_ctrl_tx() 3852 field | ep_ring->cycle_state); in xhci_queue_ctrl_tx() [all …]
|
| H A D | xhci.h | 1627 u32 cycle_state; member 2061 unsigned int num_segs, unsigned int cycle_state, 2071 unsigned int cycle_state);
|
| H A D | xhci-debugfs.c | 190 seq_printf(s, "%d\n", ring->cycle_state); in xhci_ring_cycle_show()
|
| H A D | xhci.c | 850 xhci->cmd_ring->cycle_state; in xhci_set_cmd_ring_deq() 892 ring->cycle_state = 1; in xhci_clear_command_ring()
|
| /OK3568_Linux_fs/u-boot/include/usb/ |
| H A D | xhci.h | 1021 volatile u32 cycle_state; member
|