Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
H A Dxhci.h816 #define TRB_TO_EP_ID(p) (((p) >> 16) & 0x1f) /* Endpoint ID 1 - 31 */ macro
819 #define TRB_TO_EP_INDEX(p) (TRB_TO_EP_ID(p) - 1) /* Endpoint index 0 - 30 */
2037 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2169 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2179 TRB_TO_EP_ID(field3), in xhci_decode_trb()
2189 TRB_TO_EP_ID(field3), in xhci_decode_trb()
H A Dxhci-ring.c2669 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in handle_tx_event()
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.h914 #define TRB_TO_EP_ID(p) (((p) & GENMASK(20, 16)) >> 16) macro
H A Dcdnsp-ring.c1187 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_nrdy()
1244 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; in cdnsp_handle_tx_event()
H A Dcdnsp-gadget.c508 TRB_TO_EP_ID(data) == (pep->idx + 1)) { in cdnsp_invalidate_ep_events()
/linux/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()