Files
android_kernel_xiaomi_sm8450/drivers/usb/dwc3
Felipe Balbi c28f82595d usb: dwc3: switch trb enqueue/dequeue and first_trb_index to u8
We *know* that we have 1 PAGE (4096 bytes) for our
TRB poll. We also know the size of each TRB and know
that we can fit 256 of them in one PAGE. By using a
u8 type we can make sure that:

	enqueue++ % 256;

gets optimized to an increment only.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-04-18 15:23:49 +03:00
..
2013-07-29 13:56:44 +03:00
2015-03-10 15:33:33 -05:00
2015-12-15 09:12:41 -06:00
2015-05-13 12:06:52 -05:00