/Linux-v6.6/drivers/gpio/ |
D | gpio-regmap.c | 48 static int gpio_regmap_simple_xlate(struct gpio_regmap *gpio, in gpio_regmap_simple_xlate() 63 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get() local 87 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set() local 101 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_with_clear() local 116 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get_direction() local 152 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_direction() local 192 void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio) in gpio_regmap_get_drvdata() 206 struct gpio_regmap *gpio; in gpio_regmap_register() local 301 void gpio_regmap_unregister(struct gpio_regmap *gpio) in gpio_regmap_unregister() 327 struct gpio_regmap *gpio; in devm_gpio_regmap_register() local
|
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
|
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 …]
|
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
|
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
|
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
|
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
|
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()
|
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()
|
D | gpio-aspeed-sgpio.c | 104 static void __iomem *bank_reg(struct aspeed_sgpio *gpio, in bank_reg() 171 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in aspeed_sgpio_get() local 189 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in sgpio_set_value() local 216 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in aspeed_sgpio_set() local 233 struct aspeed_sgpio *gpio = gpiochip_get_data(gc); in aspeed_sgpio_dir_out() local 253 struct aspeed_sgpio **gpio, in irqd_to_aspeed_sgpio_data() 271 struct aspeed_sgpio *gpio; in aspeed_sgpio_irq_ack() local 291 struct aspeed_sgpio *gpio; in aspeed_sgpio_irq_set_mask() local 341 struct aspeed_sgpio *gpio; in aspeed_sgpio_set_type() local 418 struct aspeed_sgpio *gpio; in aspeed_sgpio_irq_print_chip() local [all …]
|
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
|
D | gpio-crystalcove.c | 82 static inline int to_reg(int gpio, enum ctrl_register reg_type) in to_reg() 114 static void crystalcove_update_irq_mask(struct crystalcove_gpio *cg, int gpio) in crystalcove_update_irq_mask() 125 static void crystalcove_update_irq_ctrl(struct crystalcove_gpio *cg, int gpio) in crystalcove_update_irq_ctrl() 132 static int crystalcove_gpio_dir_in(struct gpio_chip *chip, unsigned int gpio) in crystalcove_gpio_dir_in() 143 static int crystalcove_gpio_dir_out(struct gpio_chip *chip, unsigned int gpio, int value) in crystalcove_gpio_dir_out() 154 static int crystalcove_gpio_get(struct gpio_chip *chip, unsigned int gpio) in crystalcove_gpio_get() 170 static void crystalcove_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) in crystalcove_gpio_set() 281 int gpio; in crystalcove_gpio_irq_handler() local 304 int gpio, offset; in crystalcove_gpio_dbg_show() local
|
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() 63 static int timbgpio_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in timbgpio_gpio_direction_input() 68 static int timbgpio_gpio_get(struct gpio_chip *gpio, unsigned nr) in timbgpio_gpio_get() 77 static int timbgpio_gpio_direction_output(struct gpio_chip *gpio, in timbgpio_gpio_direction_output() 83 static void timbgpio_gpio_set(struct gpio_chip *gpio, in timbgpio_gpio_set() 89 static int timbgpio_to_irq(struct gpio_chip *gpio, unsigned offset) in timbgpio_to_irq()
|
D | gpio-mb86s7x.c | 43 static int mb86s70_gpio_request(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_request() 60 static void mb86s70_gpio_free(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_free() 75 static int mb86s70_gpio_direction_input(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_direction_input() 93 unsigned gpio, int value) in mb86s70_gpio_direction_output() 117 static int mb86s70_gpio_get(struct gpio_chip *gc, unsigned gpio) in mb86s70_gpio_get() 124 static void mb86s70_gpio_set(struct gpio_chip *gc, unsigned gpio, int value) in mb86s70_gpio_set()
|
/Linux-v6.6/drivers/pinctrl/bcm/ |
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 353 static int iproc_gpio_direction_input(struct gpio_chip *gc, unsigned gpio) in iproc_gpio_direction_input() 367 static int iproc_gpio_direction_output(struct gpio_chip *gc, unsigned gpio, in iproc_gpio_direction_output() 383 static int iproc_gpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in iproc_gpio_get_direction() [all …]
|
/Linux-v6.6/arch/m68k/coldfire/ |
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-v6.6/arch/arm/boot/dts/intel/pxa/ |
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-v6.6/drivers/mfd/ |
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-v6.6/arch/mips/bcm63xx/ |
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-v6.6/include/linux/pinctrl/ |
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-v6.6/drivers/gpu/drm/amd/display/dc/gpio/ |
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-v6.6/drivers/pinctrl/starfive/ |
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 919 static int starfive_gpio_request(struct gpio_chip *gc, unsigned int gpio) in starfive_gpio_request() 924 static void starfive_gpio_free(struct gpio_chip *gc, unsigned int gpio) in starfive_gpio_free() 929 static int starfive_gpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in starfive_gpio_get_direction() 941 unsigned int gpio) in starfive_gpio_direction_input() 959 unsigned int gpio, int value) in starfive_gpio_direction_output() 979 static int starfive_gpio_get(struct gpio_chip *gc, unsigned int gpio) in starfive_gpio_get() [all …]
|
/Linux-v6.6/arch/powerpc/platforms/4xx/ |
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-v6.6/drivers/misc/mchp_pci1xxxx/ |
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 201 unsigned int gpio = irqd_to_hwirq(data); in pci1xxxx_gpio_set_type() local
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
D | ga102.c | 25 ga102_gpio_reset(struct nvkm_gpio *gpio, u8 match) in ga102_gpio_reset() 54 ga102_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in ga102_gpio_drive() 64 ga102_gpio_sense(struct nvkm_gpio *gpio, int line) in ga102_gpio_sense() 71 ga102_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in ga102_gpio_intr_stat() 85 ga102_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in ga102_gpio_intr_mask()
|