linux-uconsole/include/linux/usb
Felipe F. Tonello 01de6f0d94 usb: gadget: fix usb_ep_align_maybe endianness and new usb_ep_align
commit 16b114a6d7 upstream.

USB spec specifies wMaxPacketSize to be little endian (as other properties),
so when using this variable in the driver we should convert to the current
CPU endianness if necessary.

This patch also introduces usb_ep_align() which does always returns the
aligned buffer size for an endpoint. This is useful to be used by USB requests
allocator functions.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-08 11:51:56 +02:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc-wdm.h
cdc.h
cdc_ncm.h cdc_ncm: Set NTB format again after altsetting switch for Huawei devices 2017-11-15 17:13:11 +01:00
ch9.h
chipidea.h usb: chipidea: Handle extcon events properly 2017-05-14 13:32:56 +02:00
composite.h
ehci-dbgp.h
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: fix usb_ep_align_maybe endianness and new usb_ep_align 2018-04-08 11:51:56 +02:00
gadget_configfs.h
gpio_vbus.h
hcd.h usb: Fix typo in the definition of Endpoint[out]Request 2017-07-15 11:57:45 +02:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb.h
msm_hsusb_hw.h
musb-omap.h
musb-ux500.h
musb.h
net2280.h
of.h
ohci_pdriver.h
otg-fsm.h
otg.h
phy.h
phy_companion.h
quirks.h usb: quirks: add control message delay for 1b1c:1b20 2018-03-18 11:17:53 +01:00
r8a66597.h
renesas_usbhs.h
rndis_host.h
samsung_usb_phy.h
serial.h
sl811.h
storage.h
tegra_usb_phy.h
tilegx.h
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h
wusb-wa.h
wusb.h
xhci_pdriver.h