Lines Matching defs:ioh_gpio
66 * struct ioh_gpio - GPIO private data structure.
78 struct ioh_gpio {
95 struct ioh_gpio *chip = gpiochip_get_data(gpio);
111 struct ioh_gpio *chip = gpiochip_get_data(gpio);
119 struct ioh_gpio *chip = gpiochip_get_data(gpio);
144 struct ioh_gpio *chip = gpiochip_get_data(gpio);
161 static void __maybe_unused ioh_gpio_save_reg_conf(struct ioh_gpio *chip)
187 static void __maybe_unused ioh_gpio_restore_reg_conf(struct ioh_gpio *chip)
212 struct ioh_gpio *chip = gpiochip_get_data(gpio);
216 static void ioh_gpio_setup(struct ioh_gpio *chip, int num_port)
244 struct ioh_gpio *chip = gc->private;
305 struct ioh_gpio *chip = gc->private;
314 struct ioh_gpio *chip = gc->private;
323 struct ioh_gpio *chip = gc->private;
337 struct ioh_gpio *chip = gc->private;
350 struct ioh_gpio *chip = dev_id;
372 static int ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip,
380 gc = devm_irq_alloc_generic_chip(chip->dev, "ioh_gpio", 1, irq_start,
407 struct ioh_gpio *chip;
482 struct ioh_gpio *chip = dev_get_drvdata(dev);
494 struct ioh_gpio *chip = dev_get_drvdata(dev);