Searched refs:trb (Results 1 – 1 of 1) sorted by relevance
43 static int xhci_send_command(int id, struct xhci_TRB_t *trb, const bool do_ring);109 static __always_inline void xhci_get_trb(struct xhci_TRB_t *trb, const uint64_t address) in xhci_get_trb() argument111 trb->param = __read8b(address); in xhci_get_trb()112 trb->status = __read4b(address + 8); in xhci_get_trb()113 trb->command = __read4b(address + 12); in xhci_get_trb()122 static __always_inline void xhci_set_trb(struct xhci_TRB_t *trb, const uint64_t address) in xhci_set_trb() argument124 __write8b(address, trb->param); in xhci_set_trb()125 __write4b(address + 8, trb->status); in xhci_set_trb()126 __write4b(address + 12, trb->command); in xhci_set_trb()199 static __always_inline void __xhci_write_trb(struct xhci_ep_info_t *ep_info, struct xhci_TRB_t *trb) in __xhci_write_trb() argument[all …]