Home
last modified time | relevance | path

Searched refs:TRB_CYCLE (Results 1 – 15 of 15) sorted by relevance

/drivers/usb/cdns3/
Dcdnsp-debug.h199 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
214 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
219 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
241 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
257 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
270 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
291 field3 & TRB_CYCLE ? 'C' : 'c', in cdnsp_decode_trb()
298 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
304 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
312 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb()
[all …]
Dcdnsp-ring.c119 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in cdnsp_trb_to_noop()
218 next->link.control ^= cpu_to_le32(TRB_CYCLE); in cdnsp_inc_enq()
516 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in cdnsp_td_to_noop()
978 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in cdnsp_giveback_first_trb()
1442 cycle_bit = (flags & TRB_CYCLE); in cdnsp_handle_event()
1653 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in cdnsp_prepare_ring()
1929 field |= TRB_CYCLE; in cdnsp_queue_bulk_tx()
2246 field |= TRB_CYCLE; in cdnsp_queue_isoc_tx()
Dcdns3-ep0.c45 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_NORMAL)); in cdns3_ep0_run_transfer()
48 priv_ep->trb_pool[1].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()
51 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()
Dcdns3-gadget.c250 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
965 priv_ep->wa1_cycle_bit = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_wa1_update_guard()
1021 control = TRB_TYPE(TRB_NORMAL) | TRB_CYCLE | in cdns3_ep_run_stream_transfer()
1187 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1215 control = priv_ep->pcs ? 0 : TRB_CYCLE; in cdns3_ep_run_transfer()
1279 pcs = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_ep_run_transfer()
1514 if ((le32_to_cpu(trb->control) & TRB_CYCLE) != priv_ep->ccs) in cdns3_trb_handled()
2733 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()
2795 trb->control = trb->control ^ cpu_to_le32(TRB_CYCLE); in __cdns3_gadget_ep_clear_halt()
Dcdnsp-gadget.c503 if ((data & TRB_CYCLE) != cycle_state) in cdnsp_invalidate_ep_events()
560 if ((flags & TRB_CYCLE) != cycle_state) in cdnsp_wait_for_cmd_compl()
1402 cycle_bit = (le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE); in cdnsp_consume_all_events()
Dcdns3-trace.h415 __entry->control & TRB_CYCLE ? "C=1, " : "C=0, ",
Dcdns3-gadget.h1032 #define TRB_CYCLE BIT(0) macro
Dcdnsp-gadget.h1011 #define TRB_CYCLE BIT(0) macro
Dcdnsp-mem.c57 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in cdnsp_segment_alloc()
/drivers/usb/host/
Dxhci.h1316 #define TRB_CYCLE (1<<0) macro
2293 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2312 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2331 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2345 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2356 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2374 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2382 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2390 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2399 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
[all …]
Dxhci-dbgcap.c168 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in xhci_dbc_flush_single_request()
239 next->link.control ^= cpu_to_le32(TRB_CYCLE); in xhci_dbc_queue_trb()
267 control &= cpu_to_le32(~TRB_CYCLE); in xhci_dbc_queue_bulk_tx()
269 control |= cpu_to_le32(TRB_CYCLE); in xhci_dbc_queue_bulk_tx()
285 trb->generic.field[3] |= cpu_to_le32(TRB_CYCLE); in xhci_dbc_queue_bulk_tx()
287 trb->generic.field[3] &= cpu_to_le32(~TRB_CYCLE); in xhci_dbc_queue_bulk_tx()
849 while ((le32_to_cpu(evt->event_cmd.flags) & TRB_CYCLE) == in xhci_dbc_do_handle_events()
Dxhci-ring.c134 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in trb_to_noop()
261 next->link.control ^= cpu_to_le32(TRB_CYCLE); in inc_enq()
733 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in td_to_noop()
2998 if ((le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE) != in xhci_handle_event()
3282 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
3425 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb()
3667 field |= TRB_CYCLE; in xhci_queue_bulk_tx()
Dxhci-mem.c60 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in xhci_segment_alloc()
Dxhci.c895 cpu_to_le32(~TRB_CYCLE); in xhci_clear_command_ring()
/drivers/usb/early/
Dxhci-dbc.c404 link_trb->field[3] |= cpu_to_le32(TRB_CYCLE); in xdbc_queue_trb()
406 link_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in xdbc_queue_trb()
493 control &= cpu_to_le32(~TRB_CYCLE); in xdbc_bulk_transfer()
495 control |= cpu_to_le32(TRB_CYCLE); in xdbc_bulk_transfer()
518 trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in xdbc_bulk_transfer()
803 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events()