Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/host/
H A Dxhci.h819 #define TRB_TO_EP_ID(p) (((p) >> 16) & 0x1f) /* Endpoint ID 1 - 31 */ macro
822 #define TRB_TO_EP_INDEX(p) (TRB_TO_EP_ID(p) - 1) /* Endpoint index 0 - 30 */
2046 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2178 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2188 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2198 TRB_TO_EP_ID(field3), in xhci_decode_trb()
H A Dxhci-dbgcap.c726 ep_id = TRB_TO_EP_ID(le32_to_cpu(event->generic.field[3])); in dbc_handle_xfer_event()
H A Dxhci-ring.c2662 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in handle_tx_event()
/linux-6.15/drivers/usb/cdns3/
H A Dcdnsp-gadget.h917 #define TRB_TO_EP_ID(p) (((p) & GENMASK(20, 16)) >> 16) macro
H A Dcdnsp-ring.c1188 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_nrdy()
1245 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_event()
H A Dcdnsp-gadget.c528 TRB_TO_EP_ID(data) == (pep->idx + 1)) { in cdnsp_invalidate_ep_events()
/linux-6.15/drivers/usb/early/
H A Dxhci-dbc.c723 ep_id = TRB_TO_EP_ID(le32_to_cpu(evt_trb->field[3])); in xdbc_handle_tx_event()