• Home
  • Raw
  • Download

Lines Matching refs:mm_gc

225 	struct of_mm_gpio_chip mm_gc;  member
233 to_cpm2_gpio32_chip(struct of_mm_gpio_chip *mm_gc) in to_cpm2_gpio32_chip() argument
235 return container_of(mm_gc, struct cpm2_gpio32_chip, mm_gc); in to_cpm2_gpio32_chip()
238 static void cpm2_gpio32_save_regs(struct of_mm_gpio_chip *mm_gc) in cpm2_gpio32_save_regs() argument
240 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in cpm2_gpio32_save_regs()
241 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_save_regs()
248 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_get() local
249 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_get()
257 static void __cpm2_gpio32_set(struct of_mm_gpio_chip *mm_gc, u32 pin_mask, in __cpm2_gpio32_set() argument
260 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in __cpm2_gpio32_set()
261 struct cpm2_ioports __iomem *iop = mm_gc->regs; in __cpm2_gpio32_set()
273 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_set() local
274 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in cpm2_gpio32_set()
280 __cpm2_gpio32_set(mm_gc, pin_mask, value); in cpm2_gpio32_set()
287 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_out() local
288 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in cpm2_gpio32_dir_out()
289 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_dir_out()
296 __cpm2_gpio32_set(mm_gc, pin_mask, val); in cpm2_gpio32_dir_out()
305 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in cpm2_gpio32_dir_in() local
306 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in cpm2_gpio32_dir_in()
307 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_dir_in()
323 struct of_mm_gpio_chip *mm_gc; in cpm2_gpiochip_add32() local
333 mm_gc = &cpm2_gc->mm_gc; in cpm2_gpiochip_add32()
334 of_gc = &mm_gc->of_gc; in cpm2_gpiochip_add32()
337 mm_gc->save_regs = cpm2_gpio32_save_regs; in cpm2_gpiochip_add32()
345 return of_mm_gpiochip_add(np, mm_gc); in cpm2_gpiochip_add32()