/openbmc/skeleton/libopenbmc_intf/ |
H A D | gpio.c | 25 int gpio_write(GPIO* gpio, uint8_t value) in gpio_write() 45 int gpio_read(GPIO* gpio, uint8_t *value) in gpio_read() 172 int convert_gpio_to_num(const char* gpio) in convert_gpio_to_num() 267 int gpio_get_params(GPIO* gpio) in gpio_get_params() 308 int gpio_open(GPIO* gpio, uint8_t default_value) in gpio_open() 353 void gpio_close(GPIO* gpio) in gpio_close()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-lp873x.c | 41 struct lp873x_gpio *gpio = gpiochip_get_data(chip); in lp873x_gpio_direction_output() local 51 struct lp873x_gpio *gpio = gpiochip_get_data(chip); in lp873x_gpio_get() local 64 struct lp873x_gpio *gpio = gpiochip_get_data(chip); in lp873x_gpio_set() local 73 struct lp873x_gpio *gpio = gpiochip_get_data(gc); in lp873x_gpio_request() local 98 struct lp873x_gpio *gpio = gpiochip_get_data(gc); in lp873x_gpio_set_config() local 136 struct lp873x_gpio *gpio; in lp873x_gpio_probe() local
|
H A D | gpio-da9055.c | 35 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_get() local 64 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_set() local 74 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_direction_input() local 90 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_direction_output() local 112 struct da9055_gpio *gpio = gpiochip_get_data(gc); in da9055_gpio_to_irq() local 134 struct da9055_gpio *gpio; in da9055_gpio_probe() local
|
H A D | gpio-mmio.c | 134 static int bgpio_get_set(struct gpio_chip *gc, unsigned int gpio) in bgpio_get_set() 169 static int bgpio_get(struct gpio_chip *gc, unsigned int gpio) in bgpio_get() 216 static void bgpio_set_none(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_none() 220 static void bgpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set() 237 static void bgpio_set_with_clear(struct gpio_chip *gc, unsigned int gpio, in bgpio_set_with_clear() 248 static void bgpio_set_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_set() 329 static int bgpio_simple_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_simple_dir_in() 334 static int bgpio_dir_out_err(struct gpio_chip *gc, unsigned int gpio, in bgpio_dir_out_err() 340 static int bgpio_simple_dir_out(struct gpio_chip *gc, unsigned int gpio, in bgpio_simple_dir_out() 348 static int bgpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_dir_in() [all …]
|
H A D | gpio-tps65219.c | 28 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_get_direction() local 43 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_get() local 72 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_set() local 88 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_change_direction() local 119 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_direction_input() local 161 struct tps65219_gpio *gpio; in tps65219_gpio_probe() local
|
H A D | gpio-octeon.c | 44 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_dir_in() local 52 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_set() local 61 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_dir_out() local 75 struct octeon_gpio *gpio = gpiochip_get_data(chip); in octeon_gpio_get() local 83 struct octeon_gpio *gpio; in octeon_gpio_probe() local
|
H A D | gpio-da9052.c | 55 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_get() local 94 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_set() local 120 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_direction_input() local 146 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_direction_output() local 171 struct da9052_gpio *gpio = gpiochip_get_data(gc); in da9052_gpio_to_irq() local 196 struct da9052_gpio *gpio; in da9052_gpio_probe() local
|
H A D | gpio-vx855.c | 35 struct gpio_chip gpio; member 80 static int vx855gpio_direction_input(struct gpio_chip *gpio, in vx855gpio_direction_input() 105 static int vx855gpio_get(struct gpio_chip *gpio, unsigned int nr) in vx855gpio_get() 130 static void vx855gpio_set(struct gpio_chip *gpio, unsigned int nr, in vx855gpio_set() 158 static int vx855gpio_direction_output(struct gpio_chip *gpio, in vx855gpio_direction_output() 173 static int vx855gpio_set_config(struct gpio_chip *gpio, unsigned int nr, in vx855gpio_set_config()
|
H A D | gpio-kempld.c | 60 struct kempld_gpio_data *gpio = gpiochip_get_data(chip); in kempld_gpio_get() local 68 struct kempld_gpio_data *gpio = gpiochip_get_data(chip); in kempld_gpio_set() local 78 struct kempld_gpio_data *gpio = gpiochip_get_data(chip); in kempld_gpio_direction_input() local 91 struct kempld_gpio_data *gpio = gpiochip_get_data(chip); in kempld_gpio_direction_output() local 104 struct kempld_gpio_data *gpio = gpiochip_get_data(chip); in kempld_gpio_get_direction() local 138 struct kempld_gpio_data *gpio; in kempld_gpio_probe() local
|
H A D | gpio-max3191x.c | 73 struct gpio_chip gpio; member 96 static int max3191x_get_direction(struct gpio_chip *gpio, unsigned int offset) in max3191x_get_direction() 101 static int max3191x_direction_input(struct gpio_chip *gpio, unsigned int offset) in max3191x_direction_input() 106 static int max3191x_direction_output(struct gpio_chip *gpio, in max3191x_direction_output() 112 static void max3191x_set(struct gpio_chip *gpio, unsigned int offset, int value) in max3191x_set() 115 static void max3191x_set_multiple(struct gpio_chip *gpio, unsigned long *mask, in max3191x_set_multiple() 207 static int max3191x_get(struct gpio_chip *gpio, unsigned int offset) in max3191x_get() 232 static int max3191x_get_multiple(struct gpio_chip *gpio, unsigned long *mask, in max3191x_get_multiple() 266 static int max3191x_set_config(struct gpio_chip *gpio, unsigned int offset, in max3191x_set_config()
|
/openbmc/phosphor-power/phosphor-power-sequencer/test/ |
H A D | rail_tests.cpp | 39 GPIO gpio; in TEST() local 46 GPIO gpio{48, true}; in TEST() local 62 std::optional<GPIO> gpio{}; in TEST() local 150 std::optional<GPIO> gpio{}; in TEST() local 169 std::optional<GPIO> gpio{}; in TEST() local 209 std::optional<GPIO> gpio{}; in TEST() local 247 std::optional<GPIO> gpio{}; in TEST() local 267 std::optional<GPIO> gpio{}; in TEST() local 287 std::optional<GPIO> gpio{}; in TEST() local 344 std::optional<GPIO> gpio{}; in TEST() local [all …]
|
/openbmc/linux/arch/arm/boot/dts/intel/pxa/ |
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 170 gpio: gpio@40e00000 { label
|
/openbmc/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-iproc-gpio.c | 142 unsigned gpio, bool set) in iproc_set_bit() 157 unsigned gpio) in iproc_get_bit() 201 unsigned gpio = d->hwirq; in iproc_gpio_irq_ack() local 220 unsigned gpio = irqd_to_hwirq(d); in iproc_gpio_irq_set_mask() local 253 unsigned gpio = d->hwirq; in iproc_gpio_irq_set_type() local 333 unsigned gpio = gc->base + offset; in iproc_gpio_request() local 345 unsigned gpio = gc->base + offset; in iproc_gpio_free() local 407 static int iproc_gpio_get(struct gpio_chip *gc, unsigned gpio) in iproc_gpio_get() 498 static int iproc_gpio_set_pull(struct iproc_gpio *chip, unsigned gpio, in iproc_gpio_set_pull() 650 unsigned gpio = iproc_pin_to_gpio(pin); in iproc_pin_config_get() local [all …]
|
/openbmc/linux/arch/mips/bcm63xx/ |
H A D | gpio.c | 39 unsigned gpio, int val) in bcm63xx_gpio_set() 67 static int bcm63xx_gpio_get(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_get() 86 unsigned gpio, int dir) in bcm63xx_gpio_set_direction() 115 static int bcm63xx_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcm63xx_gpio_direction_input() 121 unsigned gpio, int value) in bcm63xx_gpio_direction_output()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | vybrid_gpio.c | 23 static int vybrid_gpio_direction_input(struct udevice *dev, unsigned gpio) in vybrid_gpio_direction_input() 33 static int vybrid_gpio_direction_output(struct udevice *dev, unsigned gpio, in vybrid_gpio_direction_output() 45 static int vybrid_gpio_get_value(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_value() 52 static int vybrid_gpio_set_value(struct udevice *dev, unsigned gpio, in vybrid_gpio_set_value() 64 static int vybrid_gpio_get_function(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_function()
|
H A D | bcm2835_gpio.c | 20 static int bcm2835_gpio_direction_input(struct udevice *dev, unsigned gpio) in bcm2835_gpio_direction_input() 33 static int bcm2835_gpio_direction_output(struct udevice *dev, unsigned int gpio, in bcm2835_gpio_direction_output() 49 static int bcm2835_get_value(const struct bcm2835_gpios *gpios, unsigned gpio) in bcm2835_get_value() 58 static int bcm2835_gpio_get_value(struct udevice *dev, unsigned gpio) in bcm2835_gpio_get_value() 65 static int bcm2835_gpio_set_value(struct udevice *dev, unsigned gpio, in bcm2835_gpio_set_value()
|
H A D | mxs_gpio.c | 54 int gpio_get_value(unsigned gpio) in gpio_get_value() 64 void gpio_set_value(unsigned gpio, int value) in gpio_set_value() 77 int gpio_direction_input(unsigned gpio) in gpio_direction_input() 89 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() 103 int gpio_request(unsigned gpio, const char *label) in gpio_request() 111 int gpio_free(unsigned gpio) in gpio_free()
|
H A D | hi6220_gpio.c | 13 static int hi6220_gpio_direction_input(struct udevice *dev, unsigned int gpio) in hi6220_gpio_direction_input() 25 static int hi6220_gpio_set_value(struct udevice *dev, unsigned gpio, in hi6220_gpio_set_value() 34 static int hi6220_gpio_direction_output(struct udevice *dev, unsigned gpio, in hi6220_gpio_direction_output() 49 static int hi6220_gpio_get_value(struct udevice *dev, unsigned gpio) in hi6220_gpio_get_value()
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | consumer.h | 66 static inline bool pinctrl_gpio_can_use_line(unsigned gpio) in pinctrl_gpio_can_use_line() 71 static inline int pinctrl_gpio_request(unsigned gpio) in pinctrl_gpio_request() 76 static inline void pinctrl_gpio_free(unsigned gpio) in pinctrl_gpio_free() 80 static inline int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input() 85 static inline int pinctrl_gpio_direction_output(unsigned gpio) in pinctrl_gpio_direction_output() 90 static inline int pinctrl_gpio_set_config(unsigned gpio, unsigned long config) in pinctrl_gpio_set_config()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | hw_gpio.c | 43 struct hw_gpio *gpio) in store_registers() 52 struct hw_gpio *gpio) in restore_registers() 77 const struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_get_value() local 99 struct hw_gpio *gpio = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_set_value() local 142 struct hw_gpio *gpio, in dal_hw_gpio_config_mode()
|
/openbmc/u-boot/arch/m68k/cpu/mcf52x2/ |
H A D | cpu_init.c | 124 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local 162 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local 337 gpio_t *gpio = (gpio_t *) (MMAP_GPIO); in cpu_init_f() local 408 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local 430 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in fecpin_setclear() local 491 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in uart_port_conf() local 514 gpio_t *gpio = (gpio_t *)MMAP_GPIO; in fecpin_setclear() local
|
/openbmc/phosphor-power/phosphor-power-sequencer/config_files/ |
H A D | BlueRidge.json | 38 "gpio": { "line": 72 } object 44 "gpio": { "line": 73 } object 80 "gpio": { "line": 74 } object 86 "gpio": { "line": 75 } object 92 "gpio": { "line": 76 } object 98 "gpio": { "line": 77 } object 104 "gpio": { "line": 78 } object 110 "gpio": { "line": 79 } object
|
H A D | Rainier.json | 38 "gpio": { "line": 72 } object 44 "gpio": { "line": 73 } object 80 "gpio": { "line": 74 } object 86 "gpio": { "line": 75 } object 92 "gpio": { "line": 76 } object 98 "gpio": { "line": 77 } object 104 "gpio": { "line": 78 } object 110 "gpio": { "line": 79 } object
|
H A D | Everest.json | 30 "gpio": { "line": 72 } object 36 "gpio": { "line": 73 } object 43 "gpio": { "line": 74 } object 50 "gpio": { "line": 75 } object 160 "gpio": { "line": 76 } object 166 "gpio": { "line": 77 } object 173 "gpio": { "line": 78 } object 180 "gpio": { "line": 79 } object 185 "gpio": { "line": 59 } object 190 "gpio": { "line": 60 } object [all …]
|
H A D | Fuji.json | 30 "gpio": { "line": 72 } object 36 "gpio": { "line": 73 } object 43 "gpio": { "line": 74 } object 50 "gpio": { "line": 75 } object 160 "gpio": { "line": 76 } object 166 "gpio": { "line": 77 } object 173 "gpio": { "line": 78 } object 180 "gpio": { "line": 79 } object 185 "gpio": { "line": 59 } object 190 "gpio": { "line": 60 } object [all …]
|