Home
last modified time | relevance | path

Searched refs:TRB_TO_EP_ID (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci.h820 #define TRB_TO_EP_ID(p) (((p) >> 16) & 0x1f) /* Endpoint ID 1 - 31 */ macro
823 #define TRB_TO_EP_INDEX(p) (TRB_TO_EP_ID(p) - 1) /* Endpoint index 0 - 30 */
2072 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2204 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2214 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2224 TRB_TO_EP_ID(field3), in xhci_decode_trb()
H A Dxhci-dbgcap.c770 ep_id = TRB_TO_EP_ID(le32_to_cpu(event->generic.field[3])); in dbc_handle_xfer_event()
H A Dxhci-ring.c2650 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in handle_tx_event()
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.h921 #define TRB_TO_EP_ID(p) (((p) & GENMASK(20, 16)) >> 16) macro
H A Dcdnsp-ring.c1190 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_nrdy()
1247 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_event()
H A Dcdnsp-gadget.c529 TRB_TO_EP_ID(data) == (pep->idx + 1)) { in cdnsp_invalidate_ep_events()
/linux/drivers/usb/early/
H A Dxhci-dbc.c727 ep_id = TRB_TO_EP_ID(le32_to_cpu(evt_trb->field[3])); in xdbc_handle_tx_event()