Searched refs:mm_gc (Results 1 – 5 of 5) sorted by relevance
40 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_unmask() local45 mm_gc = &altera_gc->mmchip; in altera_gpio_irq_unmask()48 intmask = readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_unmask()51 writel(intmask, mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_unmask()58 struct of_mm_gpio_chip *mm_gc; in altera_gpio_irq_mask() local63 mm_gc = &altera_gc->mmchip; in altera_gpio_irq_mask()66 intmask = readl(mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_mask()69 writel(intmask, mm_gc->regs + ALTERA_GPIO_IRQ_MASK); in altera_gpio_irq_mask()108 struct of_mm_gpio_chip *mm_gc; in altera_gpio_get() local110 mm_gc = to_of_mm_gpio_chip(gc); in altera_gpio_get()[all …]
46 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_get() local47 struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs; in mpc52xx_wkup_gpio_get()60 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in __mpc52xx_wkup_gpio_set() local62 struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs; in __mpc52xx_wkup_gpio_set()88 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_dir_in() local90 struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs; in mpc52xx_wkup_gpio_dir_in()111 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_wkup_gpio_dir_out() local112 struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs; in mpc52xx_wkup_gpio_dir_out()210 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); in mpc52xx_simple_gpio_get() local211 struct mpc52xx_gpio __iomem *regs = mm_gc->regs; in mpc52xx_simple_gpio_get()[all …]
815 struct of_mm_gpio_chip *mm_gc, in of_mm_gpiochip_add_data() argument819 struct gpio_chip *gc = &mm_gc->gc; in of_mm_gpiochip_add_data()825 mm_gc->regs = of_iomap(np, 0); in of_mm_gpiochip_add_data()826 if (!mm_gc->regs) in of_mm_gpiochip_add_data()831 if (mm_gc->save_regs) in of_mm_gpiochip_add_data()832 mm_gc->save_regs(mm_gc); in of_mm_gpiochip_add_data()834 of_node_put(mm_gc->gc.of_node); in of_mm_gpiochip_add_data()835 mm_gc->gc.of_node = of_node_get(np); in of_mm_gpiochip_add_data()844 iounmap(mm_gc->regs); in of_mm_gpiochip_add_data()857 void of_mm_gpiochip_remove(struct of_mm_gpio_chip *mm_gc) in of_mm_gpiochip_remove() argument[all …]
90 static void ltq_mm_save_regs(struct of_mm_gpio_chip *mm_gc) in ltq_mm_save_regs() argument93 container_of(mm_gc, struct ltq_mm, mmchip); in ltq_mm_save_regs()
25 struct of_mm_gpio_chip mm_gc; member38 static void qe_gpio_save_regs(struct of_mm_gpio_chip *mm_gc) in qe_gpio_save_regs() argument41 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() local56 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() local66 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() local87 struct qe_pio_regs __iomem *regs = mm_gc->regs; in qe_gpio_set_multiple()[all …]