Lines Matching refs:trb
236 void xhci_print_trb_offsets(struct xhci_hcd *xhci, union xhci_trb *trb)
241 i*4, trb->generic.field[i]);
247 void xhci_debug_trb(struct xhci_hcd *xhci, union xhci_trb *trb)
250 u32 type = xhci_readl(xhci, &trb->link.control) & TRB_TYPE_BITMASK;
255 xhci_print_trb_offsets(xhci, trb);
257 address = trb->link.segment_ptr;
261 GET_INTR_TARGET(trb->link.intr_target));
263 (unsigned int) (trb->link.control & TRB_CYCLE));
265 (unsigned int) (trb->link.control & LINK_TOGGLE));
267 (unsigned int) (trb->link.control & TRB_NO_SNOOP));
270 address = trb->trans_event.buffer;
274 address = trb->event_cmd.cmd_trb;
277 (unsigned int) GET_COMP_CODE(trb->event_cmd.status));
278 xhci_dbg(xhci, "Flags = 0x%x\n", (unsigned int) trb->event_cmd.flags);
283 xhci_print_trb_offsets(xhci, trb);
292 union xhci_trb *trb = seg->trbs;
295 trb = &seg->trbs[i];
297 lower_32_bits(trb->link.segment_ptr),
298 upper_32_bits(trb->link.segment_ptr),
299 (unsigned int) trb->link.intr_target,
300 (unsigned int) trb->link.control);
301 addr += sizeof(*trb);