android_kernel_xiaomi_sm8350/drivers/usb/gadget
Magnus Damm 4048e5ca29 usb: m66592-udc buffer management update
This patch updates the m66592-udc buffer management code.

Use fixed buffers for bulk and isochronous pipes, also make
sure to handle the isochronous-as-bulk case. With fixed buffers
there is no need to keep track of used buffers with bi_bufnum.

Also, this fixes a potential buffer offset problem where the
base offset incorrectly varies with the number of pipes used.

With this patch applied it is possible to use m66592-udc for
both Ethernet and Serial using CONFIG_USB_CDC_COMPOSITE.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-07-05 00:32:19 +09:00
..
amd5536udc.c
amd5536udc.h
at91_udc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2009-06-16 13:06:10 -07:00
at91_udc.h
atmel_usba_udc.c USB: atmel_usba_udc: change way of specifying bias function 2009-06-15 21:44:47 -07:00
atmel_usba_udc.h
audio.c USB: gadget: add USB Audio Gadget driver 2009-06-15 21:44:47 -07:00
cdc2.c
ci13xxx_udc.c USB: ci13xxx_udc: use helper functions to determine endpoint type and direction 2009-06-15 21:44:41 -07:00
ci13xxx_udc.h
composite.c
config.c
dummy_hcd.c
epautoconf.c
ether.c
f_acm.c
f_audio.c USB: gadget: add USB Audio Gadget driver 2009-06-15 21:44:47 -07:00
f_ecm.c
f_loopback.c
f_obex.c
f_phonet.c usb: gadget: f_phonet: fix memory allocation sizes 2009-06-02 00:17:46 -07:00
f_rndis.c USB: gadget : Fix RNDIS code to pass USB Compliance tests (USBCV) with g_ether 2009-06-15 21:44:46 -07:00
f_serial.c
f_sourcesink.c
f_subset.c
file_storage.c USB: g_file_storage: use the "unaligned" accessors 2009-06-15 21:44:44 -07:00
fsl_mx3_udc.c USB: gadget: Add i.MX3x support to the fsl_usb2_udc driver 2009-06-15 21:44:47 -07:00
fsl_qe_udc.c
fsl_qe_udc.h
fsl_udc_core.c USB: gadget: Add i.MX3x support to the fsl_usb2_udc driver 2009-06-15 21:44:47 -07:00
fsl_usb2_udc.h USB: gadget: Add i.MX3x support to the fsl_usb2_udc driver 2009-06-15 21:44:47 -07:00
g_zero.h
gadget_chips.h USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
gmidi.c
goku_udc.c USB: Goku-S: use helper functions to determine endpoint type and direction 2009-06-15 21:44:42 -07:00
goku_udc.h
imx_udc.c USB: gadget: imx_udc: don't queue more data when zlp is to be sent 2009-06-15 21:44:46 -07:00
imx_udc.h
inode.c USB: gadgetfs: use helper functions to determine endpoint type and direction 2009-06-15 21:44:42 -07:00
Kconfig USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
langwell_udc.c USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
langwell_udc.h USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
lh7a40x_udc.c
lh7a40x_udc.h
m66592-udc.c usb: m66592-udc buffer management update 2009-07-05 00:32:19 +09:00
m66592-udc.h usb: m66592-udc buffer management update 2009-07-05 00:32:19 +09:00
Makefile USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
ndis.h
net2280.c
net2280.h
omap_udc.c USB: gadget: omap_udc uses platform_driver_probe() 2009-04-23 14:15:29 -07:00
omap_udc.h
printer.c
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c USB: pxa27x_udc: single-thread setup requests 2009-06-15 21:44:42 -07:00
pxa27x_udc.h USB: pxa27x_udc: single-thread setup requests 2009-06-15 21:44:42 -07:00
rndis.c
rndis.h
s3c2410_udc.c
s3c2410_udc.h
s3c-hsotg.c USB: Gadget driver for Samsung HS/OtG block 2009-06-15 21:44:47 -07:00
serial.c
u_audio.c USB: gadget: add USB Audio Gadget driver 2009-06-15 21:44:47 -07:00
u_audio.h USB: gadget: add USB Audio Gadget driver 2009-06-15 21:44:47 -07:00
u_ether.c net: use symbolic values for ndo_start_xmit() return codes 2009-06-13 01:18:50 -07:00
u_ether.h
u_phonet.h
u_serial.c USB: gadget: g_serial: append zlp when tx buffer becomes empty 2009-06-15 21:44:46 -07:00
u_serial.h
usbstring.c USB: Gadget: fix UTF conversion in the usbstring library 2009-05-08 19:34:56 -07:00
zero.c