/src/sys/external/bsd/drm2/dist/drm/amd/display/include/ |
gpio_interface.h | 34 struct gpio; 38 struct gpio *gpio, 42 struct gpio *gpio, 47 const struct gpio *gpio, 52 const struct gpio *gpio, 57 const struct gpio *gpio) [all...] |
gpio_service_interface.h | 33 #include "hw/gpio.h" 37 struct gpio *dal_gpio_create( 44 struct gpio **ptr); 51 struct gpio *dal_gpio_service_create_irq( 56 struct gpio *dal_gpio_service_create_generic_mux( 62 struct gpio **mux); 65 struct gpio *mux, 86 const struct gpio *irq); 89 const struct gpio *irq); 92 struct gpio *irq [all...] |
/src/lib/lua/gpio/ |
Makefile | 3 LUA_MODULES= gpio 4 LUA_SRCS.gpio= gpio.c
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
stm32f429-pinctrl.dtsi | 48 gpioa: gpio@40020000 { 49 gpio-ranges = <&pinctrl 0 0 16>; 52 gpiob: gpio@40020400 { 53 gpio-ranges = <&pinctrl 0 16 16>; 56 gpioc: gpio@40020800 { 57 gpio-ranges = <&pinctrl 0 32 16>; 60 gpiod: gpio@40020c00 { 61 gpio-ranges = <&pinctrl 0 48 16>; 64 gpioe: gpio@40021000 { 65 gpio-ranges = <&pinctrl 0 64 16> [all...] |
stm32f469-pinctrl.dtsi | 48 gpioa: gpio@40020000 { 49 gpio-ranges = <&pinctrl 0 0 16>; 52 gpiob: gpio@40020400 { 53 gpio-ranges = <&pinctrl 0 16 16>; 56 gpioc: gpio@40020800 { 57 gpio-ranges = <&pinctrl 0 32 16>; 60 gpiod: gpio@40020c00 { 61 gpio-ranges = <&pinctrl 0 48 16>; 64 gpioe: gpio@40021000 { 65 gpio-ranges = <&pinctrl 0 64 16> [all...] |
stm32mp15xxac-pinctrl.dtsi | 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; 34 gpioe: gpio@50006000 { 37 gpio-ranges = <&pinctrl 0 64 16> [all...] |
stm32mp15xxaa-pinctrl.dtsi | 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; 34 gpioe: gpio@50006000 { 37 gpio-ranges = <&pinctrl 0 64 16> [all...] |
stm32mp15xxab-pinctrl.dtsi | 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; 34 gpioe: gpio@50006000 { 37 gpio-ranges = <&pinctrl 0 64 16> [all...] |
stm32mp15xxad-pinctrl.dtsi | 10 gpioa: gpio@50002000 { 13 gpio-ranges = <&pinctrl 0 0 16>; 16 gpiob: gpio@50003000 { 19 gpio-ranges = <&pinctrl 0 16 16>; 22 gpioc: gpio@50004000 { 25 gpio-ranges = <&pinctrl 0 32 16>; 28 gpiod: gpio@50005000 { 31 gpio-ranges = <&pinctrl 0 48 16>; 34 gpioe: gpio@50006000 { 37 gpio-ranges = <&pinctrl 0 64 16> [all...] |
aspeed-bmc-opp-swift.dts | 4 #include <dt-bindings/gpio/aspeed-gpio.h> 38 gpio-keys { 39 compatible = "gpio-keys"; 43 gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; 49 gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; 55 gpios = <&gpio ASPEED_GPIO(R, 7) GPIO_ACTIVE_LOW>; 61 gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; 67 gpios = <&gpio ASPEED_GPIO(A, 7) GPIO_ACTIVE_LOW>; 73 gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW> [all...] |
/src/share/man/man3lua/ |
Makefile | 3 MAN= bozohttpd.3lua gpio.3lua intro.3lua libm.3lua netpgp.3lua \ 6 MLINKS+=gpio.3lua gpio.open.3lua \ 7 gpio.3lua gpio.info.3lua \ 8 gpio.3lua gpio.close.3lua \ 9 gpio.3lua gpio.set.3lua \ 10 gpio.3lua gpio.unset.3lua [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/gpio/ |
amdgpu_gpio_base.c | 60 struct gpio *gpio, 63 return dal_gpio_open_ex(gpio, mode); 67 struct gpio *gpio, 70 if (gpio->pin) { 75 // No action if allocation failed during gpio construct 76 if (!gpio->hw_container.ddc) { 80 gpio->mode = mode; 82 return dal_gpio_service_open(gpio); 280 struct gpio *gpio = kzalloc(sizeof(struct gpio), GFP_KERNEL); local in function:dal_gpio_create [all...] |
hw_factory.h | 35 struct gpio; 57 struct gpio *gpio); 59 struct gpio *gpio); 61 struct gpio *gpio);
|
/src/sys/modules/gpio/ |
Makefile | 5 .PATH: ${S}/dev/gpio 7 KMOD= gpio 8 IOCONF= gpio.ioconf 9 SRCS= gpio.c
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/renesas/ |
r8a779a0-falcon-csi-dsi.dtsi | 9 pca9654_a: gpio@21 { 12 gpio-controller; 13 #gpio-cells = <2>; 16 pca9654_b: gpio@22 { 19 gpio-controller; 20 #gpio-cells = <2>; 23 pca9654_c: gpio@23 { 26 gpio-controller; 27 #gpio-cells = <2>;
|
/src/sys/external/isc/atheros_hal/dist/ar5212/ |
ar5212_gpio.c | 32 #define AR_NUM_GPIO 6 /* 6 GPIO pins */ 33 #define AR_GPIOD_MASK 0x0000002F /* GPIO data reg r/w mask */ 36 * Configure GPIO Output lines 39 ar5212GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) 41 HALASSERT(gpio < AR_NUM_GPIO); 48 OS_REG_READ(ah, AR_GPIOCR) | AR_GPIOCR_CR_A(gpio)); 54 * Configure GPIO Input lines 57 ar5212GpioCfgInput(struct ath_hal *ah, uint32_t gpio) 59 HALASSERT(gpio < AR_NUM_GPIO); 62 (OS_REG_READ(ah, AR_GPIOCR) &~ AR_GPIOCR_CR_A(gpio)) [all...] |
/src/sys/arch/arm/imx/ |
imxgpio.c | 37 #include "gpio.h" 54 /* GPIO access from userland */ 55 #include <sys/gpio.h> 56 #include <dev/gpio/gpiovar.h> 83 #define GPIO_READ(gpio, reg) \ 84 bus_space_read_4((gpio)->gpio_memt, (gpio)->gpio_memh, (reg)) 85 #define GPIO_WRITE(gpio, reg, val) \ 86 bus_space_write_4((gpio)->gpio_memt, (gpio)->gpio_memh, (reg), (val) 91 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:imxgpio_pic_unblock_irqs 103 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:imxgpio_pic_block_irqs 113 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:imxgpio_pic_find_pending_irqs 178 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:imxgpio_pic_establish_irq 231 struct imxgpio_softc * const gpio = arg; local in function:imxgpio_pin_read 242 struct imxgpio_softc * const gpio = arg; local in function:imxgpio_pin_write 264 struct imxgpio_softc * const gpio = arg; local in function:imxgpio_pin_ctl 328 struct imxgpio_softc * const gpio = device_private(self); local in function:imxgpio_attach_common [all...] |
imx31_gpio.c | 36 #include "gpio.h" 58 #include <sys/gpio.h> 59 #include <dev/gpio/gpiovar.h> 91 #define GPIO_READ(gpio, reg) \ 92 bus_space_read_4((gpio)->gpio_memt, (gpio)->gpio_memh, (reg)) 93 #define GPIO_WRITE(gpio, reg, val) \ 94 bus_space_write_4((gpio)->gpio_memt, (gpio)->gpio_memh, (reg), (val)) 99 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic) local in function:gpio_pic_unblock_irqs 115 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:gpio_pic_block_irqs 125 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:gpio_pic_find_pending_irqs 170 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:gpio_pic_establish_irq 232 struct gpio_softc * const gpio = arg; local in function:imxgpio_pin_read 240 struct gpio_softc * const gpio = arg; local in function:imxgpio_pin_write 257 struct gpio_softc * const gpio = arg; local in function:imxgpio_pin_ctl 275 struct gpio_softc * const gpio = device_private(self); local in function:gpio_defer 337 struct gpio_softc * const gpio = device_private(self); local in function:gpio_attach [all...] |
/src/sys/external/isc/atheros_hal/dist/ar5312/ |
ar5315_gpio.c | 31 #define AR_NUM_GPIO 7 /* 6 GPIO pins */ 32 #define AR5315_GPIOD_MASK 0x0000007F /* GPIO data reg r/w mask */ 35 * Configure GPIO Output lines 38 ar5315GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) 42 HALASSERT(gpio < AR_NUM_GPIO); 45 (OS_REG_READ(ah, gpioOffset+AR5315_GPIODIR) &~ AR5315_GPIODIR_M(gpio)) 46 | AR5315_GPIODIR_O(gpio)); 52 * Configure GPIO Input lines 55 ar5315GpioCfgInput(struct ath_hal *ah, uint32_t gpio) 59 HALASSERT(gpio < AR_NUM_GPIO) [all...] |
ar5312_gpio.c | 31 #define AR_NUM_GPIO 6 /* 6 GPIO pins */ 32 #define AR5312_GPIOD_MASK 0x0000002F /* GPIO data reg r/w mask */ 35 * Configure GPIO Output lines 38 ar5312GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) 42 HALASSERT(gpio < AR_NUM_GPIO); 45 (OS_REG_READ(ah, gpioOffset+AR5312_GPIOCR) &~ AR_GPIOCR_CR_A(gpio)) 46 | AR_GPIOCR_CR_A(gpio)); 52 * Configure GPIO Input lines 55 ar5312GpioCfgInput(struct ath_hal *ah, uint32_t gpio) 59 HALASSERT(gpio < AR_NUM_GPIO) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/gpio/ |
nouveau_nvkm_subdev_gpio_base.c | 35 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) 37 return gpio->func->drive(gpio, line, dir, out); 41 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) 43 return gpio->func->sense(gpio, line); 47 nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func) 49 if (gpio->func->reset) 50 gpio->func->reset(gpio, func) 120 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); local in function:nvkm_gpio_intr_fini 127 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); local in function:nvkm_gpio_intr_init 155 struct nvkm_gpio *gpio = nvkm_gpio(subdev); local in function:nvkm_gpio_intr 172 struct nvkm_gpio *gpio = nvkm_gpio(subdev); local in function:nvkm_gpio_fini 200 struct nvkm_gpio *gpio = nvkm_gpio(subdev); local in function:nvkm_gpio_init 234 struct nvkm_gpio *gpio = nvkm_gpio(subdev); local in function:nvkm_gpio_dtor 251 struct nvkm_gpio *gpio; local in function:nvkm_gpio_new_ [all...] |
/src/sys/modules/gpiosim/ |
gpiosim.conf | 7 pseudo-root gpio*
|
/src/sys/arch/arm/gemini/ |
gemini_gpio.c | 41 #include "gpio.h" 65 #include <sys/gpio.h> 66 #include <dev/gpio/gpiovar.h> 105 #define GPIO_READ(gpio, reg) \ 106 bus_space_read_4((gpio)->gpio_memt, (gpio)->gpio_memh, (reg)) 107 #define GPIO_WRITE(gpio, reg, val) \ 108 bus_space_write_4((gpio)->gpio_memt, (gpio)->gpio_memh, (reg), (val)) 113 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic) local in function:gpio_pic_unblock_irqs 130 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:gpio_pic_block_irqs 147 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:gpio_pic_find_pending_irqs 166 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); local in function:gpio_pic_establish_irq 252 struct gpio_softc * const gpio = device_private(arg); local in function:geminigpio_pin_read 260 struct gpio_softc * const gpio = device_private(arg); local in function:geminigpio_pin_write 272 struct gpio_softc * const gpio = device_private(arg); local in function:geminigpio_pin_ctl 290 struct gpio_softc * const gpio = device_private(self); local in function:gpio_defer 345 struct gpio_softc * const gpio = device_private(self); local in function:gpio_attach [all...] |
/src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/cavium-octeon/ |
dlink_dsr-1000n.dts | 9 #include <dt-bindings/gpio/gpio.h> 21 compatible = "gpio-leds"; 25 gpios = <&gpio 9 GPIO_ACTIVE_LOW>; 30 gpios = <&gpio 10 GPIO_ACTIVE_LOW>; 35 gpios = <&gpio 11 GPIO_ACTIVE_LOW>; 40 gpios = <&gpio 17 GPIO_ACTIVE_LOW>; 45 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
dlink_dsr-500n.dts | 9 #include <dt-bindings/gpio/gpio.h> 22 compatible = "gpio-leds"; 25 gpios = <&gpio 9 GPIO_ACTIVE_LOW>; 29 gpios = <&gpio 11 GPIO_ACTIVE_LOW>; 34 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|