OrangePi_CM5/include/linux/usb
Christoph Hellwig edfbcb321f usb: add a hcd_uses_dma helper
The USB buffer allocation code is the only place in the usb core (and in
fact the whole kernel) that uses is_device_dma_capable, while the URB
mapping code uses the uses_dma flag in struct usb_bus.  Switch the buffer
allocation to use the uses_dma flag used by the rest of the USB code,
and create a helper in hcd.h that checks this flag as well as the
CONFIG_HAS_DMA to simplify the caller a bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20190811080520.21712-3-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-15 15:18:05 +02:00
..
association.h
…
audio-v2.h
…
audio-v3.h
…
audio.h
…
c67x00.h
…
ccid.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
cdc-wdm.h
…
cdc.h
…
cdc_ncm.h
…
ch9.h usb: introduce usb_ep_type_string() function 2019-05-03 09:13:48 +03:00
chipidea.h usb: chipidea: imx: add imx7ulp support 2019-06-14 17:39:43 +08:00
composite.h
…
ehci-dbgp.h
…
ehci_def.h
…
ehci_pdriver.h
…
ezusb.h
…
functionfs.h
…
g_hid.h
…
gadget.h Revert "usb:gadget Separated decoding functions from dwc3 driver." 2019-07-04 13:02:09 +02:00
gadget_configfs.h
…
gpio_vbus.h
…
hcd.h usb: add a hcd_uses_dma helper 2019-08-15 15:18:05 +02:00
input.h
…
iowarrior.h
…
irda.h
…
isp116x.h
…
isp1301.h
…
isp1362.h
…
isp1760.h
…
m66592.h
…
musb-ux500.h
…
musb.h
…
net2280.h
…
of.h
…
ohci_pdriver.h
…
otg-fsm.h
…
otg.h
…
pd.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
pd_ado.h
…
pd_bdo.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
pd_ext_sdb.h
…
pd_vdo.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
phy.h
…
phy_companion.h
…
quirks.h
…
r8a66597.h
…
renesas_usbhs.h usb: renesas_usbhs: Add has_new_pipe_configs flag 2019-06-26 10:33:08 +08:00
rndis_host.h
…
role.h usb: roles: Find the muxes by also matching against the device node 2019-02-14 10:52:25 +01:00
samsung_usb_phy.h
…
serial.h USB: serial: drop unused iflag macro 2019-04-30 10:26:32 +02:00
sl811.h
…
storage.h
…
tcpm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
tegra_usb_phy.h
…
typec.h
…
typec_altmode.h
…
typec_dp.h usb: typec: Add driver for NVIDIA Alt Modes 2019-04-25 11:04:56 +02:00
typec_mux.h usb: typec: Registering real device entries for the muxes 2019-06-03 10:55:38 +02:00
uas.h
…
ulpi.h
…
usb338x.h
…
usb_phy_generic.h
…
usbnet.h
…
wusb-wa.h
…
wusb.h wusb: Remove unnecessary static function ckhdid_printf 2019-03-01 20:53:41 +01:00
xhci-dbgp.h
…