Searched refs:gpio (Results 101 - 125 of 184) sorted by relevance

12345678

/freebsd-current/sys/dev/rccgpio/
H A Drccgpio.c34 #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 Dqcom_tlmm_ipq4018.c30 * 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 Dqcom_tlmm_ipq4018_hw.c30 * This is a pinmux/gpio controller for the IPQ4018/IPQ4019.
43 #include <sys/gpio.h>
47 #include <dev/gpio/gpiobusvar.h>
H A Dqcom_tlmm_pinmux.c48 #include <sys/gpio.h>
52 #include <dev/gpio/gpiobusvar.h>
/freebsd-current/sys/arm/freescale/vybrid/
H A Dvf_gpio.c45 #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 Dgpioregulator.c36 #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 Dpl061.c38 #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 Dgpiospi.c40 #include <sys/gpio.h>
43 #include <dev/gpio/gpiobusvar.h>
H A Dchvgpio.c49 #include <sys/gpio.h>
65 #include <dev/gpio/gpiobusvar.h>
513 .name = "gpio",
/freebsd-current/sys/arm/allwinner/
H A Da33_codec.c39 #include <sys/gpio.h>
47 #include <dev/gpio/gpiobusvar.h>
H A Dif_awg.c42 #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 Daw_usbphy.c36 #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 Drk3568_pcie.c39 #include <sys/gpio.h>
41 #include <dev/gpio/gpiobusvar.h>
/freebsd-current/sys/riscv/sifive/
H A Dfu740_pci_dw.c34 #include <sys/gpio.h>
45 #include <dev/gpio/gpiobusvar.h>
/freebsd-current/sys/dev/sdhci/
H A Dsdhci_fsl_fdt.c194 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 Decore_mcp_api.h1142 * @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 Dchipc_gpio.c34 #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 Dhdaa_patches.c55 uint32_t gpio; member in struct:__anon26
492 devinfo->gpio = hdac_quirks[i].gpio;
/freebsd-current/sys/dev/amdgpio/
H A Damdgpio.c35 #include <sys/gpio.h>
52 #include <dev/gpio/gpiobusvar.h>
353 if (acpi_disabled("gpio"))
465 "gpio",
/freebsd-current/sys/arm/xilinx/
H A Dzy7_gpio.c39 * 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 Das3722_gpio.c30 #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 Ddwgpio.c49 #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 Dregulator_fixed.c33 #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 Dar9300_stub_funcs.c270 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 Dar5212.h473 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);

Completed in 321 milliseconds

12345678