• Home
  • Raw
  • Download

Lines Matching refs:trb

242 void xhci_print_trb_offsets(struct xhci_hcd *xhci, union xhci_trb *trb)  in xhci_print_trb_offsets()  argument
247 i*4, trb->generic.field[i]); in xhci_print_trb_offsets()
253 void xhci_debug_trb(struct xhci_hcd *xhci, union xhci_trb *trb) in xhci_debug_trb() argument
256 u32 type = le32_to_cpu(trb->link.control) & TRB_TYPE_BITMASK; in xhci_debug_trb()
261 xhci_print_trb_offsets(xhci, trb); in xhci_debug_trb()
263 address = le64_to_cpu(trb->link.segment_ptr); in xhci_debug_trb()
267 GET_INTR_TARGET(le32_to_cpu(trb->link.intr_target))); in xhci_debug_trb()
269 le32_to_cpu(trb->link.control) & TRB_CYCLE); in xhci_debug_trb()
271 le32_to_cpu(trb->link.control) & LINK_TOGGLE); in xhci_debug_trb()
273 le32_to_cpu(trb->link.control) & TRB_NO_SNOOP); in xhci_debug_trb()
276 address = le64_to_cpu(trb->trans_event.buffer); in xhci_debug_trb()
284 address = le64_to_cpu(trb->event_cmd.cmd_trb); in xhci_debug_trb()
287 GET_COMP_CODE(le32_to_cpu(trb->event_cmd.status))); in xhci_debug_trb()
289 le32_to_cpu(trb->event_cmd.flags)); in xhci_debug_trb()
294 xhci_print_trb_offsets(xhci, trb); in xhci_debug_trb()
316 union xhci_trb *trb = seg->trbs; in xhci_debug_segment() local
319 trb = &seg->trbs[i]; in xhci_debug_segment()
321 lower_32_bits(le64_to_cpu(trb->link.segment_ptr)), in xhci_debug_segment()
322 upper_32_bits(le64_to_cpu(trb->link.segment_ptr)), in xhci_debug_segment()
323 le32_to_cpu(trb->link.intr_target), in xhci_debug_segment()
324 le32_to_cpu(trb->link.control)); in xhci_debug_segment()
325 addr += sizeof(*trb); in xhci_debug_segment()