• Home
  • Raw
  • Download

Lines Matching refs:mm_gc

25 	struct of_mm_gpio_chip mm_gc;  member
39 to_qe_gpio_chip(struct of_mm_gpio_chip *mm_gc) in to_qe_gpio_chip() argument
41 return container_of(mm_gc, struct qe_gpio_chip, mm_gc); in to_qe_gpio_chip()
44 static void qe_gpio_save_regs(struct of_mm_gpio_chip *mm_gc) in qe_gpio_save_regs() argument
46 struct qe_gpio_chip *qe_gc = to_qe_gpio_chip(mm_gc); in qe_gpio_save_regs()
47 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_save_regs()
60 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_get() local
61 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_get()
69 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_set() local
70 struct qe_gpio_chip *qe_gc = to_qe_gpio_chip(mm_gc); in qe_gpio_set()
71 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_set()
89 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_in() local
90 struct qe_gpio_chip *qe_gc = to_qe_gpio_chip(mm_gc); in qe_gpio_dir_in()
95 __par_io_config_pin(mm_gc->regs, gpio, QE_PIO_DIR_IN, 0, 0, 0); in qe_gpio_dir_in()
104 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in qe_gpio_dir_out() local
105 struct qe_gpio_chip *qe_gc = to_qe_gpio_chip(mm_gc); in qe_gpio_dir_out()
110 __par_io_config_pin(mm_gc->regs, gpio, QE_PIO_DIR_OUT, 0, 0, 0); in qe_gpio_dir_out()
142 struct of_mm_gpio_chip *mm_gc; in qe_pin_request() local
190 mm_gc = to_of_mm_gpio_chip(&of_gc->gc); in qe_pin_request()
191 qe_gc = to_qe_gpio_chip(mm_gc); in qe_pin_request()
249 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
320 mm_gc = &qe_gc->mm_gc; in qe_add_gpiochips()
321 of_gc = &mm_gc->of_gc; in qe_add_gpiochips()
324 mm_gc->save_regs = qe_gpio_save_regs; in qe_add_gpiochips()
332 ret = of_mm_gpiochip_add(np, mm_gc); in qe_add_gpiochips()