Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A Dcdnsp-debug.h197 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 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 Dcdns3-gadget.h1032 #define TRB_CYCLE BIT(0) macro
/linux/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-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.c144 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 Dcdns2-gadget.h469 #define TRB_CYCLE BIT(0) macro
/linux/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()
809 while ((le32_to_cpu(evt_trb->field[3]) & TRB_CYCLE) == xdbc.evt_ring.cycle_state) { in xdbc_handle_events()