Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci.h1315 #define TRB_CYCLE (1<<0) macro
2324 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2343 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2362 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2376 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2387 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2405 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2413 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2421 field3 & TRB_CYCLE ? 'C' : 'c'); in xhci_decode_trb()
2430 field3 & TRB_CYCLE ? 'C' : 'c'); 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.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()
736 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE); in td_to_noop()
2976 if ((le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE) != in xhci_handle_event()
3271 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
3414 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb()
3656 field |= TRB_CYCLE; in xhci_queue_bulk_tx()
H A Dxhci-mem.c60 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in xhci_segment_alloc()
H A Dxhci.c877 cpu_to_le32(~TRB_CYCLE); in xhci_clear_command_ring()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-ring.c124 next->link.control ^= cpu_to_le32(TRB_CYCLE); in inc_enq()
245 next->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
372 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in giveback_first_trb()
419 if ((le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE) != in event_ready()
664 field |= TRB_CYCLE; in xhci_bulk_tx()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
1195 control = priv_ep->pcs ? 0 : TRB_CYCLE; in cdns3_ep_run_transfer()
1227 pcs = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_ep_run_transfer()
1462 if ((le32_to_cpu(trb->control) & TRB_CYCLE) != priv_ep->ccs) in cdns3_trb_handled()
2651 link_trb->control = cpu_to_le32((le32_to_cpu(link_trb->control) & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()
2709 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.h1028 #define TRB_CYCLE BIT(0) macro
/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Dep0.c48 priv_ep->trb_pool[0].control = TRB_CYCLE | TRB_TYPE(TRB_NORMAL); in cdns3_ep0_run_transfer()
51 priv_ep->trb_pool[1].control = TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()
54 priv_ep->trb_pool[0].control = TRB_CYCLE | TRB_IOC | in cdns3_ep0_run_transfer()
H A Dgadget.c207 link_trb->control = TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE; in cdns3_allocate_trb_pool()
785 priv_ep->wa1_cycle_bit = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_wa1_update_guard()
880 link_trb->control = ((priv_ep->pcs) ? TRB_CYCLE : 0) | in cdns3_ep_run_transfer()
888 control = priv_ep->pcs ? 0 : TRB_CYCLE; in cdns3_ep_run_transfer()
911 pcs = priv_ep->pcs ? TRB_CYCLE : 0; in cdns3_ep_run_transfer()
1091 if ((trb->control & TRB_CYCLE) != priv_ep->ccs) in cdns3_request_handled()
2107 link_trb->control = (link_trb->control & TRB_CYCLE) | in cdns3_gadget_ep_dequeue()
H A Dgadget.h1018 #define TRB_CYCLE BIT(0) macro
/OK3568_Linux_fs/u-boot/include/usb/
H A Dxhci.h859 #define TRB_CYCLE (1<<0) macro