• Felipe Balbi's avatar
    usb: dwc3: convert TRBs into bitshifts · f6bafc6a
    Felipe Balbi authored
    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: default avatarFelipe Balbi <balbi@ti.com>
    f6bafc6a
core.h 22.8 KB