/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | gf119.c | 27 gf119_gpio_reset(struct nvkm_gpio *gpio, u8 match) in gf119_gpio_reset() 56 gf119_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in gf119_gpio_drive() 66 gf119_gpio_sense(struct nvkm_gpio *gpio, int line) in gf119_gpio_sense()
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-input.c | 43 u32 gpio,data; in ir_handle_key() local 78 u32 gpio, data, keyup; in ir_enltv_handle_key() local 239 u32 gpio; in bttv_rc5_irq() local 310 u32 gpio; in bttv_ir_stop() local 516 u32 gpio; in bttv_input_init() local
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-amd-fch.c | 42 unsigned int gpio) in amd_fch_gpio_addr() 62 unsigned int gpio, int value) in amd_fch_gpio_direction_output() 84 static int amd_fch_gpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in amd_fch_gpio_get_direction() 99 unsigned int gpio, int value) in amd_fch_gpio_set()
|
H A D | gpio-janz-ttl.c | 45 struct gpio_chip gpio; member 57 static int ttl_get_value(struct gpio_chip *gpio, unsigned offset) in ttl_get_value() 79 static void ttl_set_value(struct gpio_chip *gpio, unsigned offset, int value) in ttl_set_value() 144 struct gpio_chip *gpio; in ttl_probe() local
|
H A D | gpio-tangier.c | 210 irq_hw_number_t gpio = irqd_to_hwirq(d); in tng_irq_ack() local 222 static void tng_irq_unmask_mask(struct tng_gpio *priv, u32 gpio, bool unmask) in tng_irq_unmask_mask() 247 irq_hw_number_t gpio = irqd_to_hwirq(d); in tng_irq_mask() local 257 irq_hw_number_t gpio = irqd_to_hwirq(d); in tng_irq_unmask() local 267 irq_hw_number_t gpio = irqd_to_hwirq(d); in tng_irq_set_type() local 326 irq_hw_number_t gpio = irqd_to_hwirq(d); in tng_irq_set_wake() local 367 unsigned long base, gpio; in tng_irq_handler() local 432 int devm_tng_gpio_probe(struct device *dev, struct tng_gpio *gpio) in devm_tng_gpio_probe()
|
H A D | gpio-pch.c | 96 struct gpio_chip gpio; member 103 static void pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val) in pch_gpio_set() 120 static int pch_gpio_get(struct gpio_chip *gpio, unsigned int nr) in pch_gpio_get() 127 static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr, in pch_gpio_direction_output() 154 static int pch_gpio_direction_input(struct gpio_chip *gpio, unsigned int nr) in pch_gpio_direction_input() 204 static int pch_gpio_to_irq(struct gpio_chip *gpio, unsigned int offset) in pch_gpio_to_irq() 213 struct gpio_chip *gpio = &chip->gpio; in pch_gpio_setup() local
|
H A D | gpio-vf610.c | 83 static int vf610_gpio_get(struct gpio_chip *gc, unsigned int gpio) in vf610_gpio_get() 98 static void vf610_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in vf610_gpio_set() 107 static int vf610_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in vf610_gpio_direction_input() 122 static int vf610_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in vf610_gpio_direction_output() 165 int gpio = d->hwirq; in vf610_gpio_irq_ack() local
|
/openbmc/linux/arch/sh/boards/mach-x3proto/ |
H A D | gpio.c | 29 static int x3proto_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in x3proto_gpio_direction_input() 43 static int x3proto_gpio_get(struct gpio_chip *chip, unsigned gpio) in x3proto_gpio_get() 48 static int x3proto_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) in x3proto_gpio_to_irq()
|
/openbmc/u-boot/arch/arm/mach-bcm283x/include/mach/ |
H A D | gpio.h | 23 #define BCM2835_GPIO_COMMON_BANK(gpio) ((gpio < 32) ? 0 : 1) argument 24 #define BCM2835_GPIO_COMMON_SHIFT(gpio) (gpio & 0x1f) argument 26 #define BCM2835_GPIO_FSEL_BANK(gpio) (gpio / 10) argument 27 #define BCM2835_GPIO_FSEL_SHIFT(gpio) ((gpio % 10) * 3) argument
|
/openbmc/u-boot/drivers/misc/ |
H A D | smsc_sio1007.c | 67 void sio1007_gpio_config(int port, int gpio, int dir, int pol, int type) in sio1007_gpio_config() 90 int sio1007_gpio_get_value(int port, int gpio) in sio1007_gpio_get_value() 109 void sio1007_gpio_set_value(int port, int gpio, int val) in sio1007_gpio_set_value()
|
/openbmc/linux/arch/sh/boards/mach-sdk7786/ |
H A D | gpio.c | 22 static int usrgpir_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in usrgpir_gpio_direction_input() 28 static int usrgpir_gpio_get(struct gpio_chip *chip, unsigned gpio) in usrgpir_gpio_get()
|
/openbmc/u-boot/board/compulab/common/ |
H A D | common.c | 41 int cl_usb_hub_init(int gpio, const char *label) in cl_usb_hub_init() 55 void cl_usb_hub_deinit(int gpio) in cl_usb_hub_deinit()
|
H A D | common.h | 19 static inline int cl_usb_hub_init(int gpio, const char *label) in cl_usb_hub_init() 23 static inline void cl_usb_hub_deinit(int gpio) {} in cl_usb_hub_deinit()
|
H A D | omap3_smc911x.c | 49 static int cl_omap3_smc911x_reset_net_chip(int gpio) in cl_omap3_smc911x_reset_net_chip() 71 static inline int cl_omap3_smc911x_reset_net_chip(int gpio) { return 0; } in cl_omap3_smc911x_reset_net_chip()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | gpio.c | 64 u16 gpio; in dcb_gpio_entry() local 79 struct dcb_gpio_func *gpio) in dcb_gpio_parse() 120 u8 *ver, u8 *len, struct dcb_gpio_func *gpio) in dcb_gpio_match()
|
/openbmc/linux/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-wpcm450.c | 99 static int wpcm450_gpio_irq_bitnum(struct wpcm450_gpio *gpio, struct irq_data *d) in wpcm450_gpio_irq_bitnum() 113 static int wpcm450_irq_bitnum_to_gpio(struct wpcm450_gpio *gpio, int bitnum) in wpcm450_irq_bitnum_to_gpio() 128 struct wpcm450_gpio *gpio = gpiochip_get_data(irq_data_get_irq_chip_data(d)); in wpcm450_gpio_irq_ack() local 145 struct wpcm450_gpio *gpio = gpiochip_get_data(gc); in wpcm450_gpio_irq_mask() local 167 struct wpcm450_gpio *gpio = gpiochip_get_data(gc); in wpcm450_gpio_irq_unmask() local 193 static int wpcm450_gpio_get(struct wpcm450_gpio *gpio, int offset) in wpcm450_gpio_get() 240 struct wpcm450_gpio *gpio = gpiochip_get_data(irq_data_get_irq_chip_data(d)); in wpcm450_gpio_set_irq_type() local 926 static int debounce_bitnum(int gpio) in debounce_bitnum() 1021 struct wpcm450_gpio *gpio = gpiochip_get_data(chip); in wpcm450_gpio_set_config() local 1028 struct wpcm450_gpio *gpio = gpiochip_get_data(chip); in wpcm450_gpio_add_pin_ranges() local [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-jack.c | 211 static void snd_soc_jack_gpio_detect(struct snd_soc_jack_gpio *gpio) in snd_soc_jack_gpio_detect() 235 struct snd_soc_jack_gpio *gpio = data; in gpio_handler() local 252 struct snd_soc_jack_gpio *gpio; in gpio_work() local 261 struct snd_soc_jack_gpio *gpio = in snd_soc_jack_pm_notifier() local
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | cpm_common.c | 116 static int cpm2_gpio32_get(struct gpio_chip *gc, unsigned int gpio) in cpm2_gpio32_get() 141 static void cpm2_gpio32_set(struct gpio_chip *gc, unsigned int gpio, int value) in cpm2_gpio32_set() 155 static int cpm2_gpio32_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in cpm2_gpio32_dir_out() 173 static int cpm2_gpio32_dir_in(struct gpio_chip *gc, unsigned int gpio) in cpm2_gpio32_dir_in()
|
/openbmc/obmc-console/ |
H A D | console-mux.c | 76 console_mux_find_gpio_by_index(struct console_gpio *gpio, in console_mux_find_gpio_by_index() 102 struct console_gpio *gpio = &server->mux->mux_gpios[i]; in console_mux_release_gpio_lines() local 116 struct console_gpio *gpio; in console_mux_request_gpio_lines() local 261 struct console_gpio *gpio = &console->server->mux->mux_gpios[i]; in console_mux_set_lines() local
|
/openbmc/u-boot/arch/arm/include/asm/arch-omap3/ |
H A D | omap.h | 99 struct gpio { struct 100 unsigned char res1[0x34]; 101 unsigned int oe; /* 0x34 */ 102 unsigned int datain; /* 0x38 */ 103 unsigned char res2[0x54]; 104 unsigned int cleardataout; /* 0x90 */ 105 unsigned int setdataout; /* 0x94 */
|
/openbmc/u-boot/drivers/gpio/ |
H A D | zynq_gpio.c | 185 static int gpio_is_valid(unsigned gpio, struct udevice *dev) in gpio_is_valid() 192 static int check_gpio(unsigned gpio, struct udevice *dev) in check_gpio() 201 static int zynq_gpio_get_value(struct udevice *dev, unsigned gpio) in zynq_gpio_get_value() 218 static int zynq_gpio_set_value(struct udevice *dev, unsigned gpio, int value) in zynq_gpio_set_value() 249 static int zynq_gpio_direction_input(struct udevice *dev, unsigned gpio) in zynq_gpio_direction_input() 272 static int zynq_gpio_direction_output(struct udevice *dev, unsigned gpio, in zynq_gpio_direction_output()
|
H A D | gpio-uclass.c | 32 static int gpio_to_device(unsigned int gpio, struct gpio_desc *desc) in gpio_to_device() 322 int gpio_request(unsigned gpio, const char *label) in gpio_request() 344 int gpio_requestf(unsigned gpio, const char *fmt, ...) in gpio_requestf() 387 int gpio_free(unsigned gpio) in gpio_free() 426 int gpio_direction_input(unsigned gpio) in gpio_direction_input() 450 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() 570 int gpio_get_value(unsigned gpio) in gpio_get_value() 591 int gpio_set_value(unsigned gpio, int value) in gpio_set_value() 703 int gpio; in gpio_claim_vector() local 733 int gpio; in gpio_get_values_as_int() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | nv31.c | 36 u32 gpio = nvkm_rd32(device, 0x001104) & nvkm_rd32(device, 0x001144); in nv31_bus_intr() local 39 struct nvkm_gpio *gpio = device->gpio; in nv31_bus_intr() local
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-gpio.h | 27 QVhostUserGPIO gpio; member 32 QVhostUserGPIO gpio; member
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | gpio.c | 51 static int qe_gpio_get(struct gpio_chip *gc, unsigned int gpio) in qe_gpio_get() 60 static void qe_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in qe_gpio_set() 107 static int qe_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in qe_gpio_dir_in() 122 static int qe_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in qe_gpio_dir_out()
|