Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-ring.c120 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type)); in cdnsp_trb_to_noop()
1466 case TRB_TYPE(TRB_COMPLETION): in cdnsp_handle_event()
1473 case TRB_TYPE(TRB_PORT_STATUS): in cdnsp_handle_event()
1477 case TRB_TYPE(TRB_TRANSFER): in cdnsp_handle_event()
1482 case TRB_TYPE(TRB_SETUP): in cdnsp_handle_event()
1491 case TRB_TYPE(TRB_ENDPOINT_NRDY): in cdnsp_handle_event()
1494 case TRB_TYPE(TRB_HC_EVENT): { in cdnsp_handle_event()
1508 case TRB_TYPE(TRB_MFINDEX_WRAP): in cdnsp_handle_event()
1509 case TRB_TYPE(TRB_DRB_OVERFLOW): in cdnsp_handle_event()
1938 field = TRB_TYPE(TRB_NORMAL); in cdnsp_queue_bulk_tx()
[all …]
Dcdnsp-gadget.h1068 #define TRB_TYPE(p) ((p) << 10) macro
1135 #define TRB_TYPE_LINK(x) (((x) & TRB_TYPE_BITMASK) == TRB_TYPE(TRB_LINK))
1137 cpu_to_le32(TRB_TYPE(TRB_LINK)))
1139 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.c251 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | TRB_TOGGLE); in cdns3_allocate_trb_pool()
1023 control = TRB_TYPE(TRB_NORMAL) | TRB_CYCLE | in cdns3_ep_run_stream_transfer()
1191 TRB_TYPE(TRB_LINK) | TRB_TOGGLE | ch_bit); in cdns3_ep_run_transfer()
1238 control |= TRB_TYPE(TRB_NORMAL); in cdns3_ep_run_transfer()
2739 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.12.1/drivers/usb/host/
Dxhci-ring.c140 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type)); in trb_to_noop()
718 EP_INDEX_FOR_TRB(ep_index) | TRB_TYPE(TRB_SET_DEQ), false); in xhci_move_dequeue_past_td()
3608 field = TRB_TYPE(TRB_NORMAL); in xhci_queue_bulk_tx()
3695 field = TRB_TYPE(TRB_NORMAL) | ring->cycle_state | TRB_IOC; in xhci_queue_bulk_tx()
3760 field |= TRB_IDT | TRB_TYPE(TRB_SETUP); in xhci_queue_ctrl_tx()
3784 field = TRB_ISP | TRB_TYPE(TRB_DATA); in xhci_queue_ctrl_tx()
3786 field = TRB_TYPE(TRB_DATA); in xhci_queue_ctrl_tx()
3832 field | TRB_IOC | TRB_TYPE(TRB_STATUS) | ep_ring->cycle_state); in xhci_queue_ctrl_tx()
4076 field = TRB_TYPE(TRB_ISOC) | in xhci_queue_isoc_tx()
4091 field = TRB_TYPE(TRB_NORMAL) | in xhci_queue_isoc_tx()
[all …]
Dxhci-dbgcap.c182 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(TRB_TR_NOOP)); in trb_to_noop()
281 control = TRB_TYPE(TRB_NORMAL) | TRB_IOC; in xhci_dbc_queue_bulk_tx()
471 trb->link.control = cpu_to_le32(LINK_TOGGLE | TRB_TYPE(TRB_LINK)); in xhci_dbc_ring_alloc()
904 case TRB_TYPE(TRB_PORT_STATUS): in xhci_dbc_do_handle_events()
907 case TRB_TYPE(TRB_TRANSFER): in xhci_dbc_do_handle_events()
Dxhci.h1080 #define TRB_TYPE(p) ((p) << 10) macro
1228 #define TRB_TYPE_LINK(x) (((x) & TRB_TYPE_BITMASK) == TRB_TYPE(TRB_LINK))
1231 cpu_to_le32(TRB_TYPE(TRB_LINK)))
1233 cpu_to_le32(TRB_TYPE(TRB_TR_NOOP)))
Dxhci-mem.c118 val |= TRB_TYPE(TRB_LINK); in xhci_link_segments()
Dxhci.c580 TRB_TYPE(TRB_NEC_GET_FW)); in xhci_run()
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/
Dcdns2-ep0.c53 TRB_TYPE(TRB_NORMAL)); in cdns2_ep0_enqueue()
57 TRB_TYPE(TRB_NORMAL)); in cdns2_ep0_enqueue()
60 TRB_TYPE(TRB_NORMAL)); in cdns2_ep0_enqueue()
Dcdns2-gadget.c143 link_trb->control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_LINK) | in cdns2_alloc_tr_segment()
357 TRB_TYPE(TRB_LINK) | TRB_TOGGLE | ch_bit); in cdns2_prepare_ring()
556 control = TRB_TYPE(TRB_NORMAL); in cdns2_ep_tx_isoc()
638 control = TRB_TYPE(TRB_NORMAL) | ring->pcs | TRB_ISP; in cdns2_ep_tx_bulk()
643 control = ring->pcs | TRB_TYPE(TRB_LINK) | TRB_CHAIN 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()
748 TRB_TYPE(TRB_LINK) | TRB_CHAIN); in cdns2_prepare_first_isoc_transfer()
1801 TRB_TYPE(TRB_LINK)); in cdns2_gadget_ep_dequeue()
Dcdns2-gadget.h459 #define TRB_TYPE(p) ((p) << 10) macro
/linux-6.12.1/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()
813 case TRB_TYPE(TRB_PORT_STATUS): in xdbc_handle_events()
816 case TRB_TYPE(TRB_TRANSFER): in xdbc_handle_events()