linux-xiaomi-chiron/include/linux/usb
Yoshihiro Shimoda 60e7396f82 usb: gadget: add a new quirk to avoid skb_reserve in u_ether.c
Some platforms (e.g. USB-DMAC on R-Car SoCs) has memory alignment
restriction. If memory alignment is not match, the usb peripheral
driver decides not to use the DMA controller. Then, the performance
is not good.

In the case of u_ether.c, since it calls skb_reserve() in rx_submit(),
it is possible to cause memory alignment mismatch.

So, this patch adds a new quirk "quirk_avoids_skb_reserve" to avoid
skb_reserve() calling in u_ether.c to improve performance.

A peripheral driver will set this flag and network gadget drivers
(e.g. f_ncm.c) will reference the flag via gadget_avoids_skb_reserve().

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-08-31 10:06:03 +03:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h USB: add Cypress c67x00 OTG controller core driver 2008-05-02 10:25:56 -07:00
cdc-wdm.h USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND 2013-03-25 13:32:20 -07:00
cdc.h cdc: add header guards 2015-09-15 21:53:24 -07:00
cdc_ncm.h net: cdc_ncm: avoid changing RX/TX buffers on MTU changes 2015-12-23 22:52:08 -05:00
ch9.h usb: common: of_usb_get_maximum_speed to usb_get_maximum_speed 2015-09-27 10:54:31 -05:00
chipidea.h usb: chipidea: Add support for 'phy-clkgate-delay-us' property 2015-10-22 09:24:25 +08:00
composite.h usb: gadget: composite: let USB functions process ctrl reqs in cfg0 2016-08-25 12:13:17 +03:00
ehci-dbgp.h usb: Remove __init from early_dbgp_init() prototype 2014-11-07 09:02:38 -08:00
ehci_def.h USB: EHCI: declare hostpc register as zero-length array 2016-06-24 17:03:12 -07:00
ehci_pdriver.h USB: host: Introduce flag to enable use of 64-bit dma_mask for ehci-platform 2015-01-25 20:48:28 +08:00
ezusb.h USB: ezusb: unexport some functions that aren't being used 2012-10-24 14:19:16 -07:00
functionfs.h usb: gadget: FunctionFS: Remove compatibility layer 2013-12-12 13:43:40 -06:00
g_hid.h
gadget.h usb: gadget: add a new quirk to avoid skb_reserve in u_ether.c 2016-08-31 10:06:03 +03:00
gadget_configfs.h usb-gadget: use per-attribute show and store methods 2015-10-13 22:12:57 -07:00
gpio_vbus.h USB: gpio_vbus: wakeup support on GPIO VBUS interrupts 2012-05-17 11:20:34 -07:00
hcd.h usb: core: hub: hub_port_init lock controller instead of bus 2016-04-28 12:40:46 -07:00
input.h
iowarrior.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
irda.h usb: irda: cleanup on ir-usb module 2008-07-21 15:16:27 -07:00
isp116x.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
isp1301.h USB: Add driver for NXP ISP1301 USB transceiver 2012-05-01 13:33:02 -04:00
isp1362.h
isp1760.h
m66592.h
msm_hsusb_hw.h usb: host: ehci-msm: Allow LS devices to work 2016-01-24 20:51:18 -08:00
musb-ux500.h usb: phy: ab8500-usb: update irq handling code 2013-03-18 14:41:33 +02:00
musb.h usb: musb: Return error value from musb_mailbox 2016-06-01 14:58:59 -07:00
net2280.h usb: gadget: net2280: check interrupts for all endpoints 2015-05-26 10:40:11 -05:00
of.h USB: Fix of_usb_get_dr_mode_by_phy with a shared phy block 2016-06-21 10:52:39 +03:00
ohci_pdriver.h USB: ohci: allow platform driver to specify the number of ports 2012-10-22 11:23:59 -07:00
otg-fsm.h usb: otg-fsm: support multiple instances 2016-04-06 17:15:03 +08:00
otg.h usb: common: of_usb_get_dr_mode to usb_get_dr_mode 2015-09-27 10:54:31 -05:00
phy.h usb: phy: change some comments 2015-09-27 10:54:31 -05:00
phy_companion.h usb: phy: add a new driver for omap usb2 phy 2012-09-06 20:14:53 +03:00
quirks.h USB: add quirk for devices with broken LPM 2015-12-11 15:40:51 -08:00
r8a66597.h usb: gadget: r8a66597-udc: add support for SUDMAC 2011-10-13 20:38:39 +03:00
renesas_usbhs.h usb: renesas_usbhs: add R-Car Gen3 power control 2016-03-04 15:14:28 +02:00
rndis_host.h
samsung_usb_phy.h ARM: EXYNOS: Update & move usb-phy types to generic include layer 2013-01-23 13:39:07 +02:00
serial.h Revert "USB: serial: make bulk_out_size a lower limit" 2015-02-26 17:02:15 +01:00
sl811.h USB: Standardize inclusion protection and add where missing. 2008-04-24 21:16:42 -07:00
storage.h usb/storage: misc fixes to comments in include/linux/usb/storage.h 2016-02-03 13:48:12 -08:00
tegra_usb_phy.h usb: phy: tegra: Program new PHY parameters 2013-08-12 13:29:52 -05:00
tilegx.h
uas.h uas: Pack iu struct definitions 2014-03-04 15:38:11 -08:00
ulpi.h usb: add bus type for USB ULPI 2015-05-13 12:04:55 -05:00
usb338x.h usb: gadget: net2280: fix use of GPEP in both directions 2015-05-26 10:40:16 -05:00
usb_phy_generic.h usb: phy: generic: add vbus support 2015-01-12 12:13:29 -06:00
usbnet.h usbnet: Fix tx_bytes statistic running backward in cdc_ncm 2015-03-29 12:06:45 -07:00
wusb-wa.h usb: wusbcore: preserve endianness of cached descriptors 2013-10-19 05:19:21 -07:00
wusb.h usb: wusbcore: fix deadlock in wusbhc_gtk_rekey 2013-12-02 15:21:04 -08:00