linux/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
..
core.c usb: dwc3: add disable receiver detection in P3 quirk 2016-04-18 15:23:44 +03:00
core.h usb: dwc3: switch trb enqueue/dequeue and first_trb_index to u8 2016-04-18 15:23:49 +03:00
debug.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debugfs.c
dwc3-exynos.c usb: dwc3: exynos: switch dev_dbg() to dev_info() 2015-07-29 09:59:17 -05:00
dwc3-keystone.c usb: dwc3: keystone: drop dma_mask configuration 2016-04-06 16:36:01 +03:00
dwc3-of-simple.c usb: dwc3: Remove impossible check for of_clk_get_parent_count() < 0 2016-02-26 16:01:32 -08:00
dwc3-omap.c usb: dwc3: omap: drop dma_mask configuration 2016-04-18 15:23:45 +03:00
dwc3-pci.c usb: dwc3: pci: add ID for one more Intel Broxton platform 2016-04-06 16:28:08 +03:00
dwc3-st.c usb: common: of_usb_get_dr_mode to usb_get_dr_mode 2015-09-27 10:54:31 -05:00
ep0.c usb: dwc3: gadget: rename busy/free_slot to trb_enqueue/dequeue 2016-04-18 15:23:46 +03:00
gadget.c usb: dwc3: gadget: rename busy/free_slot to trb_enqueue/dequeue 2016-04-18 15:23:46 +03:00
gadget.h usb: dwc3: better name for our request management lists 2016-04-14 09:24:38 +03:00
host.c usb: dwc3: make LPM configurable in DT 2015-03-10 15:33:33 -05:00
io.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
Kconfig usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
Makefile usb: dwc3: remove dwc3-qcom in favor of dwc3-of-simple 2015-12-15 09:12:41 -06:00
platform_data.h usb: dwc3: add disable receiver detection in P3 quirk 2016-04-18 15:23:44 +03:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: show request flags 2015-12-15 09:12:41 -06:00
ulpi.c usb: dwc3: add ULPI interface support 2015-05-13 12:06:52 -05:00