Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dof_gpio.h40 struct of_mm_gpio_chip { struct
42 void (*save_regs)(struct of_mm_gpio_chip *mm_gc); argument
46 static inline struct of_mm_gpio_chip *to_of_mm_gpio_chip(struct gpio_chip *gc) in to_of_mm_gpio_chip() argument
48 return container_of(gc, struct of_mm_gpio_chip, gc); in to_of_mm_gpio_chip()
55 struct of_mm_gpio_chip *mm_gc);
56 extern void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc);
/linux-4.4.14/drivers/gpio/
Dgpio-mpc8xxx.c34 struct of_mm_gpio_chip mm_gc;
53 to_mpc8xxx_gpio_chip(struct of_mm_gpio_chip *mm) in to_mpc8xxx_gpio_chip()
58 static void mpc8xxx_gpio_save_regs(struct of_mm_gpio_chip *mm) in mpc8xxx_gpio_save_regs()
73 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8572_gpio_get()
87 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_get()
94 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_set()
113 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_set_multiple()
138 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_dir_in()
153 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_dir_out()
188 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_to_irq()
[all …]
Dgpio-mpc5200.c35 struct of_mm_gpio_chip mmchip;
59 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_get()
73 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __mpc52xx_wkup_gpio_set()
102 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_dir_in()
126 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_dir_out()
226 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_get()
238 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __mpc52xx_simple_gpio_set()
266 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_dir_in()
290 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_dir_out()
Dgpio-altera.c39 struct of_mm_gpio_chip mmchip;
53 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_unmask()
71 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_mask()
133 struct of_mm_gpio_chip *mm_gc; in altera_gpio_get()
142 struct of_mm_gpio_chip *mm_gc; in altera_gpio_set()
162 struct of_mm_gpio_chip *mm_gc; in altera_gpio_direction_input()
183 struct of_mm_gpio_chip *mm_gc; in altera_gpio_direction_output()
213 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_edge_handler()
242 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_leveL_high_handler()
Dgpio-xilinx.c50 struct of_mm_gpio_chip mmchip;
94 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_get()
117 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_set()
149 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_dir_in()
182 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_dir_out()
212 static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc) in xgpio_save_regs()
Dgpio-mm-lantiq.c32 struct of_mm_gpio_chip mmchip;
64 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ltq_mm_set()
94 static void ltq_mm_save_regs(struct of_mm_gpio_chip *mm_gc) in ltq_mm_save_regs()
Dgpiolib-of.c284 struct of_mm_gpio_chip *mm_gc) in of_mm_gpiochip_add()
324 void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc) in of_mm_gpiochip_remove()
Dgpio-zevio.c63 struct of_mm_gpio_chip chip;
/linux-4.4.14/arch/powerpc/sysdev/
Dsimple_gpio.c28 struct of_mm_gpio_chip mm_gc;
35 static struct u8_gpio_chip *to_u8_gpio_chip(struct of_mm_gpio_chip *mm_gc) in to_u8_gpio_chip()
47 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in u8_gpio_get()
54 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in u8_gpio_set()
81 static void u8_gpio_save_regs(struct of_mm_gpio_chip *mm_gc) in u8_gpio_save_regs()
92 struct of_mm_gpio_chip *mm_gc; in u8_simple_gpiochip_add()
Dppc4xx_gpio.c60 struct of_mm_gpio_chip mm_gc;
71 to_ppc4xx_gpiochip(struct of_mm_gpio_chip *mm_gc) in to_ppc4xx_gpiochip()
78 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_get()
87 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __ppc4xx_gpio_set()
99 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_set()
114 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_dir_in()
144 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_dir_out()
183 struct of_mm_gpio_chip *mm_gc; in ppc4xx_add_gpiochips()
Dcpm1.c525 struct of_mm_gpio_chip mm_gc;
533 to_cpm1_gpio16_chip(struct of_mm_gpio_chip *mm_gc) in to_cpm1_gpio16_chip()
538 static void cpm1_gpio16_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm1_gpio16_save_regs()
548 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_get()
557 static void __cpm1_gpio16_set(struct of_mm_gpio_chip *mm_gc, u16 pin_mask, in __cpm1_gpio16_set()
573 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_set()
587 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_dir_out()
605 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_dir_in()
623 struct of_mm_gpio_chip *mm_gc; in cpm1_gpiochip_add16()
646 struct of_mm_gpio_chip mm_gc;
[all …]
Dcpm_common.c232 struct of_mm_gpio_chip mm_gc;
240 to_cpm2_gpio32_chip(struct of_mm_gpio_chip *mm_gc) in to_cpm2_gpio32_chip()
245 static void cpm2_gpio32_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm2_gpio32_save_regs()
255 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_get()
264 static void __cpm2_gpio32_set(struct of_mm_gpio_chip *mm_gc, u32 pin_mask, in __cpm2_gpio32_set()
280 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_set()
294 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_out()
312 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_in()
330 struct of_mm_gpio_chip *mm_gc; in cpm2_gpiochip_add32()
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Dgpio.c27 struct of_mm_gpio_chip mm_gc;
41 to_qe_gpio_chip(struct of_mm_gpio_chip *mm_gc) in to_qe_gpio_chip()
46 static void qe_gpio_save_regs(struct of_mm_gpio_chip *mm_gc) in qe_gpio_save_regs()
62 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_get()
71 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set()
91 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_in()
106 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_out()
143 struct of_mm_gpio_chip *mm_gc; in qe_pin_request()
284 struct of_mm_gpio_chip *mm_gc; in qe_add_gpiochips()
/linux-4.4.14/drivers/pinctrl/sirf/
Dpinctrl-sirf.c40 struct of_mm_gpio_chip chip;