Lines Matching refs:mm_gc
59 struct of_mm_gpio_chip mm_gc; member
70 to_ppc4xx_gpiochip(struct of_mm_gpio_chip *mm_gc) in to_ppc4xx_gpiochip() argument
72 return container_of(mm_gc, struct ppc4xx_gpio_chip, mm_gc); in to_ppc4xx_gpiochip()
77 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_get() local
78 struct ppc4xx_gpio __iomem *regs = mm_gc->regs; in ppc4xx_gpio_get()
86 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __ppc4xx_gpio_set() local
87 struct ppc4xx_gpio __iomem *regs = mm_gc->regs; in __ppc4xx_gpio_set()
98 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_set() local
99 struct ppc4xx_gpio_chip *chip = to_ppc4xx_gpiochip(mm_gc); in ppc4xx_gpio_set()
113 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_dir_in() local
114 struct ppc4xx_gpio_chip *chip = to_ppc4xx_gpiochip(mm_gc); in ppc4xx_gpio_dir_in()
115 struct ppc4xx_gpio __iomem *regs = mm_gc->regs; in ppc4xx_gpio_dir_in()
143 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in ppc4xx_gpio_dir_out() local
144 struct ppc4xx_gpio_chip *chip = to_ppc4xx_gpiochip(mm_gc); in ppc4xx_gpio_dir_out()
145 struct ppc4xx_gpio __iomem *regs = mm_gc->regs; in ppc4xx_gpio_dir_out()
182 struct of_mm_gpio_chip *mm_gc; in ppc4xx_add_gpiochips() local
194 mm_gc = &ppc4xx_gc->mm_gc; in ppc4xx_add_gpiochips()
195 of_gc = &mm_gc->of_gc; in ppc4xx_add_gpiochips()
205 ret = of_mm_gpiochip_add(np, mm_gc); in ppc4xx_add_gpiochips()