Home
last modified time | relevance | path

Searched refs:of_mm_gpio_chip (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/include/linux/
Dof_gpio.h41 struct of_mm_gpio_chip { struct
43 void (*save_regs)(struct of_mm_gpio_chip *mm_gc); argument
47 static inline struct of_mm_gpio_chip *to_of_mm_gpio_chip(struct gpio_chip *gc) in to_of_mm_gpio_chip() argument
49 return container_of(gc, struct of_mm_gpio_chip, gc); in to_of_mm_gpio_chip()
56 struct of_mm_gpio_chip *mm_gc,
59 struct of_mm_gpio_chip *mm_gc) in of_mm_gpiochip_add()
63 extern void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc);
/linux-5.19.10/arch/powerpc/sysdev/
Dcpm_common.c102 struct of_mm_gpio_chip mm_gc;
109 static void cpm2_gpio32_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm2_gpio32_save_regs()
120 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_get()
129 static void __cpm2_gpio32_set(struct of_mm_gpio_chip *mm_gc, u32 pin_mask, in __cpm2_gpio32_set()
145 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_set()
159 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_out()
177 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_in()
196 struct of_mm_gpio_chip *mm_gc; in cpm2_gpiochip_add32()
/linux-5.19.10/arch/powerpc/platforms/8xx/
Dcpm1.c382 struct of_mm_gpio_chip mm_gc;
392 static void cpm1_gpio16_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm1_gpio16_save_regs()
403 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_get()
412 static void __cpm1_gpio16_set(struct of_mm_gpio_chip *mm_gc, u16 pin_mask, in __cpm1_gpio16_set()
428 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_set()
442 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_to_irq()
450 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_dir_out()
468 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_dir_in()
487 struct of_mm_gpio_chip *mm_gc; in cpm1_gpiochip_add16()
522 struct of_mm_gpio_chip mm_gc;
[all …]
/linux-5.19.10/drivers/gpio/
Dgpio-mpc5200.c22 struct of_mm_gpio_chip mmchip;
46 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_get()
60 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __mpc52xx_wkup_gpio_set()
88 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_dir_in()
111 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_dir_out()
210 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_get()
222 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __mpc52xx_simple_gpio_set()
249 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_dir_in()
272 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_dir_out()
Dgpio-altera.c30 struct of_mm_gpio_chip mmchip;
40 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_unmask()
58 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_mask()
108 struct of_mm_gpio_chip *mm_gc; in altera_gpio_get()
117 struct of_mm_gpio_chip *mm_gc; in altera_gpio_set()
137 struct of_mm_gpio_chip *mm_gc; in altera_gpio_direction_input()
158 struct of_mm_gpio_chip *mm_gc; in altera_gpio_direction_output()
188 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_edge_handler()
215 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_leveL_high_handler()
Dgpio-mm-lantiq.c30 struct of_mm_gpio_chip mmchip;
90 static void ltq_mm_save_regs(struct of_mm_gpio_chip *mm_gc) in ltq_mm_save_regs()
Dgpiolib-of.c844 struct of_mm_gpio_chip *mm_gc, in of_mm_gpiochip_add_data()
886 void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc) in of_mm_gpiochip_remove()
DTODO62 - Get rid of struct of_mm_gpio_chip altogether: use the generic MMIO
63 GPIO for all current users (see below). Delete struct of_mm_gpio_chip,
/linux-5.19.10/arch/powerpc/platforms/4xx/
Dgpio.c48 struct of_mm_gpio_chip mm_gc;
60 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_get()
69 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __ppc4xx_gpio_set()
95 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_dir_in()
125 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_dir_out()
164 struct of_mm_gpio_chip *mm_gc; in ppc4xx_add_gpiochips()
/linux-5.19.10/drivers/soc/fsl/qe/
Dgpio.c25 struct of_mm_gpio_chip mm_gc;
38 static void qe_gpio_save_regs(struct of_mm_gpio_chip *mm_gc) in qe_gpio_save_regs()
55 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_get()
64 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set()
85 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set_multiple()
111 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_in()
126 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_out()
308 struct of_mm_gpio_chip *mm_gc; in qe_add_gpiochips()