Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpio/
Dgpio-mpc8xxx.c32 struct of_mm_gpio_chip mm_gc;
50 to_mpc8xxx_gpio_chip(struct of_mm_gpio_chip *mm) in to_mpc8xxx_gpio_chip()
55 static void mpc8xxx_gpio_save_regs(struct of_mm_gpio_chip *mm) in mpc8xxx_gpio_save_regs()
70 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8572_gpio_get()
84 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_get()
91 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_set()
109 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_dir_in()
124 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_dir_out()
150 struct of_mm_gpio_chip *mm = to_of_mm_gpio_chip(gc); in mpc8xxx_gpio_to_irq()
163 struct of_mm_gpio_chip *mm = &mpc8xxx_gc->mm_gc; in mpc8xxx_gpio_irq_cascade()
[all …]
Dgpio-xilinx.c30 struct of_mm_gpio_chip mmchip;
46 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_get()
63 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_set()
91 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_dir_in()
119 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in xgpio_dir_out()
145 static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc) in xgpio_save_regs()
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()
221 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_get()
233 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __mpc52xx_simple_gpio_set()
261 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_dir_in()
285 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_dir_out()
Dgpio-ge.c60 struct of_mm_gpio_chip *mmchip = to_of_mm_gpio_chip(chip); in gef_gpio_dir_in()
72 struct of_mm_gpio_chip *mmchip = to_of_mm_gpio_chip(chip); in gef_gpio_dir_out()
88 struct of_mm_gpio_chip *mmchip = to_of_mm_gpio_chip(chip); in gef_gpio_get()
98 struct of_mm_gpio_chip *mmchip = to_of_mm_gpio_chip(chip); in gef_gpio_set()
107 struct of_mm_gpio_chip *gef_gpio_chip; in gef_gpio_init()
/linux-3.4.99/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.c524 struct of_mm_gpio_chip mm_gc;
532 to_cpm1_gpio16_chip(struct of_mm_gpio_chip *mm_gc) in to_cpm1_gpio16_chip()
537 static void cpm1_gpio16_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm1_gpio16_save_regs()
547 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_get()
556 static void __cpm1_gpio16_set(struct of_mm_gpio_chip *mm_gc, u16 pin_mask, in __cpm1_gpio16_set()
572 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_set()
586 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_dir_out()
604 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm1_gpio16_dir_in()
622 struct of_mm_gpio_chip *mm_gc; in cpm1_gpiochip_add16()
645 struct of_mm_gpio_chip mm_gc;
[all …]
Dcpm_common.c230 struct of_mm_gpio_chip mm_gc;
238 to_cpm2_gpio32_chip(struct of_mm_gpio_chip *mm_gc) in to_cpm2_gpio32_chip()
243 static void cpm2_gpio32_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm2_gpio32_save_regs()
253 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_get()
262 static void __cpm2_gpio32_set(struct of_mm_gpio_chip *mm_gc, u32 pin_mask, in __cpm2_gpio32_set()
278 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_set()
292 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_out()
310 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_in()
328 struct of_mm_gpio_chip *mm_gc; in cpm2_gpiochip_add32()
/linux-3.4.99/include/linux/
Dof_gpio.h39 struct of_mm_gpio_chip { struct
41 void (*save_regs)(struct of_mm_gpio_chip *mm_gc); argument
45 static inline struct of_mm_gpio_chip *to_of_mm_gpio_chip(struct gpio_chip *gc) in to_of_mm_gpio_chip() argument
47 return container_of(gc, struct of_mm_gpio_chip, gc); in to_of_mm_gpio_chip()
57 struct of_mm_gpio_chip *mm_gc);
/linux-3.4.99/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-3.4.99/drivers/of/
Dgpio.c173 struct of_mm_gpio_chip *mm_gc) in of_mm_gpiochip_add()