Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-debug.h212 EVENT_TRB_LEN(field2), TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
303 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
310 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
318 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
326 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
337 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
346 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
357 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
363 TRB_TO_SLOT_ID(field3), in cdnsp_decode_trb()
H A Dcdnsp-gadget.h966 #define TRB_TO_SLOT_ID(p) (((p) & GENMASK(31, 24)) >> 24) macro
/openbmc/u-boot/drivers/usb/host/
H A Dxhci-ring.c495 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in abort_td()
502 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
510 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in abort_td()
724 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_bulk_tx()
916 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_ctrl_tx()
932 BUG_ON(TRB_TO_SLOT_ID(field) != slot_id); in xhci_ctrl_tx()
H A Dxhci.c463 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in xhci_configure_endpoints()
649 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) != slot_id); in xhci_address_device()
727 udev->slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)); in _xhci_alloc_device()
H A Dxhci.h819 #define TRB_TO_SLOT_ID(p) (((p) & (0xff << 24)) >> 24) macro
/openbmc/linux/drivers/usb/host/
H A Dxhci.h1020 #define TRB_TO_SLOT_ID(p) (((p) & (0xff<<24)) >> 24) macro
2063 EVENT_TRB_LEN(field2), TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2145 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2153 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2162 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2171 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2179 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2189 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2201 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
2210 TRB_TO_SLOT_ID(field3), in xhci_decode_trb()
[all …]
H A Dxhci-ring.c1719 ep = xhci_get_virt_ep(xhci, TRB_TO_SLOT_ID(cmd_field3), in xhci_handle_command_timeout()
1768 unsigned int slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags)); in handle_cmd_completion()
1849 WARN_ON(slot_id != TRB_TO_SLOT_ID( in handle_cmd_completion()
1856 WARN_ON(slot_id != TRB_TO_SLOT_ID( in handle_cmd_completion()
1866 WARN_ON(slot_id != TRB_TO_SLOT_ID( in handle_cmd_completion()
1874 slot_id = TRB_TO_SLOT_ID( in handle_cmd_completion()
1916 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->generic.field[3])); in handle_device_notification()
2678 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags)); in handle_tx_event()
2814 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)), in handle_tx_event()
2822 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)), in handle_tx_event()
[all …]