/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210.h | 220 extern HAL_BOOL ar5210GpioCfgInput(struct ath_hal *, uint32_t gpio); 221 extern HAL_BOOL ar5210GpioCfgOutput(struct ath_hal *, uint32_t gpio, 223 extern uint32_t ar5210GpioGet(struct ath_hal *, uint32_t gpio); 224 extern HAL_BOOL ar5210GpioSet(struct ath_hal *, uint32_t gpio, uint32_t);
|
/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211.h | 243 extern uint32_t ar5211GpioGet(struct ath_hal *, uint32_t gpio); 245 extern HAL_BOOL ar5211GpioCfgOutput(struct ath_hal *, uint32_t gpio, 247 extern HAL_BOOL ar5211GpioCfgInput(struct ath_hal *, uint32_t gpio); 248 extern HAL_BOOL ar5211GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val);
|
/freebsd-11.0-release/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_stub_funcs.h | 48 extern HAL_BOOL ar9300_Stub_GpioCfgOutput(struct ath_hal *, uint32_t gpio, 50 extern HAL_BOOL ar9300_Stub_GpioCfgInput(struct ath_hal *, uint32_t gpio); 51 extern HAL_BOOL ar9300_Stub_GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val); 52 extern uint32_t ar9300_Stub_GpioGet(struct ath_hal *ah, uint32_t gpio);
|
/freebsd-11.0-release/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_spi.c | 248 device_t gpio; local 260 gpio = devclass_get_device(devclass_find("gpio"), 0); 261 if (!gpio) { 266 bcm_gpio_set_alternate(gpio, bcm_spi_pins[i], BCM_GPIO_ALT0);
|
H A D | bcm2835_gpio.c | 36 #include <sys/gpio.h> 49 #include <dev/gpio/gpiobusvar.h> 672 phandle_t gpio, node, reserved; local 676 gpio = ofw_bus_get_node(sc->sc_dev); 677 if (bcm_gpio_get_ro_pins(sc, gpio, "broadcom,read-only", 682 node = OF_child(gpio); 745 if (!ofw_bus_is_compatible(dev, "broadcom,bcm2835-gpio")) 833 phandle_t gpio; local 842 mtx_init(&sc->sc_mtx, "bcm gpio", "gpio", MTX_SPI [all...] |
/freebsd-11.0-release/sys/dev/drm2/radeon/ |
H A D | rs600.c | 170 if ((voltage->type == VOLTAGE_GPIO) && (voltage->gpio.valid)) { 172 tmp = RREG32(voltage->gpio.reg); 174 tmp |= voltage->gpio.mask; 176 tmp &= ~(voltage->gpio.mask); 177 WREG32(voltage->gpio.reg, tmp); 181 tmp = RREG32(voltage->gpio.reg); 183 tmp &= ~voltage->gpio.mask; 185 tmp |= voltage->gpio.mask; 186 WREG32(voltage->gpio.reg, tmp);
|
/freebsd-11.0-release/sys/dev/ow/ |
H A D | owc_gpiobus.c | 35 #include <sys/gpio.h> 48 #include <dev/gpio/gpiobusvar.h> 91 if (!fdt_is_compatible_strict(w1, "w1-gpio")) 107 if (ofw_bus_is_compatible(dev, "w1-gpio")) {
|
/freebsd-11.0-release/sys/dev/gpio/ |
H A D | gpioiic.c | 29 __FBSDID("$FreeBSD: releng/11.0/sys/dev/gpio/gpioiic.c 300393 2016-05-22 04:02:34Z loos $"); 36 #include <sys/gpio.h> 45 #include <dev/gpio/gpiobusvar.h> 146 * Must always be called with gpio bus locked.
|
H A D | gpiopps.c | 28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/gpio/gpiopps.c 300811 2016-05-26 23:56:12Z ian $"); 31 #include <sys/gpio.h> 39 #include <dev/gpio/gpiobusvar.h> 47 {"pps-gpio", 1}, 204 * Look up the configured gpio pin and ensure it can be configured for 209 device_printf(dev, "Cannot obtain gpio pin\n"); 216 device_printf(dev, "Cannot query capabilities of gpio pin\n");
|
/freebsd-11.0-release/sys/dev/sound/pci/hda/ |
H A D | hdaa.h | 199 uint32_t gpio; member in struct:hdaa_devinfo 269 uint32_t hdaa_gpio_patch(uint32_t gpio, const char *str);
|
H A D | hdaa_patches.c | 52 uint32_t gpio; member in struct:__anon11675 500 devinfo->gpio = hdac_quirks[i].gpio;
|
/freebsd-11.0-release/sys/arm/amlogic/aml8726/ |
H A D | aml8726_gpio.c | 48 #include <sys/gpio.h> 56 #include <dev/gpio/gpiobusvar.h> 80 "gpio", MTX_DEF) 97 if (!ofw_bus_is_compatible(dev, "amlogic,aml8726-gpio")) 364 "gpio",
|
/freebsd-11.0-release/sys/powerpc/mpc85xx/ |
H A D | mpc85xx_gpio.c | 43 #include <sys/gpio.h> 50 #include <dev/gpio/gpiobusvar.h> 64 "gpio", MTX_DEF) 188 if (!ofw_bus_is_compatible(dev, "gpio")) 299 "gpio",
|
H A D | qoriq_gpio.c | 40 #include <sys/gpio.h> 46 #include <dev/gpio/gpiobusvar.h> 60 "gpio", MTX_DEF) 222 if (!ofw_bus_is_compatible(dev, "fsl,qoriq-gpio") && 223 !ofw_bus_is_compatible(dev, "fsl,mpc8572-gpio")) 302 "gpio",
|
/freebsd-11.0-release/sys/arm/rockchip/ |
H A D | rk30xx_gpio.c | 41 #include <sys/gpio.h> 50 #include <dev/gpio/gpiobusvar.h> 60 * RK3188 has 4 banks of gpio. 104 { "rockchip,rk30xx-gpio", &rk30_gpios_prop_handle }, 105 { "rockchip,rk30xx-gpio", &rk30_gpios_prop_handle }, 106 { "rockchip,rk30xx-gpio", &rk30_gpios_prop_handle }, 107 { "rockchip,rk30xx-gpio", &rk30_gpios_prop_handle }, 395 if (!ofw_bus_is_compatible(dev, "rockchip,rk30xx-gpio")) 407 phandle_t gpio; local 413 mtx_init(&sc->sc_mtx, "rk30 gpio", "gpi [all...] |
/freebsd-11.0-release/sys/arm/allwinner/ |
H A D | a10_gpio.c | 41 #include <sys/gpio.h> 51 #include <dev/gpio/gpiobusvar.h> 562 phandle_t gpio; local 570 mtx_init(&sc->sc_mtx, "a10 gpio", "gpio", MTX_SPIN); 592 gpio = ofw_bus_get_node(sc->sc_dev); 593 if (!OF_hasprop(gpio, "gpio-controller")) 663 /* The GPIO pins are mapped as: <gpio-phandle bank pin flags>. */ 705 "gpio", [all...] |
/freebsd-11.0-release/sys/mips/cavium/ |
H A D | octeon_gpio.c | 44 #include <sys/gpio.h> 50 #include <contrib/octeon-sdk/cvmx-gpio.h> 54 #include <dev/gpio/gpiobusvar.h> 367 BUS_ADD_CHILD(parent, 0, "gpio", 0); 388 ("octeon_gpio: Only one gpio module supported")); 464 KASSERT(mtx_initialized(&sc->gpio_mtx), ("gpio mutex not initialized")); 500 "gpio",
|
/freebsd-11.0-release/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416.h | 229 extern HAL_BOOL ar5416GpioCfgOutput(struct ath_hal *, uint32_t gpio, 231 extern HAL_BOOL ar5416GpioCfgInput(struct ath_hal *, uint32_t gpio); 232 extern HAL_BOOL ar5416GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val); 233 extern uint32_t ar5416GpioGet(struct ath_hal *ah, uint32_t gpio);
|
/freebsd-11.0-release/sys/arm/samsung/exynos/ |
H A D | chrome_ec_spi.c | 44 #include <sys/gpio.h> 75 sc->dev_gpio = devclass_get_device(devclass_find("gpio"), 0);
|
/freebsd-11.0-release/sys/dev/dwc/ |
H A D | if_dwc.c | 45 #include <sys/gpio.h> 1043 device_t gpio; local 1048 if (OF_getencprop(node, "snps,reset-gpio", 1060 if ((gpio = OF_device_from_xref(gpio_prop[0])) == NULL) { 1062 "Can't find gpio controller for phy reset\n"); 1066 if (GPIO_MAP_GPIOS(gpio, node, gpio_node, 1069 device_printf(dev, "Can't map gpio for phy reset\n"); 1080 GPIO_PIN_SETFLAGS(gpio, pin, GPIO_PIN_OUTPUT); 1081 GPIO_PIN_SET(gpio, pin, pin_value); 1083 GPIO_PIN_SET(gpio, pi [all...] |
/freebsd-11.0-release/sys/dev/extres/regulator/ |
H A D | regulator_fixed.c | 33 #include <sys/gpio.h> 45 #include <dev/gpio/gpiobusvar.h> 318 device_printf(sc->dev, "Cannot map the gpio property.\n"); 348 if (OF_hasprop(node, "gpio-open-drain")) 351 if (!OF_hasprop(node, "gpio")) 353 rv = ofw_bus_parse_xref_list_alloc(node, "gpio", "#gpio-cells", 0, 357 device_printf(sc->dev, "Malformed gpio property\n");
|
/freebsd-11.0-release/sys/dev/rccgpio/ |
H A D | rccgpio.c | 36 #include <sys/gpio.h> 43 #include <dev/gpio/gpiobusvar.h> 295 mtx_init(&sc->sc_mtx, "rcc-gpio", "gpio", MTX_DEF); 368 "gpio",
|
/freebsd-11.0-release/sys/arm/xilinx/ |
H A D | zy7_gpio.c | 39 * gpio framework doesn't seem to have hooks for this. 59 #include <sys/gpio.h> 66 #include <dev/gpio/gpiobusvar.h> 87 "gpio", MTX_DEF) 391 "gpio",
|
/freebsd-11.0-release/sys/arm/xscale/ixp425/ |
H A D | avila_gpio.c | 46 #include <sys/gpio.h> 52 #include <dev/gpio/gpiobusvar.h> 362 "gpio",
|
/freebsd-11.0-release/sys/arm/freescale/vybrid/ |
H A D | vf_gpio.c | 46 #include <sys/gpio.h> 49 #include <dev/gpio/gpiobusvar.h> 112 if (!ofw_bus_is_compatible(dev, "fsl,mvf600-gpio")) 380 "gpio",
|