/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-tps65912.c | 26 struct tps65912_gpio *gpio = gpiochip_get_data(gc); in tps65912_gpio_get_direction() local 42 struct tps65912_gpio *gpio = gpiochip_get_data(gc); in tps65912_gpio_direction_input() local 51 struct tps65912_gpio *gpio = gpiochip_get_data(gc); in tps65912_gpio_direction_output() local 63 struct tps65912_gpio *gpio = gpiochip_get_data(gc); in tps65912_gpio_get() local 79 struct tps65912_gpio *gpio = gpiochip_get_data(gc); in tps65912_gpio_set() local 101 struct tps65912_gpio *gpio; in tps65912_gpio_probe() local
|
A D | gpio-regmap.c | 42 static int gpio_regmap_simple_xlate(struct gpio_regmap *gpio, in gpio_regmap_simple_xlate() 57 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get() local 81 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set() local 95 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_with_clear() local 110 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get_direction() local 146 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_direction() local 186 void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio) in gpio_regmap_get_drvdata() 200 struct gpio_regmap *gpio; in gpio_regmap_register() local 295 void gpio_regmap_unregister(struct gpio_regmap *gpio) in gpio_regmap_unregister() 321 struct gpio_regmap *gpio; in devm_gpio_regmap_register() local
|
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
|
A D | gpio-mmio.c | 132 static int bgpio_get_set(struct gpio_chip *gc, unsigned int gpio) in bgpio_get_set() 167 static int bgpio_get(struct gpio_chip *gc, unsigned int gpio) in bgpio_get() 214 static void bgpio_set_none(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_none() 218 static void bgpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set() 235 static void bgpio_set_with_clear(struct gpio_chip *gc, unsigned int gpio, in bgpio_set_with_clear() 246 static void bgpio_set_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_set() 327 static int bgpio_simple_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_simple_dir_in() 332 static int bgpio_dir_out_err(struct gpio_chip *gc, unsigned int gpio, in bgpio_dir_out_err() 338 static int bgpio_simple_dir_out(struct gpio_chip *gc, unsigned int gpio, in bgpio_simple_dir_out() 346 static int bgpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_dir_in() [all …]
|
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
|
A D | gpio-tps65086.c | 37 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_direction_output() local 48 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_get() local 61 struct tps65086_gpio *gpio = gpiochip_get_data(chip); in tps65086_gpio_set() local 82 struct tps65086_gpio *gpio; in tps65086_gpio_probe() local 106 struct tps65086_gpio *gpio = platform_get_drvdata(pdev); in tps65086_gpio_remove() local
|
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
|
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
|
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()
|
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()
|
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
|
A D | gpio-timberdale.c | 37 struct gpio_chip gpio; member 42 static int timbgpio_update_bit(struct gpio_chip *gpio, unsigned index, in timbgpio_update_bit() 62 static int timbgpio_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in timbgpio_gpio_direction_input() 67 static int timbgpio_gpio_get(struct gpio_chip *gpio, unsigned nr) in timbgpio_gpio_get() 76 static int timbgpio_gpio_direction_output(struct gpio_chip *gpio, in timbgpio_gpio_direction_output() 82 static void timbgpio_gpio_set(struct gpio_chip *gpio, in timbgpio_gpio_set() 88 static int timbgpio_to_irq(struct gpio_chip *gpio, unsigned offset) in timbgpio_to_irq()
|
A D | gpio-aspeed-sgpio.c | 103 static void __iomem *bank_reg(struct aspeed_sgpio *gpio, in bank_reg() 170 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in aspeed_sgpio_get() local 188 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in sgpio_set_value() local 215 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in aspeed_sgpio_set() local 232 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in aspeed_sgpio_dir_out() local 252 struct aspeed_sgpio **gpio, in irqd_to_aspeed_sgpio_data() 270 struct aspeed_sgpio *gpio; in aspeed_sgpio_irq_ack() local 290 struct aspeed_sgpio *gpio; in aspeed_sgpio_irq_set_mask() local 330 struct aspeed_sgpio *gpio; in aspeed_sgpio_set_type() local 463 struct aspeed_sgpio *gpio = gpiochip_get_data(chip); in aspeed_sgpio_reset_tolerance() local [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath5k/ |
A D | gpio.c | 106 ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_input() 124 ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_output() 142 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_get_gpio() 159 ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) in ath5k_hw_set_gpio() 189 ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, in ath5k_hw_set_gpio_intr()
|
/linux-6.3-rc2/arch/sh/include/asm/ |
A D | gpio.h | 23 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() 28 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() 33 static inline int gpio_cansleep(unsigned gpio) in gpio_cansleep() 38 static inline int gpio_to_irq(unsigned gpio) in gpio_to_irq()
|
/linux-6.3-rc2/drivers/pinctrl/bcm/ |
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 = d->hwirq; in iproc_gpio_irq_set_mask() local 251 unsigned gpio = d->hwirq; in iproc_gpio_irq_set_type() local 311 unsigned gpio = gc->base + offset; in iproc_gpio_request() local 323 unsigned gpio = gc->base + offset; in iproc_gpio_free() local 385 static int iproc_gpio_get(struct gpio_chip *gc, unsigned gpio) in iproc_gpio_get() 476 static int iproc_gpio_set_pull(struct iproc_gpio *chip, unsigned gpio, in iproc_gpio_set_pull() 628 unsigned gpio = iproc_pin_to_gpio(pin); in iproc_pin_config_get() local [all …]
|
/linux-6.3-rc2/arch/m68k/coldfire/ |
A D | gpio.c | 19 int __mcfgpio_get_value(unsigned gpio) in __mcfgpio_get_value() 25 void __mcfgpio_set_value(unsigned gpio, int value) in __mcfgpio_set_value() 50 int __mcfgpio_direction_input(unsigned gpio) in __mcfgpio_direction_input() 65 int __mcfgpio_direction_output(unsigned gpio, int value) in __mcfgpio_direction_output() 96 int __mcfgpio_request(unsigned gpio) in __mcfgpio_request() 102 void __mcfgpio_free(unsigned gpio) in __mcfgpio_free()
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
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
|
/linux-6.3-rc2/drivers/mfd/ |
A D | pcf50633-gpio.c | 33 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val) in pcf50633_gpio_set() 43 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_get() 54 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) in pcf50633_gpio_invert_set() 65 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_invert_get() 77 int gpio, int regulator, int on) in pcf50633_gpio_power_supply_set()
|
/linux-6.3-rc2/arch/mips/bcm63xx/ |
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()
|
/linux-6.3-rc2/include/linux/pinctrl/ |
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()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/gpio/ |
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()
|
/linux-6.3-rc2/drivers/pinctrl/starfive/ |
A D | pinctrl-starfive-jh7100.c | 223 unsigned int gpio) in starfive_gpio_to_pin() 457 unsigned int gpio = starfive_pin_to_gpio(sfp, pin); in starfive_pin_dbg_show() local 560 unsigned int gpio = starfive_pinmux_to_gpio(pinmux[i]); in starfive_dt_node_to_map() local 659 unsigned int gpio = starfive_pinmux_to_gpio(v); in starfive_set_mux() local 941 unsigned int gpio) in starfive_gpio_direction_input() 959 unsigned int gpio, int value) in starfive_gpio_direction_output() 1061 irq_hw_number_t gpio = irqd_to_hwirq(d); in starfive_irq_ack() local 1074 irq_hw_number_t gpio = irqd_to_hwirq(d); in starfive_irq_mask() local 1091 irq_hw_number_t gpio = irqd_to_hwirq(d); in starfive_irq_mask_ack() local 1108 irq_hw_number_t gpio = irqd_to_hwirq(d); in starfive_irq_unmask() local [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/4xx/ |
A D | gpio.c | 22 #define GPIO_MASK(gpio) (0x80000000 >> (gpio)) argument 23 #define GPIO_MASK2(gpio) (0xc0000000 >> ((gpio) * 2)) argument 58 static int ppc4xx_gpio_get(struct gpio_chip *gc, unsigned int gpio) in ppc4xx_gpio_get() 67 __ppc4xx_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in __ppc4xx_gpio_set() 79 ppc4xx_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in ppc4xx_gpio_set() 93 static int ppc4xx_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in ppc4xx_gpio_dir_in() 123 ppc4xx_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in ppc4xx_gpio_dir_out()
|
/linux-6.3-rc2/drivers/misc/mchp_pci1xxxx/ |
A D | mchp_pci1xxxx_gpio.c | 40 struct gpio_chip gpio; member 45 static int pci1xxxx_gpio_get_direction(struct gpio_chip *gpio, unsigned int nr) in pci1xxxx_gpio_get_direction() 76 static int pci1xxxx_gpio_direction_input(struct gpio_chip *gpio, unsigned int nr) in pci1xxxx_gpio_direction_input() 89 static int pci1xxxx_gpio_get(struct gpio_chip *gpio, unsigned int nr) in pci1xxxx_gpio_get() 96 static int pci1xxxx_gpio_direction_output(struct gpio_chip *gpio, in pci1xxxx_gpio_direction_output() 117 static void pci1xxxx_gpio_set(struct gpio_chip *gpio, in pci1xxxx_gpio_set() 128 static int pci1xxxx_gpio_set_config(struct gpio_chip *gpio, unsigned int offset, in pci1xxxx_gpio_set_config() 163 unsigned int gpio = irqd_to_hwirq(data); in pci1xxxx_gpio_irq_ack() local 175 unsigned int gpio = irqd_to_hwirq(data); in pci1xxxx_gpio_irq_set_mask() local 197 unsigned int gpio = irqd_to_hwirq(data); in pci1xxxx_gpio_set_type() local
|