/openbmc/linux/drivers/pwm/ |
H A D | pwm-pca9685.c | 84 struct gpio_chip gpio; member 248 static int pca9685_pwm_gpio_request(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_request() 258 static int pca9685_pwm_gpio_get(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_get() 265 static void pca9685_pwm_gpio_set(struct gpio_chip *gpio, unsigned int offset, in pca9685_pwm_gpio_set() 273 static void pca9685_pwm_gpio_free(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_free() 289 static int pca9685_pwm_gpio_direction_input(struct gpio_chip *gpio, in pca9685_pwm_gpio_direction_input() 295 static int pca9685_pwm_gpio_direction_output(struct gpio_chip *gpio, in pca9685_pwm_gpio_direction_output()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-ml-ioh.c | 82 struct gpio_chip gpio; member 92 static void ioh_gpio_set(struct gpio_chip *gpio, unsigned nr, int val) in ioh_gpio_set() 109 static int ioh_gpio_get(struct gpio_chip *gpio, unsigned nr) in ioh_gpio_get() 116 static int ioh_gpio_direction_output(struct gpio_chip *gpio, unsigned nr, in ioh_gpio_direction_output() 142 static int ioh_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in ioh_gpio_direction_input() 210 static int ioh_gpio_to_irq(struct gpio_chip *gpio, unsigned offset) in ioh_gpio_to_irq() 218 struct gpio_chip *gpio = &chip->gpio; in ioh_gpio_setup() local
|
H A D | gpio-adnp.c | 15 #define GPIO_DDR(gpio) (0x00 << (gpio)->reg_shift) argument 16 #define GPIO_PLR(gpio) (0x01 << (gpio)->reg_shift) argument 17 #define GPIO_IER(gpio) (0x02 << (gpio)->reg_shift) argument 18 #define GPIO_ISR(gpio) (0x03 << (gpio)->reg_shift) argument 19 #define GPIO_PTR(gpio) (0x04 << (gpio)->reg_shift) argument 23 struct gpio_chip gpio; member
|
H A D | gpio-stp-xway.c | 101 static int xway_stp_get(struct gpio_chip *gc, unsigned int gpio) in xway_stp_get() 116 static void xway_stp_set(struct gpio_chip *gc, unsigned gpio, int val) in xway_stp_set() 137 static int xway_stp_dir_out(struct gpio_chip *gc, unsigned gpio, int val) in xway_stp_dir_out() 151 static int xway_stp_request(struct gpio_chip *gc, unsigned gpio) in xway_stp_request()
|
H A D | gpio-tb10x.c | 48 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) in tb10x_reg_read() 53 static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_reg_write() 59 static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_set_bits()
|
H A D | gpiolib-devres.c | 27 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match() local 325 unsigned *gpio = res; in devm_gpio_release() local 341 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label) in devm_gpio_request() 370 int devm_gpio_request_one(struct device *dev, unsigned gpio, in devm_gpio_request_one()
|
H A D | gpio-74xx-mmio.c | 88 static int mmio_74xx_dir_in(struct gpio_chip *gc, unsigned int gpio) in mmio_74xx_dir_in() 98 static int mmio_74xx_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mmio_74xx_dir_out()
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-input.c | 48 u32 gpio, data; in build_key() local 108 int gpio, rc; in get_key_flydvb_trio() local 165 int gpio, rc; in get_key_msi_tvanywhere_plus() local 216 unsigned int gpio; in get_key_kworld_pc150u() local 297 u32 gpio; in get_key_beholdm6xx() local
|
/openbmc/u-boot/board/renesas/sh7753evb/ |
H A D | sh7753evb.c | 24 struct gpio_regs *gpio = GPIO_BASE; in init_gpio() local 91 struct gpio_regs *gpio = GPIO_BASE; in init_gether_mdio() local 180 struct gpio_regs *gpio = GPIO_BASE; in board_mmc_init() local
|
/openbmc/u-boot/board/renesas/sh7752evb/ |
H A D | sh7752evb.c | 24 struct gpio_regs *gpio = GPIO_BASE; in init_gpio() local 84 struct gpio_regs *gpio = GPIO_BASE; in init_gether_mdio() local 164 struct gpio_regs *gpio = GPIO_BASE; in board_mmc_init() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | g94.c | 27 g94_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in g94_gpio_intr_stat() 41 g94_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in g94_gpio_intr_mask()
|
H A D | gk104.c | 27 gk104_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in gk104_gpio_intr_stat() 41 gk104_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in gk104_gpio_intr_mask()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | mscc_sgpio.c | 102 static int mscc_sgpio_direction_input(struct udevice *dev, unsigned int gpio) in mscc_sgpio_direction_input() 115 unsigned int gpio, int value) in mscc_sgpio_direction_output() 134 static int mscc_sgpio_get_function(struct udevice *dev, unsigned int gpio) in mscc_sgpio_get_function() 148 unsigned int gpio, int value) in mscc_sgpio_set_value() 153 static int mscc_sgpio_get_value(struct udevice *dev, unsigned int gpio) in mscc_sgpio_get_value()
|
H A D | at91_gpio.c | 463 int gpio_request(unsigned gpio, const char *label) in gpio_request() 468 int gpio_free(unsigned gpio) in gpio_free() 473 int gpio_direction_input(unsigned gpio) in gpio_direction_input() 480 int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() 487 int gpio_get_value(unsigned gpio) in gpio_get_value() 493 int gpio_set_value(unsigned gpio, int value) in gpio_set_value()
|
/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
H A D | led.c | 17 register struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE; in switch_LED_on() local 25 register struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE; in switch_LED_off() local
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-gpio.c | 166 int gpio, int direction, int val) in mxl111sf_hw_do_set_gpio() 548 static int mxl111sf_hw_set_gpio(struct mxl111sf_state *state, int gpio, int val) in mxl111sf_hw_set_gpio() 570 static int pca9534_set_gpio(struct mxl111sf_state *state, int gpio, int val) in pca9534_set_gpio() 627 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val) in mxl111sf_set_gpio()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-microchip-sgpio.c | 112 struct gpio_chip gpio; member 527 static int microchip_sgpio_direction_input(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_direction_input() 536 unsigned int gpio, int value) in microchip_sgpio_direction_output() 551 static int microchip_sgpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_get_direction() 559 unsigned int gpio, int value) in microchip_sgpio_set_value() 564 static int microchip_sgpio_get_value(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_get_value() 646 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_settype() local 681 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_setreg() local 712 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_ack() local 766 int bit, port, gpio; in sgpio_irq_handler() local
|
H A D | core.c | 281 unsigned int gpio) in gpio_to_pin() 299 pinctrl_match_gpio_range(struct pinctrl_dev *pctldev, unsigned gpio) in pinctrl_match_gpio_range() 331 static bool pinctrl_ready_for_gpio_range(unsigned gpio) in pinctrl_ready_for_gpio_range() 382 static int pinctrl_get_device_gpio_range(unsigned gpio, in pinctrl_get_device_gpio_range() 756 bool pinctrl_gpio_can_use_line(unsigned gpio) in pinctrl_gpio_can_use_line() 792 int pinctrl_gpio_request(unsigned gpio) in pinctrl_gpio_request() 827 void pinctrl_gpio_free(unsigned gpio) in pinctrl_gpio_free() 849 static int pinctrl_gpio_direction(unsigned gpio, bool input) in pinctrl_gpio_direction() 880 int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input() 894 int pinctrl_gpio_direction_output(unsigned gpio) in pinctrl_gpio_direction_output() [all …]
|
/openbmc/phosphor-gpio-monitor/test/ |
H A D | utest.cpp | 74 Monitor gpio(DEVICE, code, value, emptyTarget, eventP, false, in TEST_F() local 103 Monitor gpio(DEVICE, code, value, emptyTarget, eventP, false, in TEST_F() local
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | iomux-v3.c | 125 void imx_iomux_gpio_set_direction(unsigned int gpio, in imx_iomux_gpio_set_direction() 143 void imx_iomux_gpio_get_function(unsigned int gpio, u32 *gpio_state) in imx_iomux_gpio_get_function()
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | fixed.c | 17 struct gpio_desc gpio; /* GPIO for regulator enable control */ member 26 struct gpio_desc *gpio; in fixed_regulator_ofdata_to_platdata() local
|
H A D | gpio-regulator.c | 21 struct gpio_desc gpio; /* GPIO for regulator voltage control */ member 30 struct gpio_desc *gpio; in gpio_regulator_ofdata_to_platdata() local
|
/openbmc/phosphor-power/phosphor-power-sequencer/src/ |
H A D | rail.hpp | 96 const std::optional<GPIO>& gpio) : in Rail() 379 std::optional<GPIO> gpio{}; member in phosphor::power::sequencer::Rail
|
/openbmc/u-boot/board/ve8313/ |
H A D | ve8313.c | 119 volatile gpio83xx_t *gpio = (volatile gpio83xx_t *)im->gpio; in board_early_init_f() local 138 volatile gpio83xx_t *gpio = (volatile gpio83xx_t *)im->gpio; in hw_watchdog_reset() local
|
/openbmc/u-boot/board/freescale/m54455evb/ |
H A D | m54455evb.c | 35 gpio_t *gpio = (gpio_t *)(MMAP_GPIO); in dram_init() local 95 gpio_t *gpio = (gpio_t *) MMAP_GPIO; in ide_preinit() local
|