linux/drivers/usb/dwc2
Sevak Arakelyan c138ecfa61 usb: dwc2: gadget: Set TX FIFO depths to calculated defaults
Remove legacy DWC2_G_P_LEGACY_TX_FIFO_SIZE array for TX FIFOs.
Update dwc2_set_param_tx_fifo_sizes function to calculate
and assign default average FIFO depth to each member of
g_tx_fifo_size array. Total FIFO size, EP Info block's size,
FIFO operation mode and device operation mode are taken into
consideration during the calculation.

Cc: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-01-24 16:19:11 +02:00
..
Kconfig USB: dwc2-usb: add USB_GADGET dependency 2016-06-29 11:11:41 +03:00
Makefile usb: dwc2: Add params.c file 2016-11-18 13:54:10 +02:00
core.c usb: dwc2: host: use msleep() for long delay 2017-01-24 16:19:10 +02:00
core.h usb: dwc2: gadget: Set TX FIFO depths to calculated defaults 2017-01-24 16:19:11 +02:00
core_intr.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
debug.h usb: dwc2: Add identifier in prototypes 2017-01-24 11:04:18 +02:00
debugfs.c usb: dwc2: Show dr_mode via debugfs 2017-01-24 16:19:08 +02:00
gadget.c usb: dwc2: gadget: Set TX FIFO depths to calculated defaults 2017-01-24 16:19:11 +02:00
hcd.c usb: dwc2: host: Correct snpsid checking for GDFIFOCFG 2017-01-24 16:19:10 +02:00
hcd.h usb: dwc2: Cleanup some checkpatch issues 2017-01-24 11:04:18 +02:00
hcd_ddma.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hcd_intr.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hcd_queue.c usb: dwc2: Fix usage of bool params 2017-01-24 16:19:07 +02:00
hw.h usb: dwc2: Cleanup some checkpatch issues 2017-01-24 11:04:18 +02:00
params.c usb: dwc2: gadget: Set TX FIFO depths to calculated defaults 2017-01-24 16:19:11 +02:00
pci.c usb: dwc2: Cleanup some checkpatch issues 2017-01-24 11:04:18 +02:00
platform.c usb: dwc2: Fix brace usage 2017-01-24 11:04:19 +02:00