Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c2457 EP_ID_FOR_TRB(ep_index) | TRB_TYPE(TRB_STOP_RING)); in cdnsp_queue_stop_endpoint()
2480 EP_ID_FOR_TRB(pep->idx) | type); in cdnsp_queue_new_dequeue_state()
2487 EP_ID_FOR_TRB(ep_index) | in cdnsp_queue_reset_ep()
2498 EP_ID_FOR_TRB(ep_index)); in cdnsp_queue_halt_endpoint()
2509 EP_ID_FOR_TRB(ep_index)); in cdnsp_queue_flush_endpoint()
H A Dcdnsp-gadget.h972 #define EP_ID_FOR_TRB(p) ((((p) + 1) << 16) & GENMASK(20, 16)) macro
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.h828 #define EP_ID_FOR_TRB(p) ((((p) + 1) & 0x1f) << 16) macro
H A Dxhci-ring.c290 fields[3] |= EP_ID_FOR_TRB(ep_index); in xhci_queue_command()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c738 EP_ID_FOR_TRB(ep_index) | TRB_TYPE(TRB_SET_DEQ), false); in xhci_move_dequeue_past_td()
4538 u32 trb_ep_index = EP_ID_FOR_TRB(ep_index); in xhci_queue_stop_endpoint()
4551 u32 trb_ep_index = EP_ID_FOR_TRB(ep_index); in xhci_queue_reset_ep()
H A Dxhci.h1025 #define EP_ID_FOR_TRB(p) ((((p) + 1) & 0x1f) << 16) macro