/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/gpio/ |
H A D | amdgpu_gpio_base.c | 60 struct gpio *gpio, in dal_gpio_open() 67 struct gpio *gpio, in dal_gpio_open_ex() 86 const struct gpio *gpio, in dal_gpio_get_value() 98 const struct gpio *gpio, in dal_gpio_set_value() 110 const struct gpio *gpio) in dal_gpio_get_mode() 116 struct gpio *gpio) in dal_gpio_lock_pin() 122 struct gpio *gpio) in dal_gpio_unlock_pin() 128 struct gpio *gpio, in dal_gpio_change_mode() 140 const struct gpio *gpio) in dal_gpio_get_id() 146 const struct gpio *gpio) in dal_gpio_get_enum() [all …]
|
H A D | amdgpu_hw_gpio.c | 48 struct hw_gpio *gpio) in store_registers() 57 struct hw_gpio *gpio) in restore_registers() 82 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); in dal_hw_gpio_get_value() local 104 const struct hw_gpio *gpio = const_container_of(ptr, struct hw_gpio, base); in dal_hw_gpio_set_value() local 147 struct hw_gpio *gpio, in dal_hw_gpio_config_mode()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
H A D | gpio.h | 40 struct gpio { struct 41 struct gpio_service *service; argument 42 struct hw_gpio_pin *pin; argument 43 enum gpio_id id; argument 46 union gpio_hw_container hw_container; argument 47 enum gpio_mode mode; argument 50 enum gpio_pin_output_state output_state; argument
|
/netbsd-src/sys/arch/arm/imx/ |
H A D | imxgpio.c | 83 #define GPIO_READ(gpio, reg) \ argument 85 #define GPIO_WRITE(gpio, reg, val) \ argument 91 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); in imxgpio_pic_unblock_irqs() local 103 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); in imxgpio_pic_block_irqs() local 113 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); in imxgpio_pic_find_pending_irqs() local 178 struct imxgpio_softc * const gpio = PIC_TO_SOFTC(pic); in imxgpio_pic_establish_irq() local 231 struct imxgpio_softc * const gpio = arg; in imxgpio_pin_read() local 242 struct imxgpio_softc * const gpio = arg; in imxgpio_pin_write() local 264 struct imxgpio_softc * const gpio = arg; in imxgpio_pin_ctl() local 291 imxgpio_attach_ports(struct imxgpio_softc *gpio) in imxgpio_attach_ports() [all …]
|
H A D | imx31_gpio.c | 91 #define GPIO_READ(gpio, reg) \ argument 93 #define GPIO_WRITE(gpio, reg, val) \ argument 99 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_unblock_irqs() local 115 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_block_irqs() local 125 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_find_pending_irqs() local 170 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_establish_irq() local 232 struct gpio_softc * const gpio = arg; in imxgpio_pin_read() local 240 struct gpio_softc * const gpio = arg; in imxgpio_pin_write() local 257 struct gpio_softc * const gpio = arg; in imxgpio_pin_ctl() local 275 struct gpio_softc * const gpio = device_private(self); in gpio_defer() local [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/gpio/ |
H A D | nouveau_nvkm_subdev_gpio_base.c | 35 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) in nvkm_gpio_drive() 41 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) in nvkm_gpio_sense() 47 nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func) in nvkm_gpio_reset() 54 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, in nvkm_gpio_find() 86 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set() 102 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) in nvkm_gpio_get() 120 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_fini() local 127 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_init() local 155 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_intr() local 172 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_fini() local [all …]
|
H A D | nouveau_nvkm_subdev_gpio_nv10.c | 34 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) in nv10_gpio_sense() 57 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in nv10_gpio_drive() 88 nv10_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in nv10_gpio_intr_stat() 99 nv10_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in nv10_gpio_intr_mask()
|
H A D | nouveau_nvkm_subdev_gpio_nv50.c | 32 nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) in nv50_gpio_reset() 76 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in nv50_gpio_drive() 89 nv50_gpio_sense(struct nvkm_gpio *gpio, int line) in nv50_gpio_sense() 101 nv50_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in nv50_gpio_intr_stat() 112 nv50_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in nv50_gpio_intr_mask()
|
H A D | nouveau_nvkm_subdev_gpio_gf119.c | 32 gf119_gpio_reset(struct nvkm_gpio *gpio, u8 match) in gf119_gpio_reset() 61 gf119_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in gf119_gpio_drive() 71 gf119_gpio_sense(struct nvkm_gpio *gpio, int line) in gf119_gpio_sense()
|
H A D | nouveau_nvkm_subdev_gpio_gk104.c | 32 gk104_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in gk104_gpio_intr_stat() 46 gk104_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in gk104_gpio_intr_mask()
|
H A D | nouveau_nvkm_subdev_gpio_g94.c | 32 g94_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in g94_gpio_intr_stat() 46 g94_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in g94_gpio_intr_mask()
|
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5212/ |
H A D | ar5212_gpio.c | 39 ar5212GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) in ar5212GpioCfgOutput() 57 ar5212GpioCfgInput(struct ath_hal *ah, uint32_t gpio) in ar5212GpioCfgInput() 72 ar5212GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) in ar5212GpioSet() 90 ar5212GpioGet(struct ath_hal *ah, uint32_t gpio) in ar5212GpioGet() 105 ar5212GpioSetIntr(struct ath_hal *ah, u_int gpio, uint32_t ilevel) in ar5212GpioSetIntr()
|
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5416/ |
H A D | ar5416_gpio.c | 35 cfgOutputMux(struct ath_hal *ah, uint32_t gpio, uint32_t type) in cfgOutputMux() 76 ar5416GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) in ar5416GpioCfgOutput() 98 ar5416GpioCfgInput(struct ath_hal *ah, uint32_t gpio) in ar5416GpioCfgInput() 120 ar5416GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) in ar5416GpioSet() 139 ar5416GpioGet(struct ath_hal *ah, uint32_t gpio) in ar5416GpioGet() 163 ar5416GpioSetIntr(struct ath_hal *ah, u_int gpio, uint32_t ilevel) in ar5416GpioSetIntr()
|
/netbsd-src/sys/arch/arm/gemini/ |
H A D | gemini_gpio.c | 105 #define GPIO_READ(gpio, reg) \ argument 107 #define GPIO_WRITE(gpio, reg, val) \ argument 113 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_unblock_irqs() local 130 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_block_irqs() local 147 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_find_pending_irqs() local 166 struct gpio_softc * const gpio = PIC_TO_SOFTC(pic); in gpio_pic_establish_irq() local 252 struct gpio_softc * const gpio = device_private(arg); in geminigpio_pin_read() local 260 struct gpio_softc * const gpio = device_private(arg); in geminigpio_pin_write() local 272 struct gpio_softc * const gpio = device_private(arg); in geminigpio_pin_ctl() local 290 struct gpio_softc * const gpio = device_private(self); in gpio_defer() local [all …]
|
/netbsd-src/sys/external/isc/atheros_hal/dist/ar5312/ |
H A D | ar5315_gpio.c | 38 ar5315GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) in ar5315GpioCfgOutput() 55 ar5315GpioCfgInput(struct ath_hal *ah, uint32_t gpio) in ar5315GpioCfgInput() 72 ar5315GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) in ar5315GpioSet() 91 ar5315GpioGet(struct ath_hal *ah, uint32_t gpio) in ar5315GpioGet() 108 ar5315GpioSetIntr(struct ath_hal *ah, u_int gpio, uint32_t ilevel) in ar5315GpioSetIntr()
|
H A D | ar5312_gpio.c | 38 ar5312GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) in ar5312GpioCfgOutput() 55 ar5312GpioCfgInput(struct ath_hal *ah, uint32_t gpio) in ar5312GpioCfgInput() 72 ar5312GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) in ar5312GpioSet() 91 ar5312GpioGet(struct ath_hal *ah, uint32_t gpio) in ar5312GpioGet() 108 ar5312GpioSetIntr(struct ath_hal *ah, u_int gpio, uint32_t ilevel) in ar5312GpioSetIntr()
|
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
H A D | pxa3xx.dtsi | 5 #define MFP_PIN_PXA300(gpio) \ argument 11 #define MFP_PIN_PXA300_2(gpio) \ argument 16 #define MFP_PIN_PXA310(gpio) \ argument 25 #define MFP_PIN_PXA310_2(gpio) \ argument 31 #define MFP_PIN_PXA320(gpio) \ argument 42 #define MFP_PIN_PXA320_2(gpio) \ argument 167 gpio: gpio@40e00000 { label
|
/netbsd-src/sys/arch/mips/rmi/ |
H A D | rmixl_gpio.c | 76 #define GPIO_READ(gpio, reg) \ argument 78 #define GPIO_WRITE(gpio, reg, val) \ argument 94 struct gpio_softc * const gpio = arg; in rmixl_gpio_pin_read() local 103 struct gpio_softc * const gpio = arg; in rmixl_gpio_pin_write() local 122 struct gpio_softc * const gpio = arg; in rmixl_gpio_pin_ctl() local 141 struct gpio_softc * const gpio = device_private(self); in gpio_defer() local 201 struct gpio_softc * const gpio = device_private(self); in gpio_attach() local
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/volt/ |
H A D | nouveau_nvkm_subdev_volt_gpio.c | 45 struct nvkm_gpio *gpio = volt->subdev.device->gpio; in nvkm_voltgpio_get() local 64 struct nvkm_gpio *gpio = volt->subdev.device->gpio; in nvkm_voltgpio_set() local 82 struct nvkm_gpio *gpio = subdev->device->gpio; in nvkm_voltgpio_init() local
|
/netbsd-src/sys/dev/gpio/ |
H A D | gpio.c | 359 gpio_get_name(void * gpio) gpio_get_name() argument 367 gpio_pin_can_map(void * gpio,int offset,uint32_t mask) gpio_pin_can_map() argument 389 gpio_pin_map(void * gpio,int offset,uint32_t mask,struct gpio_pinmap * map) gpio_pin_map() argument 414 gpio_pin_unmap(void * gpio,struct gpio_pinmap * map) gpio_pin_unmap() argument 426 gpio_pin_read(void * gpio,struct gpio_pinmap * map,int pin) gpio_pin_read() argument 434 gpio_pin_write(void * gpio,struct gpio_pinmap * map,int pin,int value) gpio_pin_write() argument 443 gpio_pin_get_conf(void * gpio,struct gpio_pinmap * map,int pin) gpio_pin_get_conf() argument 456 gpio_pin_set_conf(void * gpio,struct gpio_pinmap * map,int pin,int flags) gpio_pin_set_conf() argument 470 gpio_pin_ctl(void * gpio,struct gpio_pinmap * map,int pin,int flags) gpio_pin_ctl() argument 483 gpio_pin_caps(void * gpio,struct gpio_pinmap * map,int pin) gpio_pin_caps() argument 491 gpio_pin_intrcaps(void * gpio,struct gpio_pinmap * map,int pin) gpio_pin_intrcaps() argument 536 gpio_pin_irqmode_issupported(void * gpio,struct gpio_pinmap * map,int pin,int irqmode) gpio_pin_irqmode_issupported() argument 551 gpio_intr_establish(void * gpio,struct gpio_pinmap * map,int pin,int ipl,int irqmode,int (* func)(void *),void * arg) gpio_intr_establish() argument 575 gpio_intr_disestablish(void * gpio,void * ih) gpio_intr_disestablish() argument 584 gpio_intr_str(void * gpio,struct gpio_pinmap * map,int pin,int irqmode,char * intrstr,size_t intrstrlen) gpio_intr_str() argument 622 gpio_pin_to_pin_num(void * gpio,struct gpio_pinmap * map,int pin) gpio_pin_to_pin_num() argument [all...] |
/netbsd-src/sys/arch/arm/xscale/ |
H A D | pxa2x0_gpio.c | 251 pxa2x0_gpio_intr_establish(u_int gpio, int level, int spl, int (*func)(void *), in pxa2x0_gpio_intr_establish() 493 pxa2x0_gpio_get_function(u_int gpio) in pxa2x0_gpio_get_function() 515 pxa2x0_gpio_set_function(u_int gpio, u_int fn) in pxa2x0_gpio_set_function() 582 pxa2x0_gpio_get_bit(u_int gpio) in pxa2x0_gpio_get_bit() 598 pxa2x0_gpio_set_bit(u_int gpio) in pxa2x0_gpio_set_bit() 611 pxa2x0_gpio_clear_bit(u_int gpio) in pxa2x0_gpio_clear_bit() 624 pxa2x0_gpio_set_dir(u_int gpio, int dir) in pxa2x0_gpio_set_dir() 646 pxa2x0_gpio_clear_intr(u_int gpio) in pxa2x0_gpio_clear_intr() 681 pxa2x0_gpio_set_intr_level(u_int gpio, int level) in pxa2x0_gpio_set_intr_level()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bus/ |
H A D | nouveau_nvkm_subdev_bus_nv31.c | 41 u32 gpio = nvkm_rd32(device, 0x001104) & nvkm_rd32(device, 0x001144); in nv31_bus_intr() local 44 struct nvkm_gpio *gpio = device->gpio; in nv31_bus_intr() local
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
H A D | nouveau_nvkm_subdev_bios_gpio.c | 69 u16 gpio; in dcb_gpio_entry() local 84 struct dcb_gpio_func *gpio) in dcb_gpio_parse() 125 u8 *ver, u8 *len, struct dcb_gpio_func *gpio) in dcb_gpio_match()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
H A D | nouveau_nvkm_engine_disp_conn.c | 42 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_hpd() local 87 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor() local
|
/netbsd-src/external/gpl2/dtc/dist/tests/ |
H A D | bad-gpio.dts | 4 gpio: gpio-controller { label
|