/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/ |
socfpga_cyclone5_vining_fpga.dts | 7 #include <dt-bindings/gpio/gpio.h> 34 gpio-keys { 35 compatible = "gpio-keys"; 73 gpio = <&portb 5 GPIO_ACTIVE_HIGH>; 85 snps,reset-gpio = <&porta 0 GPIO_ACTIVE_LOW>; 111 &gpio0 { /* GPIO 0..29 */ 115 &gpio1 { /* GPIO 30..57 */ 119 &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */ 126 gpio: pca9557@1f label [all...] |
pxa25x.dtsi | 58 gpio: gpio@40e00000 { label 59 compatible = "intel,pxa25x-gpio"; 60 gpio-ranges = <&pinctrl 0 0 84>;
|
moxart.dtsi | 68 gpio: gpio@98700000 { label 69 gpio-controller; 70 #gpio-cells = <2>; 71 compatible = "moxa,moxart-gpio", "faraday,ftgpio010"; 77 gpio-rtc-sclk = <&gpio 5 0>; 78 gpio-rtc-data = <&gpio 6 0>; 79 gpio-rtc-reset = <&gpio 7 0> [all...] |
/src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/lantiq/ |
easy50712.dts | 55 gpio: pinmux@e100b10 { label 60 #gpio-cells = <2>; 61 gpio-controller; 95 #gpio-cells = <2>; 96 compatible = "lantiq,gpio-stp-xway"; 97 gpio-controller; 110 gpios-reset = <&gpio 21 0>;
|
/src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/netlogic/ |
xlp_gvp.dts | 73 gpio: xlp_gpio@114100 { label 74 compatible = "netlogic,xlp980-gpio"; 76 #gpio-cells = <2>; 77 gpio-controller;
|
xlp_rvp.dts | 73 gpio: xlp_gpio@114100 { label 74 compatible = "netlogic,xlp532-gpio"; 76 #gpio-cells = <2>; 77 gpio-controller;
|
xlp_evp.dts | 115 gpio: xlp_gpio@34100 { label 116 compatible = "netlogic,xlp832-gpio"; 118 #gpio-cells = <2>; 119 gpio-controller;
|
xlp_fvp.dts | 115 gpio: xlp_gpio@34100 { label 116 compatible = "netlogic,xlp208-gpio"; 118 #gpio-cells = <2>; 119 gpio-controller;
|
xlp_svp.dts | 115 gpio: xlp_gpio@34100 { label 116 compatible = "netlogic,xlp316-gpio"; 118 #gpio-cells = <2>; 119 gpio-controller;
|
/src/sys/arch/arm/imx/ |
imx51_gpio.c | 38 #include "gpio.h" 62 #include <sys/gpio.h> 63 #include <dev/gpio/gpiovar.h> 91 struct imxgpio_softc * const gpio = device_private(self); local in function:imxgpio_attach 118 gpio->gpio_is = intr_establish(aa->aa_irq, 119 IPL_HIGH, IST_LEVEL, pic_handle_intr, &gpio->gpio_pic); 120 KASSERT(gpio->gpio_is != NULL ); 121 gpio->gpio_is_high = intr_establish(aa->aa_irq + 1, 122 IPL_HIGH, IST_LEVEL, pic_handle_intr, &gpio->gpio_pic); 123 KASSERT(gpio->gpio_is_high != NULL) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/ |
nouveau_nvkm_subdev_bus_nv04.c | 32 #include <subdev/gpio.h> 48 struct nvkm_gpio *gpio = device->gpio; local in function:nv04_bus_intr 49 if (gpio) 50 nvkm_subdev_intr(&gpio->subdev);
|
nouveau_nvkm_subdev_bus_nv31.c | 32 #include <subdev/gpio.h> 41 u32 gpio = nvkm_rd32(device, 0x001104) & nvkm_rd32(device, 0x001144); local in function:nv31_bus_intr 43 if (gpio) { 44 struct nvkm_gpio *gpio = device->gpio; local in function:nv31_bus_intr 45 if (gpio) 46 nvkm_subdev_intr(&gpio->subdev);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/volt/ |
nouveau_nvkm_subdev_volt_gpio.c | 31 #include <subdev/bios/gpio.h> 32 #include <subdev/gpio.h> 45 struct nvkm_gpio *gpio = volt->subdev.device->gpio; local in function:nvkm_voltgpio_get 51 int ret = nvkm_gpio_get(gpio, 0, tags[i], 0xff); 64 struct nvkm_gpio *gpio = volt->subdev.device->gpio; local in function:nvkm_voltgpio_set 69 int ret = nvkm_gpio_set(gpio, 0, tags[i], 0xff, vid & 1); 82 struct nvkm_gpio *gpio = subdev->device->gpio; local in function:nvkm_voltgpio_init [all...] |
/src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/mscc/ |
luton.dtsi | 94 gpio: pinctrl@70068 { label 97 gpio-controller; 98 #gpio-cells = <2>; 99 gpio-ranges = <&gpio 0 0 32>;
|
/src/sys/arch/arm/xscale/ |
pxa2x0_com.c | 78 u_int gpio; local in function:pxauart_match 115 gpio = pxa2x0_gpio_get_function(gpioconf[i].pin); 116 if (GPIO_FN(gpio) != GPIO_FN(gpioconf[i].value) || 117 GPIO_FN_IS_OUT(gpio) != GPIO_FN_IS_OUT(gpioconf[i].value))
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/gpio/ |
amdgpu_hw_gpio.c | 40 gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask 43 gpio->base.ctx 45 (gpio->regs->reg) 48 struct hw_gpio *gpio) 50 REG_GET(MASK_reg, MASK, &gpio->store.mask); 51 REG_GET(A_reg, A, &gpio->store.a); 52 REG_GET(EN_reg, EN, &gpio->store.en); 57 struct hw_gpio *gpio) 59 REG_UPDATE(MASK_reg, MASK, gpio->store.mask) 82 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); local in function:dal_hw_gpio_get_value 104 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); local in function:dal_hw_gpio_set_value [all...] |
amdgpu_hw_hpd.c | 52 struct gpio; 76 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); local in function:get_value 77 const struct hw_hpd *hpd = const_container_of(gpio, struct hw_hpd, base); 91 /* in any other modes, operate as normal GPIO */ 152 struct hw_gpio_pin *dal_hw_hpd_get_pin(struct gpio *gpio) 154 struct hw_hpd *hw_hpd = dal_gpio_get_hpd(gpio);
|
generic_regs.h | 55 struct gpio_registers gpio; member in struct:generic_registers
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
gpio.h | 1 /* $NetBSD: gpio.h,v 1.2 2021/12/18 23:45:05 riastradh Exp $ */ 40 struct gpio { struct 49 /* when GPIO comes from VBIOS, it has defined output state */
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_led.c | 39 #include <nvkm/subdev/gpio.h> 86 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); local in function:nouveau_led_init 90 if (!gpio) 93 /* check that there is a GPIO controlling the logo LED */ 94 if (nvkm_gpio_find(gpio, 0, DCB_GPIO_LOGO_LED_PWM, 0xff, &logo_led))
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
nouveau_nvkm_engine_disp_conn.c | 33 #include <subdev/gpio.h> 42 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; local in function:nvkm_conn_hpd 49 if (!nvkm_gpio_get(gpio, 0, DCB_GPIO_UNUSED, conn->hpd.index)) 87 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; local in function:nvkm_conn_ctor 106 ret = nvkm_gpio_find(gpio, 0, info->hpd, DCB_GPIO_UNUSED, &func); 113 ret = nvkm_notify_init(NULL, &gpio->event, nvkm_conn_hpd,
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_gpio.c | 31 #include <subdev/bios/gpio.h> 68 u8 hdr, cnt, xver; /* use gpio version for xpio entry parsing */ 69 u16 gpio; local in function:dcb_gpio_entry 72 gpio = dcb_gpio_table(bios, ver, &hdr, &cnt, len); 74 gpio = dcb_xpio_table(bios, idx, &xver, &hdr, &cnt, len); 76 if (gpio && ent < cnt) 77 return gpio + hdr + (ent * *len); 84 struct dcb_gpio_func *gpio) 90 *gpio = (struct dcb_gpio_func) { 100 *gpio = (struct dcb_gpio_func) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/ |
nouveau_nvkm_subdev_therm_fanpwm.c | 35 #include <subdev/gpio.h> 47 struct nvkm_gpio *gpio = device->gpio; local in function:nvkm_fanpwm_get 60 return nvkm_gpio_get(gpio, 0, fan->func.func, fan->func.line) * 100;
|
nouveau_nvkm_subdev_therm_gf119.c | 36 u32 gpio = nvkm_rd32(device, 0x00d610 + (line * 0x04)); local in function:pwm_info 38 switch (gpio & 0x000000c0) { 41 switch (gpio & 0x0000001f) { 53 nvkm_error(subdev, "GPIO %d unknown PWM: %08x\n", line, gpio);
|