/freebsd-current/sys/dev/rccgpio/ |
H A D | rccgpio.c | 34 #include <sys/gpio.h> 41 #include <dev/gpio/gpiobusvar.h> 293 mtx_init(&sc->sc_mtx, "rcc-gpio", "gpio", MTX_DEF); 364 "gpio",
|
/freebsd-current/sys/dev/qcom_tlmm/ |
H A D | qcom_tlmm_ipq4018.c | 30 * This is a pinmux/gpio controller for the IPQ4018/IPQ4019. 43 #include <sys/gpio.h> 47 #include <dev/gpio/gpiobusvar.h> 268 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized")); 295 ("qcom_tlmm_ipq4018: Only one gpio module supported")); 336 /* Note: direct map between gpio pin and gpio_pin[] entry */ 339 "gpio%d", i); 386 "gpio",
|
H A D | qcom_tlmm_ipq4018_hw.c | 30 * This is a pinmux/gpio controller for the IPQ4018/IPQ4019. 43 #include <sys/gpio.h> 47 #include <dev/gpio/gpiobusvar.h>
|
H A D | qcom_tlmm_pinmux.c | 48 #include <sys/gpio.h> 52 #include <dev/gpio/gpiobusvar.h>
|
/freebsd-current/sys/arm/freescale/vybrid/ |
H A D | vf_gpio.c | 45 #include <sys/gpio.h> 47 #include <dev/gpio/gpiobusvar.h> 110 if (!ofw_bus_is_compatible(dev, "fsl,mvf600-gpio")) 376 "gpio",
|
/freebsd-current/sys/dev/gpio/ |
H A D | gpioregulator.c | 36 #include <sys/gpio.h> 41 #include <dev/gpio/gpiobusvar.h> 236 /* "enable-gpio" property (optional) */ 237 error = gpio_pin_get_by_ofw_property(sc->dev, node, "enable-gpio", 275 if (!ofw_bus_is_compatible(dev, "regulator-gpio"))
|
H A D | pl061.c | 38 #include <sys/gpio.h> 45 #include <dev/gpio/gpiobusvar.h> 489 device_printf(dev, "couldn't attach gpio bus\n"); 576 DEFINE_CLASS_0(gpio, pl061_driver, pl061_methods, sizeof(struct pl061_softc));
|
H A D | gpiospi.c | 40 #include <sys/gpio.h> 43 #include <dev/gpio/gpiobusvar.h>
|
H A D | chvgpio.c | 49 #include <sys/gpio.h> 65 #include <dev/gpio/gpiobusvar.h> 513 .name = "gpio",
|
/freebsd-current/sys/arm/allwinner/ |
H A D | a33_codec.c | 39 #include <sys/gpio.h> 47 #include <dev/gpio/gpiobusvar.h>
|
H A D | if_awg.c | 42 #include <sys/gpio.h> 1798 device_t gpio; local 1803 if (OF_getencprop(node, "allwinner,reset-gpio", gpio_prop, 1812 if ((gpio = OF_device_from_xref(gpio_prop[0])) == NULL) 1815 if (GPIO_MAP_GPIOS(gpio, node, gpio_node, nitems(gpio_prop) - 1, 1826 GPIO_PIN_SETFLAGS(gpio, pin, GPIO_PIN_OUTPUT); 1827 GPIO_PIN_SET(gpio, pin, pin_value); 1829 GPIO_PIN_SET(gpio, pin, !pin_value); 1831 GPIO_PIN_SET(gpio, pin, pin_value);
|
H A D | aw_usbphy.c | 36 #include <sys/gpio.h> 41 #include <dev/gpio/gpiobusvar.h> 521 /* aw_usbphy needs to come up after regulators/gpio/etc, but before ehci/ohci */
|
/freebsd-current/sys/arm64/rockchip/ |
H A D | rk3568_pcie.c | 39 #include <sys/gpio.h> 41 #include <dev/gpio/gpiobusvar.h>
|
/freebsd-current/sys/riscv/sifive/ |
H A D | fu740_pci_dw.c | 34 #include <sys/gpio.h> 45 #include <dev/gpio/gpiobusvar.h>
|
/freebsd-current/sys/dev/sdhci/ |
H A D | sdhci_fsl_fdt.c | 194 struct sdhci_fdt_gpio *gpio; member in struct:sdhci_fsl_fdt_softc 758 return (sdhci_fdt_gpio_get_readonly(sc->gpio)); 767 return (sdhci_fdt_gpio_get_present(sc->gpio)); 974 sc->gpio = sdhci_fdt_gpio_setup(dev, &sc->slot); 1001 sdhci_fdt_gpio_teardown(sc->gpio); 1019 if (sc->gpio != NULL) 1020 sdhci_fdt_gpio_teardown(sc->gpio);
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_mcp_api.h | 1142 * @param gpio - gpio number 1143 * @param gpio_val - value read from gpio 1149 u16 gpio, u32 *gpio_val); 1156 * @param gpio - gpio number 1157 * @param gpio_val - value to write to gpio 1163 u16 gpio, u16 gpio_val); 1170 * @param gpio - gpio numbe [all...] |
/freebsd-current/sys/dev/bhnd/cores/chipc/ |
H A D | chipc_gpio.c | 34 #include <sys/gpio.h> 44 #include <dev/gpio/gpiobusvar.h> 185 device_printf(dev, "failed to register gpio with bus: %d\n", 832 DEFINE_CLASS_0(gpio, chipc_gpio_driver, chipc_gpio_methods, sizeof(struct chipc_gpio_softc));
|
/freebsd-current/sys/dev/sound/pci/hda/ |
H A D | hdaa_patches.c | 55 uint32_t gpio; member in struct:__anon26 492 devinfo->gpio = hdac_quirks[i].gpio;
|
/freebsd-current/sys/dev/amdgpio/ |
H A D | amdgpio.c | 35 #include <sys/gpio.h> 52 #include <dev/gpio/gpiobusvar.h> 353 if (acpi_disabled("gpio")) 465 "gpio",
|
/freebsd-current/sys/arm/xilinx/ |
H A D | zy7_gpio.c | 39 * gpio framework doesn't seem to have hooks for this. 56 #include <sys/gpio.h> 62 #include <dev/gpio/gpiobusvar.h> 116 "gpio", MTX_DEF) 177 {"xlnx,zynqmp-gpio-1.0", (uintptr_t)&zynqmp_gpio_conf}, 492 "gpio",
|
/freebsd-current/sys/arm/nvidia/ |
H A D | as3722_gpio.c | 30 #include <sys/gpio.h> 38 #include <dev/gpio/gpiobusvar.h> 42 MALLOC_DEFINE(M_AS3722_GPIO, "AS3722 gpio", "AS3722 GPIO"); 96 {"gpio", AS3722_IOSF_GPIO}, 99 {"gpio-in-interrupt", AS3722_IOSF_GPIO_IN_INTERRUPT}, 554 sprintf(pin->pin_name, "gpio%d", i);
|
/freebsd-current/sys/dev/gpio/dwgpio/ |
H A D | dwgpio.c | 49 #include <sys/gpio.h> 52 #include <dev/gpio/gpiobusvar.h> 124 if (!ofw_bus_is_compatible(dev, "snps,dw-apb-gpio-port")) 414 "gpio",
|
/freebsd-current/sys/dev/regulator/ |
H A D | regulator_fixed.c | 33 #include <sys/gpio.h> 44 #include <dev/gpio/gpiobusvar.h> 375 device_printf(sc->dev, "Cannot map the gpio property.\n"); 409 if (OF_hasprop(node, "gpio-open-drain")) 412 if (!OF_hasprop(node, "gpio")) 414 rv = ofw_bus_parse_xref_list_alloc(node, "gpio", "#gpio-cells", 0, 418 device_printf(sc->dev, "Malformed gpio property\n");
|
/freebsd-current/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_stub_funcs.c | 270 ar9300_Stub_GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, argument 279 ar9300_Stub_GpioCfgInput(struct ath_hal *ah, uint32_t gpio) argument 287 ar9300_Stub_GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) argument 295 ar9300_Stub_GpioGet(struct ath_hal *ah, uint32_t gpio) argument
|
/freebsd-current/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212.h | 473 extern HAL_BOOL ar5212GpioCfgOutput(struct ath_hal *, uint32_t gpio, 475 extern HAL_BOOL ar5212GpioCfgInput(struct ath_hal *, uint32_t gpio); 476 extern HAL_BOOL ar5212GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val); 477 extern uint32_t ar5212GpioGet(struct ath_hal *ah, uint32_t gpio);
|