Home
last modified time | relevance | path

Searched refs:TRB_TYPE (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dxhci.h901 #define TRB_TYPE(p) ((p) << 10) macro
979 #define TRB_TYPE_LINK(x) (((x) & TRB_TYPE_BITMASK) == TRB_TYPE(TRB_LINK))
982 cpu_to_le32(TRB_TYPE(TRB_LINK)))
984 cpu_to_le32(TRB_TYPE(TRB_TR_NOOP)))
H A Dxhci-ring.c282 fields[3] = TRB_TYPE(cmd) | SLOT_ID_FOR_TRB(slot_id) | in xhci_queue_command()
/openbmc/qemu/hw/usb/
H A Dhcd-xhci.c160 #define TRB_TYPE(t) (((t).control >> TRB_TYPE_SHIFT) & TRB_TYPE_MASK) macro
409 return lookup_name(TRB_TYPE(*trb), TRBType_names, in trb_name()
717 type = TRB_TYPE(*trb); in xhci_ring_fetch()
764 type = TRB_TYPE(trb); in xhci_ring_chain_length()
1458 switch (TRB_TYPE(*trb)) { in xhci_xfer_create_sgl()
1506 switch (TRB_TYPE(*trb)) { in xhci_xfer_report()
1545 if (TRB_TYPE(*trb) == TR_EVDATA) { in xhci_xfer_report()
1559 switch (TRB_TYPE(*trb)) { in xhci_xfer_report()
1693 if (TRB_TYPE(*trb_status) == TR_EVDATA && xfer->trb_count > 2) { in xhci_fire_ctl_transfer()
1698 if (TRB_TYPE(*trb_setup) != TR_SETUP) { in xhci_fire_ctl_transfer()
[all …]