Searched refs:of_mm_gpio_chip (Results 1 – 6 of 6) sorted by relevance
20 struct of_mm_gpio_chip { struct22 void (*save_regs)(struct of_mm_gpio_chip *mm_gc); argument26 static inline struct of_mm_gpio_chip *to_of_mm_gpio_chip(struct gpio_chip *gc) in to_of_mm_gpio_chip() argument28 return container_of(gc, struct of_mm_gpio_chip, gc); in to_of_mm_gpio_chip()32 struct of_mm_gpio_chip *mm_gc,34 extern void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc);
100 struct of_mm_gpio_chip mm_gc;107 static void cpm2_gpio32_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm2_gpio32_save_regs()118 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_get()127 static void __cpm2_gpio32_set(struct of_mm_gpio_chip *mm_gc, u32 pin_mask, in __cpm2_gpio32_set()143 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_set()157 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_out()175 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_in()194 struct of_mm_gpio_chip *mm_gc; in cpm2_gpiochip_add32()
48 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()
26 struct of_mm_gpio_chip mm_gc;36 static void qe_gpio_save_regs(struct of_mm_gpio_chip *mm_gc) in qe_gpio_save_regs()53 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_get()62 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set()83 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set_multiple()109 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_in()124 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_out()301 struct of_mm_gpio_chip *mm_gc; in qe_add_gpiochips()
997 struct of_mm_gpio_chip *mm_gc, in of_mm_gpiochip_add_data()1039 void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc) in of_mm_gpiochip_remove()
45 This adds support for the legacy 'struct of_mm_gpio_chip' interface