linux-stable/drivers/usb/gadget
Magnus Damm 59c82d12aa usb: r8a66597-udc unaligned fifo fix
Rework the r8a66597-udc fifo code to avoid unaligned accesses.

Without this patch unaligned exceptions will degrade the
USB performance. The exceptions come from the fact that
the usb fifo data buffers may be misaligned.

This patch updates the fifo access code to only use
insl()/outsl() and insw()/outsw() in the case of properly
aligned data buffers. The fallback case is that inl()/inw()
are used for misaligned buffer reads together with outb()
that is used for misaligned buffer writes.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-10-06 10:59:03 +09:00
..
amd5536udc.c USB: gadget: Drop NULL test on list_entry result 2009-09-23 06:46:28 -07:00
amd5536udc.h
at91_udc.c USB: gadget: double free_irq() in at91udc_probe() 2009-09-23 06:46:37 -07:00
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
audio.c USB audio gadget: Prefix all macro definitions with UAC_ in linux/usb/audio.h 2009-09-23 06:46:20 -07:00
cdc2.c
ci13xxx_udc.c
ci13xxx_udc.h
composite.c USB: gadget: Read buffer overflow 2009-09-23 06:46:32 -07:00
config.c
dummy_hcd.c USB: dummy-hcd: accept mismatch between wLength and transfer length 2009-09-23 06:46:30 -07:00
epautoconf.c
ether.c USB: gadget: Add EEM gadget driver 2009-09-23 06:46:35 -07:00
f_acm.c
f_audio.c USB audio gadget: Un-inline generic_[gs]et_cmd 2009-09-23 06:46:20 -07:00
f_ecm.c
f_eem.c USB: gadget: Add EEM gadget driver 2009-09-23 06:46:35 -07:00
f_loopback.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
f_obex.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
f_phonet.c f_phonet: use page-sized rather than MTU-sized RX buffers 2009-08-12 20:44:49 -07:00
f_rndis.c USB: gadget: Add EEM gadget driver 2009-09-23 06:46:35 -07:00
f_serial.c
f_sourcesink.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
f_subset.c
file_storage.c
fsl_mx3_udc.c
fsl_qe_udc.c USB: fsl_qe_udc: Add fsl,mpc8323-qe-usb compatible entry 2009-09-23 06:46:37 -07:00
fsl_qe_udc.h
fsl_udc_core.c
fsl_usb2_udc.h
g_zero.h
gadget_chips.h usb: gadget: R8A66597 peripheral controller support. 2009-08-20 10:25:30 +09:00
gmidi.c USB audio gadget: Prefix all macro definitions with UAC_ in linux/usb/audio.h 2009-09-23 06:46:20 -07:00
goku_udc.c
goku_udc.h
imx_udc.c
imx_udc.h
inode.c const: mark remaining super_operations const 2009-09-22 07:17:24 -07:00
Kconfig USB: gadget: ether needs to select CRC32 2009-09-23 06:46:39 -07:00
langwell_udc.c
langwell_udc.h
lh7a40x_udc.c
lh7a40x_udc.h
m66592-udc.c usb: gadget: m66592-udc needs linux/err.h. 2009-08-24 22:45:15 +09:00
m66592-udc.h
Makefile usb: gadget: R8A66597 peripheral controller support. 2009-08-20 10:25:30 +09:00
ndis.h
net2280.c
net2280.h
omap_udc.c
omap_udc.h
printer.c
pxa25x_udc.c USB: gadget: pxa25x: basic transceiver support 2009-09-23 06:46:23 -07:00
pxa25x_udc.h USB: gadget: pxa25x: basic transceiver support 2009-09-23 06:46:23 -07:00
pxa27x_udc.c
pxa27x_udc.h
r8a66597-udc.c usb: r8a66597-udc: implement the set_wedge method 2009-08-21 08:34:08 +09:00
r8a66597-udc.h usb: r8a66597-udc unaligned fifo fix 2009-10-06 10:59:03 +09:00
rndis.c USB: gadget: Add EEM gadget driver 2009-09-23 06:46:35 -07:00
rndis.h USB: gadget: Add EEM gadget driver 2009-09-23 06:46:35 -07:00
s3c-hsotg.c USB: gadget: s3c-hsotg: missing parentheses 2009-09-23 06:46:28 -07:00
s3c2410_udc.c USB: s3c2410: unregister should call unbind, not disconnect 2009-09-23 06:46:35 -07:00
s3c2410_udc.h
serial.c
u_audio.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
u_audio.h
u_ether.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
u_ether.h USB: gadget: Add EEM gadget driver 2009-09-23 06:46:35 -07:00
u_phonet.h
u_serial.c USB: double put_tty_driver(gs_tty_driver) in gserial_setup() 2009-09-23 06:46:37 -07:00
u_serial.h
usbstring.c
zero.c