usb: dwc3: trace: pretty-print TRB's ctrl field
authorJanusz Dziedzic <januszx.dziedzic@linux.intel.com>
Fri, 20 May 2016 08:37:13 +0000 (10:37 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:39 +0000 (12:32 +0300)
commit22f2c619a116f120fe57de1225cfe7fdeb0b12d2
tree53d18961fa9cb0ccfd429e37dfb8dcd4e98e3b95
parent74674cbf858ff6a83c3f06f4ab0ffa5d3c91bf0b
usb: dwc3: trace: pretty-print TRB's ctrl field

Improve trb tracing by showing trb flags, interrupts
trb type.

trb flags:
- h - hardware owner of descriptor
- l - last TRB
- c - chain buffers
- s - continue on short packet

interrupt flags:
- s - interrupt on short packet
- c - interrupt on complete

Capital letter means that bit is set, while
lowercase letter means bit is cleared.

Signed-off-by: Janusz Dziedzic <januszx.dziedzic@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/trace.h