linux/drivers/usb/host
Niklas Schnelle dc54ce3e60 usb: uhci: handle HAS_IOPORT dependencies
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. We thus need to guard sections of code calling them
as alternative access methods with CONFIG_HAS_IOPORT checks. For
uhci-hcd there are a lot of I/O port uses that do have MMIO alternatives
all selected by uhci_has_pci_registers() so this can be handled by
UHCI_IN/OUT macros and making uhci_has_pci_registers() constant 0 if
CONFIG_HAS_IOPORT is unset.

Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20230522105049.1467313-38-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-29 15:29:03 +01:00
..
bcma-hcd.c USB: bcma: Make GPIO explicitly optional 2022-11-08 16:39:56 +01:00
ehci-atmel.c usb: ehci-atmel: Convert to platform remove callback returning void 2023-05-28 12:36:27 +01:00
ehci-brcm.c usb: ehci-brcm: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-dbg.c usb: host: {e|o}hci-dbg: kill useless 'ret' variable initializers 2022-02-15 15:11:20 +01:00
ehci-exynos.c usb: ehci-exynos: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-fsl.c usb: ehci-fsl: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-fsl.h
ehci-grlib.c usb: ehci-grlib: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-hcd.c usb: reduce kernel log spam on driver registration 2022-08-31 09:07:53 +02:00
ehci-hub.c
ehci-mem.c
ehci-mv.c usb: ehci-mv: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-npcm7xx.c usb: ehci-npcm7xx: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-omap.c usb: ehci-omap: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-orion.c usb: ehci-orion: Convert to platform remove callback returning void 2023-05-28 12:36:28 +01:00
ehci-pci.c USB: Extend pci resume function to handle PM events 2023-05-13 17:33:18 +09:00
ehci-platform.c usb: ehci-platform: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
ehci-ppc-of.c usb: ehci-ppc-of: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
ehci-ps3.c
ehci-q.c usb: ehci: Use endpoint in URB to get maxpacket 2022-08-31 09:07:53 +02:00
ehci-sched.c
ehci-sh.c usb: ehci-sh: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
ehci-spear.c usb: ehci-spear: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
ehci-st.c usb: ehci-st: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
ehci-sysfs.c
ehci-timer.c
ehci-xilinx-of.c usb: ehci-xilinx-of: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
ehci.h usb: host: fix a typo in ehci.h 2022-11-29 08:56:09 +01:00
fhci-dbg.c
fhci-hcd.c USB/Thunderbolt driver changes for 6.2-rc1 2022-12-16 03:22:53 -08:00
fhci-hub.c USB: FHCI: Switch to GPIO descriptors 2022-09-01 16:08:29 +02:00
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h USB: FHCI: Switch to GPIO descriptors 2022-09-01 16:08:29 +02:00
fsl-mph-dr-of.c usb: fsl-mph-dr-of: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
isp116x-hcd.c usb: isp116x-hcd: Convert to platform remove callback returning void 2023-05-28 12:36:29 +01:00
isp116x.h
isp1362-hcd.c usb: isp1362-hcd: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
isp1362.h
Kconfig usb: add HAS_IOPORT dependencies 2023-05-29 15:28:34 +01:00
Makefile usb: host: u132-hcd: Delete driver 2023-03-21 14:06:11 +01:00
max3421-hcd.c usb: host: max3421-hcd: drop of_match_ptr for ID table 2023-03-16 12:15:23 +01:00
octeon-hcd.c usb: octeon-hcd: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
octeon-hcd.h staging: octeon-usb: move driver out of staging 2022-06-21 16:43:37 +02:00
ohci-at91.c usb: ohci-at91: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
ohci-da8xx.c usb: ohci-da8xx: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
ohci-dbg.c usb: host: {e|o}hci-dbg: kill useless 'ret' variable initializers 2022-02-15 15:11:20 +01:00
ohci-exynos.c usb: ohci-exynos: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
ohci-hcd.c usb: remove ohci-tmio driver 2023-02-01 17:23:38 +01:00
ohci-hub.c
ohci-mem.c
ohci-nxp.c usb: ohci-nxp: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
ohci-omap.c usb: ohci-omap: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
ohci-pci.c USB: Extend pci resume function to handle PM events 2023-05-13 17:33:18 +09:00
ohci-platform.c usb: ohci-platform: Convert to platform remove callback returning void 2023-05-28 12:36:30 +01:00
ohci-ppc-of.c usb: ohci-ppc-of: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
ohci-ps3.c
ohci-pxa27x.c usb: ohci-pxa27x: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
ohci-q.c
ohci-s3c2410.c usb: ohci-s3c2410: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
ohci-sa1111.c ARM: sa1100: remove unused board files 2023-01-12 10:53:12 +01:00
ohci-sm501.c usb: ohci-sm501: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
ohci-spear.c usb: ohci-spear: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
ohci-st.c usb: ohci-st: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
ohci.h
oxu210hp-hcd.c usb: oxu210hp-hcd: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
pci-quirks.c usb: pci-quirks: Reduce the length of a spinlock section in usb_amd_find_chipset_info() 2023-03-29 09:02:19 +02:00
pci-quirks.h
r8a66597-hcd.c usb: r8a66597-hcd: Convert to platform remove callback returning void 2023-05-28 12:36:31 +01:00
r8a66597.h
sl811_cs.c
sl811-hcd.c usb: sl811-hcd: Convert to platform remove callback returning void 2023-05-28 12:36:32 +01:00
sl811.h
ssb-hcd.c
uhci-debug.c
uhci-grlib.c usb: uhci-grlib: Convert to platform remove callback returning void 2023-05-28 12:36:32 +01:00
uhci-hcd.c usb: uhci: handle HAS_IOPORT dependencies 2023-05-29 15:29:03 +01:00
uhci-hcd.h usb: uhci: handle HAS_IOPORT dependencies 2023-05-29 15:29:03 +01:00
uhci-hub.c
uhci-pci.c Merge 6.4-rc4 into usb-next 2023-05-28 15:25:53 +01:00
uhci-platform.c usb: uhci-platform: Convert to platform remove callback returning void 2023-05-28 12:36:32 +01:00
uhci-q.c
xen-hcd.c xen: make remove callback of xen driver void returned 2022-12-15 16:06:10 +01:00
xhci-dbg.c
xhci-dbgcap.c xhci: dbc: Provide sysfs option to configure dbc descriptors 2023-03-23 17:25:22 +01:00
xhci-dbgcap.h xhci: dbc: Provide sysfs option to configure dbc descriptors 2023-03-23 17:25:22 +01:00
xhci-dbgtty.c xhci: dbgtty: use IDR to support several dbc instances. 2022-02-17 16:20:45 +01:00
xhci-debugfs.c xhci: fix debugfs register accesses while suspended 2023-04-20 10:13:06 +02:00
xhci-debugfs.h
xhci-ext-caps.c
xhci-ext-caps.h
xhci-histb.c USB: Extend pci resume function to handle PM events 2023-05-13 17:33:18 +09:00
xhci-hub.c xhci: decouple usb2 port resume and get_port_status request handling 2023-02-02 16:44:42 +01:00
xhci-mem.c xhci: mem: Join string literals back 2023-03-23 17:25:22 +01:00
xhci-mtk-sch.c usb: xhci-mtk: fix bandwidth release issue 2022-08-19 10:39:08 +02:00
xhci-mtk.c usb: xhci-mtk: add optional frame count clock 2023-04-20 10:13:39 +02:00
xhci-mtk.h usb: xhci-mtk: add optional frame count clock 2023-04-20 10:13:39 +02:00
xhci-mvebu.c usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math 2023-02-06 13:46:42 +01:00
xhci-mvebu.h Revert "usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720" 2022-02-25 19:12:21 +05:30
xhci-pci-renesas.c usb: renesas-xhci: Do not print any log while fw verif success 2022-07-27 14:37:48 +02:00
xhci-pci.c Merge 6.4-rc4 into usb-next 2023-05-28 15:25:53 +01:00
xhci-pci.h
xhci-plat.c usb: xhci: plat: remove error log for failure to get usb-phy 2023-05-13 18:05:43 +09:00
xhci-plat.h xhci: split out rcar/rz support from xhci-plat.c 2023-02-02 11:12:59 +01:00
xhci-rcar.c usb: host: xhci-rcar: drop of_match_ptr for ID table 2023-03-16 12:15:22 +01:00
xhci-ring.c xhci: Fix incorrect tracking of free space on transfer rings 2023-05-16 16:57:49 +02:00
xhci-rzv2m.c xhci: host: Add Renesas RZ/V2M SoC support 2023-01-25 15:48:17 +01:00
xhci-rzv2m.h xhci: host: Add Renesas RZ/V2M SoC support 2023-01-25 15:48:17 +01:00
xhci-tegra.c usb: xhci: tegra: enable stream protocol support 2023-05-13 18:05:53 +09:00
xhci-trace.c xhci: Move functions to setup msi to xhci-pci 2023-03-23 17:25:22 +01:00
xhci-trace.h usb: xhci: change some trace event __dynamic_array() to __get_buf() 2023-03-09 15:35:03 +01:00
xhci.c xhci: Improve the XHCI system resume time 2023-05-13 17:33:18 +09:00
xhci.h Merge 6.4-rc4 into usb-next 2023-05-28 15:25:53 +01:00