platform_kernel-5.15/drivers/usb/musb
Ruslan Bilovol 8408fd1d83 usb: musb: implement (un)map_urb_for_dma hooks
MUSB controller cannot work in DMA mode with misaligned buffers,
switching in PIO mode.

HCD core has hooks that allow to override the default DMA
mapping and unmapping routines for host controllers that have
special DMA requirements, such as alignment constraints.

It is observed that work in PIO mode is slow and it's better
to align buffers properly before passing them to MUSB

This increased throughput 80->120 MBits/s over musb@omap4 with
USB Gigabit Ethernet adapter attached.

Some ideas are taken from ehci-tegra.c

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-04-02 11:42:49 +03:00
..
Kconfig usb: phy: remove CONFIG_USB_OTG_UTILS 2013-03-18 11:18:08 +02:00
Makefile usb: musb: Add support for ti81xx platform 2012-05-04 13:59:34 +03:00
am35x.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
blackfin.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
blackfin.h usb: musb: drop a gigantic amount of ifdeferry 2011-07-01 14:31:10 -07:00
cppi_dma.c usb: musb: drop dangling CONFIG_USB_MUSB_DEBUG 2013-03-18 11:18:01 +02:00
cppi_dma.h headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
da8xx.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
davinci.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
davinci.h usb: musb: davinci: Fix build breakage 2012-06-04 18:29:42 +03:00
musb_core.c usb: musb: core: log VBUS error 2013-03-22 08:44:24 +02:00
musb_core.h usb: musb: remove hand-crafted id handling 2012-11-01 12:32:23 +02:00
musb_debug.h usb: musb: remove extern qualifier from musb_debug.h header 2011-12-21 13:21:02 +02:00
musb_debugfs.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musb_dma.h usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musb_dsps.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
musb_gadget.c usb: musb: gadget: use platform callback to enable vbus 2013-04-02 11:42:44 +03:00
musb_gadget.h usb: musb: gadget: do not poke with gadget's list_head 2011-02-17 21:11:46 +02:00
musb_gadget_ep0.c usb: musb: avoid FADDR read access 2012-10-31 15:21:01 +02:00
musb_host.c usb: musb: implement (un)map_urb_for_dma hooks 2013-04-02 11:42:49 +03:00
musb_host.h usb: musb: host: Handle highmem in PIO mode 2012-08-07 14:27:18 +03:00
musb_io.h usb: musb: use io{read,write}*_rep accessors 2012-12-17 17:15:13 -08:00
musb_regs.h usb: musb: tusb6010: fix compilation 2011-08-12 11:52:50 +03:00
musb_virthub.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
musbhsdma.c usb: remove use of __devinit 2012-11-21 13:27:16 -08:00
musbhsdma.h usb: musb: remove generic_interrupt 2012-11-06 15:32:13 +02:00
omap2430.c usb: musb: omap2430: turn off vbus on cable disconnect 2013-04-02 11:42:44 +03:00
omap2430.h usb: start using the control module driver 2013-01-25 12:27:24 +02:00
tusb6010.c usb: otg: prefix otg_state_string with usb_ 2013-03-18 11:18:03 +02:00
tusb6010.h USB: musb: Remove my email address from few musb related drivers 2009-04-23 14:15:27 -07:00
tusb6010_omap.c ARM: arm-soc: power management and clock changes 2012-12-13 10:58:20 -08:00
ux500.c usb: phy: ab8500-usb: update irq handling code 2013-03-18 14:41:33 +02:00
ux500_dma.c usb: musb: ux500_dma: fix sparse warning 2013-03-27 13:19:00 +02:00