| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-debug.h | 197 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 212 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 217 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 239 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 255 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 268 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 289 field3 & TRB_CYCLE ? 'C' : 'c', in cdnsp_decode_trb() 296 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 302 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() 310 field3 & TRB_CYCLE ? 'C' : 'c'); in cdnsp_decode_trb() [all …]
|
| H A D | cdnsp-ring.c | 119 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() 517 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in cdnsp_td_to_noop() 983 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in cdnsp_giveback_first_trb() 1454 cycle_bit = (flags & TRB_CYCLE); in cdnsp_handle_event() 1665 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in cdnsp_prepare_ring() 1923 field ^= TRB_CYCLE; in cdnsp_queue_bulk_tx() 1953 field |= TRB_CYCLE; in cdnsp_queue_bulk_tx() 2027 field |= TRB_CYCLE; in cdnsp_queue_bulk_tx() 2283 field |= TRB_CYCLE; in cdnsp_queue_isoc_tx()
|
| H A D | cdns3-ep0.c | 45 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 D | cdns3-gadget.c | 251 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() 1190 link_trb->control = cpu_to_le32(((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer() 1218 control = priv_ep->pcs ? 0 : TRB_CYCLE; in cdns3_ep_run_transfer() 1282 pcs = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_ep_run_transfer() 1517 if ((le32_to_cpu(trb->control) & TRB_CYCLE) != priv_ep->ccs) in cdns3_trb_handled() 2743 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue() 2805 trb->control = trb->control ^ cpu_to_le32(TRB_CYCLE); in __cdns3_gadget_ep_clear_halt()
|
| H A D | cdnsp-gadget.c | 525 if ((data & TRB_CYCLE) != cycle_state) in cdnsp_invalidate_ep_events() 583 if ((flags & TRB_CYCLE) != cycle_state) { in cdnsp_wait_for_cmd_compl() 1435 cycle_bit = (le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE); in cdnsp_consume_all_events()
|
| H A D | cdns3-trace.h | 350 __entry->control & TRB_CYCLE ? "C=1, " : "C=0, ",
|
| H A D | cdns3-gadget.h | 1032 #define TRB_CYCLE BIT(0) macro
|
| H A D | cdnsp-gadget.h | 1027 #define TRB_CYCLE BIT(0) macro
|
| H A D | cdnsp-mem.c | 57 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in cdnsp_segment_alloc()
|
| /linux/drivers/usb/host/ |
| H A D | xhci.h | 1041 #define TRB_CYCLE (1<<0) macro 2057 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2075 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2094 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2108 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2119 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2136 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2155 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2162 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() 2170 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb() [all …]
|
| H A D | xhci-dbgcap.c | 205 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in trb_to_noop() 281 next->link.control ^= cpu_to_le32(TRB_CYCLE); in xhci_dbc_queue_trb() 309 control &= cpu_to_le32(~TRB_CYCLE); in xhci_dbc_queue_bulk_tx() 311 control |= cpu_to_le32(TRB_CYCLE); in xhci_dbc_queue_bulk_tx() 327 trb->generic.field[3] |= cpu_to_le32(TRB_CYCLE); in xhci_dbc_queue_bulk_tx() 329 trb->generic.field[3] &= cpu_to_le32(~TRB_CYCLE); in xhci_dbc_queue_bulk_tx() 845 if ((ep_ctx->deq & ~TRB_CYCLE) == event->trans_event.buffer) { in dbc_handle_xfer_event() 954 while ((le32_to_cpu(evt->event_cmd.flags) & TRB_CYCLE) == in xhci_dbc_do_handle_events()
|
| H A D | xhci-ring.c | 137 return ((le32_to_cpu(ring->dequeue->event_cmd.flags) & TRB_CYCLE) == in unhandled_event_trb() 158 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE); in trb_to_noop() 254 ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in inc_enq_past_link() 718 new_cycle = le32_to_cpu(td->end_trb->generic.field[3]) & TRB_CYCLE; in xhci_move_dequeue_past_td() 816 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in td_to_noop() 3167 ring->cycle_state = le32_to_cpu(current_trb->event_cmd.flags) & TRB_CYCLE; in xhci_skip_sec_intr_events() 3444 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb() 3685 field |= TRB_CYCLE; in xhci_queue_bulk_tx()
|
| H A D | xhci-mem.c | 148 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in xhci_link_rings()
|
| H A D | xhci.c | 872 seg->trbs[TRBS_PER_SEGMENT - 1].link.control &= cpu_to_le32(~TRB_CYCLE); in xhci_clear_command_ring()
|
| /linux/drivers/usb/early/ |
| H A D | xhci-dbc.c | 404 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() 809 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events()
|
| /linux/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-debug.h | 172 flags & TRB_CYCLE ? 'C' : 'c', in cdns2_decode_trb() 185 flags & TRB_CYCLE ? 'C' : 'c', in cdns2_decode_trb()
|
| H A D | cdns2-gadget.c | 144 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | in cdns2_alloc_tr_segment() 292 pep->wa1_cycle_bit = pep->ring.pcs ? TRB_CYCLE : 0; in cdns2_wa1_update_guard() 357 link_trb->control = cpu_to_le32(((ring->pcs) ? TRB_CYCLE : 0) | in cdns2_prepare_ring() 576 control |= TRB_CYCLE; in cdns2_ep_tx_isoc() 665 control = control ^ TRB_CYCLE; in cdns2_ep_tx_bulk() 739 trb->control = cpu_to_le32((hw_ccs ? TRB_CYCLE : 0) | TRB_TYPE(TRB_NORMAL)); in cdns2_prepare_first_isoc_transfer() 748 trb->control = cpu_to_le32((hw_ccs ? TRB_CYCLE : 0) | in cdns2_prepare_first_isoc_transfer() 919 if ((le32_to_cpu(trb->control) & TRB_CYCLE) != ring->ccs) in cdns2_trb_handled() 1801 & TRB_CYCLE) | TRB_CHAIN | in cdns2_gadget_ep_dequeue() 1850 trb->control = trb->control ^ cpu_to_le32(TRB_CYCLE); in cdns2_halt_endpoint()
|
| H A D | cdns2-ep0.c | 52 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 D | cdns2-gadget.h | 469 #define TRB_CYCLE BIT(0) macro
|