Home
last modified time | relevance | path

Searched refs:TRB_CYCLE (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A 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 in cdnsp_decode_trb()
[all...]
H A 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()
H A 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()
1449 cycle_bit = (flags & TRB_CYCLE); in cdnsp_handle_event()
1458 * Barrier between reading the TRB_CYCLE (valid) flag above and any in cdnsp_handle_event()
1660 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in cdnsp_prepare_ring()
1931 field |= TRB_CYCLE; in cdnsp_queue_bulk_tx()
2263 field |= TRB_CYCLE; in cdnsp_queue_isoc_tx()
H A Dcdns3-gadget.c251 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
967 priv_ep->wa1_cycle_bit = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_wa1_update_guard()
1023 control = TRB_TYPE(TRB_NORMAL) | TRB_CYCLE | in cdns3_ep_run_stream_transfer()
1189 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1217 control = priv_ep->pcs ? 0 : TRB_CYCLE; in cdns3_ep_run_transfer()
1281 pcs = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_ep_run_transfer()
1516 if ((le32_to_cpu(trb->control) & TRB_CYCLE) != priv_ep->ccs) in cdns3_trb_handled()
2737 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()
2799 trb->control = trb->control ^ cpu_to_le32(TRB_CYCLE); in __cdns3_gadget_ep_clear_halt()
H A 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()
1399 cycle_bit = (le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE); in cdnsp_consume_all_events()
H A Dcdns3-trace.h411 __entry->control & TRB_CYCLE ? "C=1, " : "C=0, ",
H A Dcdnsp-gadget.h1011 #define TRB_CYCLE BIT(0) macro
H A Dcdns3-gadget.h1032 #define TRB_CYCLE BIT(0) macro
H A Dcdnsp-mem.c57 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in cdnsp_segment_alloc()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.h1312 #define TRB_CYCLE (1<<0) macro
2263 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2282 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2301 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2315 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2326 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2344 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2352 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2360 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2369 field3 & TRB_CYCLE in xhci_decode_trb()
[all...]
H A 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()
H A Dxhci-ring.c130 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in trb_to_noop()
241 next->link.control ^= cpu_to_le32(TRB_CYCLE); in inc_enq()
701 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in td_to_noop()
2863 if ((le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE) != in xhci_handle_event()
2870 * Barrier between reading the TRB_CYCLE (valid) flag above and any in xhci_handle_event()
3143 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
3273 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb()
3515 field |= TRB_CYCLE; in xhci_queue_bulk_tx()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci.h1313 #define TRB_CYCLE (1<<0) macro
2295 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2314 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2333 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2347 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2358 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2376 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2384 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2392 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2401 field3 & TRB_CYCLE in xhci_decode_trb()
[all...]
H A 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()
H A Dxhci-ring.c133 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in trb_to_noop()
255 next->link.control ^= cpu_to_le32(TRB_CYCLE); in inc_enq()
765 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in td_to_noop()
2987 if ((le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE) != in xhci_handle_event()
2994 * Barrier between reading the TRB_CYCLE (valid) flag above and any in xhci_handle_event()
3280 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
3423 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb()
3665 field |= TRB_CYCLE; in xhci_queue_bulk_tx()
/kernel/linux/linux-5.10/drivers/usb/early/
H A 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()
/kernel/linux/linux-6.6/drivers/usb/early/
H A 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()
517 trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in xdbc_bulk_transfer()
805 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-debug.h172 flags & TRB_CYCLE ? 'C' : 'c', in cdns2_decode_trb()
185 flags & TRB_CYCLE ? 'C' : 'c', in cdns2_decode_trb()
H A Dcdns2-gadget.c143 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | in cdns2_alloc_tr_segment()
291 pep->wa1_cycle_bit = pep->ring.pcs ? TRB_CYCLE : 0; in cdns2_wa1_update_guard()
356 link_trb->control = cpu_to_le32(((ring->pcs) ? TRB_CYCLE : 0) | in cdns2_prepare_ring()
575 control |= TRB_CYCLE; in cdns2_ep_tx_isoc()
664 control = control ^ TRB_CYCLE; in cdns2_ep_tx_bulk()
738 trb->control = cpu_to_le32((hw_ccs ? TRB_CYCLE : 0) | TRB_TYPE(TRB_NORMAL)); in cdns2_prepare_first_isoc_transfer()
747 trb->control = cpu_to_le32((hw_ccs ? TRB_CYCLE : 0) | in cdns2_prepare_first_isoc_transfer()
918 if ((le32_to_cpu(trb->control) & TRB_CYCLE) != ring->ccs) in cdns2_trb_handled()
1800 & TRB_CYCLE) | TRB_CHAIN | in cdns2_gadget_ep_dequeue()
1849 trb->control = trb->control ^ cpu_to_le32(TRB_CYCLE); in cdns2_halt_endpoint()
[all...]
H A Dcdns2-ep0.c52 ring->trbs[0].control = cpu_to_le32(TRB_CYCLE | in cdns2_ep0_enqueue()
56 ring->trbs[1].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns2_ep0_enqueue()
59 ring->trbs[0].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | in cdns2_ep0_enqueue()
H A Dcdns2-gadget.h460 #define TRB_CYCLE BIT(0) macro
/kernel/linux/linux-5.10/drivers/usb/cdns3/
H A Dep0.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()
H A Dgadget.c265 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
962 priv_ep->wa1_cycle_bit = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_wa1_update_guard()
1018 control = TRB_TYPE(TRB_NORMAL) | TRB_CYCLE | in cdns3_ep_run_stream_transfer()
1184 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
1212 control = priv_ep->pcs ? 0 : TRB_CYCLE; in cdns3_ep_run_transfer()
1276 pcs = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_ep_run_transfer()
1511 if ((le32_to_cpu(trb->control) & TRB_CYCLE) != priv_ep->ccs) in cdns3_trb_handled()
2722 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()
2780 trb->control = trb->control ^ cpu_to_le32(TRB_CYCLE); in __cdns3_gadget_ep_clear_halt()
H A Dtrace.h418 __entry->control & TRB_CYCLE ? "C=1, " : "C=0, ",
H A Dgadget.h1031 #define TRB_CYCLE BIT(0) macro

Completed in 55 milliseconds

12