Lines Matching refs:mm_gc

25 	struct of_mm_gpio_chip mm_gc;  member
38 static void qe_gpio_save_regs(struct of_mm_gpio_chip *mm_gc) in qe_gpio_save_regs() argument
41 container_of(mm_gc, struct qe_gpio_chip, mm_gc); in qe_gpio_save_regs()
42 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_save_regs()
55 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_get() local
56 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_get()
64 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set() local
66 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_set()
85 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set_multiple() local
87 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_set_multiple()
111 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_in() local
117 __par_io_config_pin(mm_gc->regs, gpio, QE_PIO_DIR_IN, 0, 0, 0); in qe_gpio_dir_in()
126 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_out() local
134 __par_io_config_pin(mm_gc->regs, gpio, QE_PIO_DIR_OUT, 0, 0, 0); in qe_gpio_dir_out()
245 struct qe_pio_regs __iomem *regs = qe_gc->mm_gc.regs; in qe_pin_set_dedicated()
289 struct qe_pio_regs __iomem *regs = qe_gc->mm_gc.regs; in qe_pin_set_gpio()
308 struct of_mm_gpio_chip *mm_gc; in qe_add_gpiochips() local
319 mm_gc = &qe_gc->mm_gc; in qe_add_gpiochips()
320 gc = &mm_gc->gc; in qe_add_gpiochips()
322 mm_gc->save_regs = qe_gpio_save_regs; in qe_add_gpiochips()
330 ret = of_mm_gpiochip_add_data(np, mm_gc, qe_gc); in qe_add_gpiochips()