PATH:
usr
/
src
/
linux-headers-5.4.0-215
/
include
/
linux
/
usb
// SPDX-License-Identifier: GPL-2.0 /* * A simple GPIO VBUS sensing driver for B peripheral only devices * with internal transceivers. * Optionally D+ pullup can be controlled by a second GPIO. * * Copyright (c) 2008 Philipp Zabel <philipp.zabel@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ /** * struct gpio_vbus_mach_info - configuration for gpio_vbus * @gpio_vbus: VBUS sensing GPIO * @gpio_pullup: optional D+ or D- pullup GPIO (else negative/invalid) * @gpio_vbus_inverted: true if gpio_vbus is active low * @gpio_pullup_inverted: true if gpio_pullup is active low * @wakeup: configure gpio_vbus as a wake-up source * * The VBUS sensing GPIO should have a pulldown, which will normally be * part of a resistor ladder turning a 4.0V-5.25V level on VBUS into a * value the GPIO detects as active. Some systems will use comparators. */ struct gpio_vbus_mach_info { int gpio_vbus; int gpio_pullup; bool gpio_vbus_inverted; bool gpio_pullup_inverted; bool wakeup; };
[-] sl811.h
[edit]
[-] musb.h
[edit]
[-] ulpi.h
[edit]
[-] rndis_host.h
[edit]
[-] uas.h
[edit]
[-] musb-ux500.h
[edit]
[-] isp1301.h
[edit]
[-] r8a66597.h
[edit]
[-] hcd.h
[edit]
[-] audio-v3.h
[edit]
[-] iowarrior.h
[edit]
[-] otg.h
[edit]
[-] gadget.h
[edit]
[-] chipidea.h
[edit]
[-] pd_ado.h
[edit]
[-] isp1362.h
[edit]
[-] tcpm.h
[edit]
[-] typec_altmode.h
[edit]
[-] ccid.h
[edit]
[-] ehci-dbgp.h
[edit]
[-] typec_dp.h
[edit]
[-] quirks.h
[edit]
[-] usb338x.h
[edit]
[-] phy_companion.h
[edit]
[-] tegra_usb_phy.h
[edit]
[-] cdc.h
[edit]
[-] typec.h
[edit]
[-] cdc-wdm.h
[edit]
[-] otg-fsm.h
[edit]
[-] cdc_ncm.h
[edit]
[-] pd_ext_sdb.h
[edit]
[-] g_hid.h
[edit]
[-] pd.h
[edit]
[-] gadget_configfs.h
[edit]
[-] isp116x.h
[edit]
[-] irda.h
[edit]
[-] ch9.h
[edit]
[+]
..
[-] ezusb.h
[edit]
[-] m66592.h
[edit]
[-] input.h
[edit]
[-] audio-v2.h
[edit]
[-] ehci_def.h
[edit]
[-] ehci_pdriver.h
[edit]
[-] renesas_usbhs.h
[edit]
[-] audio.h
[edit]
[-] phy.h
[edit]
[-] functionfs.h
[edit]
[-] serial.h
[edit]
[-] usb_phy_generic.h
[edit]
[-] gpio_vbus.h
[edit]
[-] usbnet.h
[edit]
[-] composite.h
[edit]
[-] of.h
[edit]
[-] pd_bdo.h
[edit]
[-] net2280.h
[edit]
[-] ohci_pdriver.h
[edit]
[-] c67x00.h
[edit]
[-] pd_vdo.h
[edit]
[-] typec_mux.h
[edit]
[-] storage.h
[edit]
[-] role.h
[edit]
[-] xhci-dbgp.h
[edit]
[-] isp1760.h
[edit]