usb: dwc3: convert TRBs into bitshifts
authorFelipe Balbi <balbi@ti.com>
Mon, 6 Feb 2012 09:04:53 +0000 (11:04 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 13 Feb 2012 14:02:06 +0000 (16:02 +0200)
this will get rid of a useless memcpy on
IRQ handling, thus improving driver performance.

Tested with OMAP5430 running g_mass_storage on
SuperSpeed and HighSpeed.

Note that we are removing the little endian access
of the TRB and all accesses will be in System endianness,
if there happens to be a system in BE, bit 12 of GSBUSCFG0
should be set so that HW does byte invariant BE accesses
when fetching TRBs.

Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found