u-boot/drivers/usb/gadget
Lukasz Majewski 716662bd19 usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver
A set of cache operations (both invalidation and flush) were redundant
in the S3C HS OTG Samsung driver:

1. s3c_udc_ep0_zlp - to transmit EP0's ZLP packets one don't need to flush
the cache (since it is the zero length transmission)

2. s3c_udc_pre_setup and s3c_ep0_complete_out - cache invalidation is not
needed when the buffer for OUT EP0 transmission is setup, since no data
has yet arrived.

Cache cleanups presented above don't contribute much to transmission speed
up, hence shall be regarded as cosmetic changes.

3. setdma_rx - here the s3c UDC driver's internal buffers were invalidated.
This call is not needed anymore since we reuse the buffers passed from
gadgets. This is a key contribution to transmission speed improvement.

Test condition
- test HW + measurement: Trats - Exynos4210 rev.1
- test HW Trats2 - Exynos4412 rev.1
400 MiB compressed rootfs image download with `thor 0 mmc 0`

Measurements:

Base values (without improvement):
Transmission speed: 9.51 MiB/s

After the change:
Transmission speed: 10.15 MiB/s

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
2014-02-06 02:22:45 +01:00
..
atmel_usba_udc.c USB: gadget: atmel: disconnect before unbind 2013-09-24 17:51:36 +02:00
atmel_usba_udc.h USB: gadget: add atmel usba udc driver 2013-09-24 17:51:35 +02:00
composite.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.c usb: gadget: config: fix unaligned access issues 2013-09-24 17:51:35 +02:00
core.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
designware_udc.c usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
ep0.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ep0.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
epautoconf.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ether.c usb: gadget: ether: return error from rx_submit if no request 2013-10-20 23:42:39 +02:00
f_dfu.c usb: f_dfu: cosmetic: Code cleanup 2013-12-18 19:53:19 +01:00
f_dfu.h usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value 2013-12-18 19:53:19 +01:00
f_mass_storage.c usb:gadget:ums: Replace malloc calls with memalign to fix cache buffer alignment 2014-02-06 02:22:44 +01:00
f_thor.c usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol 2013-10-20 23:42:41 +02:00
f_thor.h usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol 2013-10-20 23:42:41 +02:00
fotg210.c usb: gadget: fotg210: EP0 fifo empty indication is non-reliable 2014-01-13 12:15:13 +01:00
g_dnl.c usb, g_dnl: make bcdDevice value configurable 2013-11-12 09:53:59 -05:00
gadget_chips.h usb: mv_udc: Unbreak the mv_udc driver 2013-07-29 23:01:31 +02:00
Makefile drivers/usb/gadget: select objects by obj-$(CONFIG-...) 2013-12-13 09:18:44 -05:00
mpc8xx_udc.c usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
mv_udc.c usb: gadget: mv_udc: split mv_udc.h file 2013-10-20 23:46:36 +02:00
mv_udc.h usb: gadget: mv_udc: split mv_udc.h file 2013-10-20 23:46:36 +02:00
ndis.h USB: Add USB RNDIS gadget protocol 2011-02-19 20:32:37 +01:00
omap1510_udc.c usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
pxa25x_udc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pxa25x_udc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pxa27x_udc.c usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
regs-otg.h driver:usb:s3c_udc: add support for Exynos4x12 2013-12-02 11:22:32 +09:00
rndis.c Coding Style cleanup: remove trailing empty lines 2011-03-27 21:48:08 +02:00
rndis.h USB-RNDIS: Send RNDIS state on disconnecting 2011-02-19 20:32:38 +01:00
s3c_udc_otg.c driver:usb:s3c_udc: add support for Exynos4x12 2013-12-02 11:22:32 +09:00
s3c_udc_otg_xfer_dma.c usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver 2014-02-06 02:22:45 +01:00
storage_common.c usb: ums: fix disk capacity miscalculation and code cleanup 2013-11-08 20:46:19 +01:00
usbstring.c Add LGPL-2.1+ SPDX-License-Identifier to source files 2013-07-24 09:45:01 -04:00