Home
last modified time | relevance | path

Searched refs:TRB_TYPE (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-ring.c120 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type)); in cdnsp_trb_to_noop()
1457 case TRB_TYPE(TRB_COMPLETION): in cdnsp_handle_event()
1464 case TRB_TYPE(TRB_PORT_STATUS): in cdnsp_handle_event()
1468 case TRB_TYPE(TRB_TRANSFER): in cdnsp_handle_event()
1473 case TRB_TYPE(TRB_SETUP): in cdnsp_handle_event()
1482 case TRB_TYPE(TRB_ENDPOINT_NRDY): in cdnsp_handle_event()
1485 case TRB_TYPE(TRB_HC_EVENT): { in cdnsp_handle_event()
1499 case TRB_TYPE(TRB_MFINDEX_WRAP): in cdnsp_handle_event()
1500 case TRB_TYPE(TRB_DRB_OVERFLOW): in cdnsp_handle_event()
1914 field = TRB_TYPE(TRB_NORMAL); in cdnsp_queue_bulk_tx()
[all …]
Dcdnsp-gadget.h1065 #define TRB_TYPE(p) ((p) << 10) macro
1134 #define TRB_TYPE_LINK(x) (((x) & TRB_TYPE_BITMASK) == TRB_TYPE(TRB_LINK))
1136 cpu_to_le32(TRB_TYPE(TRB_LINK)))
1138 cpu_to_le32(TRB_TYPE(TRB_TR_NOOP)))
Dcdns3-ep0.c45 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_NORMAL)); in cdns3_ep0_run_transfer()
49 TRB_TYPE(TRB_NORMAL)); in cdns3_ep0_run_transfer()
52 TRB_TYPE(TRB_NORMAL)); 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()
1017 control = TRB_TYPE(TRB_NORMAL) | TRB_CYCLE | in cdns3_ep_run_stream_transfer()
1184 TRB_TYPE(TRB_LINK) | TRB_TOGGLE | ch_bit); in cdns3_ep_run_transfer()
1211 control |= TRB_TYPE(TRB_NORMAL); in cdns3_ep_run_transfer()
2663 TRB_TYPE(TRB_LINK) | TRB_CHAIN); in cdns3_gadget_ep_dequeue()
Dcdns3-gadget.h1022 #define TRB_TYPE(p) ((p) << 10) macro
Dcdnsp-mem.c127 val |= TRB_TYPE(TRB_LINK); in cdnsp_link_segments()
/linux-6.1.9/drivers/usb/host/
Dxhci-ring.c134 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type)); in trb_to_noop()
698 EP_ID_FOR_TRB(ep_index) | TRB_TYPE(TRB_SET_DEQ), false); in xhci_move_dequeue_past_td()
3582 field = TRB_TYPE(TRB_NORMAL); in xhci_queue_bulk_tx()
3670 field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; in xhci_queue_bulk_tx()
3737 field |= TRB_IDT | TRB_TYPE(TRB_SETUP); in xhci_queue_ctrl_tx()
3761 field = TRB_ISP | TRB_TYPE(TRB_DATA); in xhci_queue_ctrl_tx()
3763 field = TRB_TYPE(TRB_DATA); in xhci_queue_ctrl_tx()
3809 field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state); in xhci_queue_ctrl_tx()
4055 field = TRB_TYPE(TRB_ISOC) | in xhci_queue_isoc_tx()
4070 field = TRB_TYPE(TRB_NORMAL) | in xhci_queue_isoc_tx()
[all …]
Dxhci-dbgcap.c169 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(TRB_TR_NOOP)); in xhci_dbc_flush_single_request()
264 control = TRB_TYPE(TRB_NORMAL) | TRB_IOC; in xhci_dbc_queue_bulk_tx()
455 trb->link.control = cpu_to_le32(LINK_TOGGLE | TRB_TYPE(TRB_LINK)); in xhci_dbc_ring_alloc()
860 case TRB_TYPE(TRB_PORT_STATUS): in xhci_dbc_do_handle_events()
863 case TRB_TYPE(TRB_TRANSFER): in xhci_dbc_do_handle_events()
Dxhci.h1359 #define TRB_TYPE(p) ((p) << 10) macro
1507 #define TRB_TYPE_LINK(x) (((x) & TRB_TYPE_BITMASK) == TRB_TYPE(TRB_LINK))
1510 cpu_to_le32(TRB_TYPE(TRB_LINK)))
1512 cpu_to_le32(TRB_TYPE(TRB_TR_NOOP)))
Dxhci-mem.c115 val |= TRB_TYPE(TRB_LINK); in xhci_link_segments()
Dxhci.c703 TRB_TYPE(TRB_NEC_GET_FW)); in xhci_run()
/linux-6.1.9/drivers/usb/early/
Dxhci-dbc.c214 link_trb->field[3] = cpu_to_le32(TRB_TYPE(TRB_LINK)) | cpu_to_le32(LINK_TOGGLE); in xdbc_reset_ring()
490 control = TRB_TYPE(TRB_NORMAL) | TRB_IOC; in xdbc_bulk_transfer()
814 case TRB_TYPE(TRB_PORT_STATUS): in xdbc_handle_events()
817 case TRB_TYPE(TRB_TRANSFER): in xdbc_handle_events()