Searched refs:mmchip (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mm-lantiq.c | 30 struct of_mm_gpio_chip mmchip; member 47 __raw_writew(chip->shadow, chip->mmchip.regs); in ltq_mm_apply() 93 container_of(mm_gc, struct ltq_mm, mmchip); in ltq_mm_save_regs() 96 ltq_ebu_w32(CPHYSADDR(chip->mmchip.regs) | 0x1, LTQ_EBU_ADDRSEL1); in ltq_mm_save_regs() 112 chip->mmchip.gc.ngpio = 16; in ltq_mm_probe() 113 chip->mmchip.gc.direction_output = ltq_mm_dir_out; in ltq_mm_probe() 114 chip->mmchip.gc.set = ltq_mm_set; in ltq_mm_probe() 115 chip->mmchip.save_regs = ltq_mm_save_regs; in ltq_mm_probe() 121 return of_mm_gpiochip_add_data(pdev->dev.of_node, &chip->mmchip, chip); in ltq_mm_probe() 128 of_mm_gpiochip_remove(&chip->mmchip); in ltq_mm_remove()
|
H A D | gpio-altera.c | 29 struct of_mm_gpio_chip mmchip; member 43 mm_gc = &altera_gc->mmchip; in altera_gpio_irq_unmask() 62 mm_gc = &altera_gc->mmchip; in altera_gpio_irq_mask() 195 mm_gc = &altera_gc->mmchip; in altera_gpio_irq_edge_handler() 196 irqdomain = altera_gc->mmchip.gc.irq.domain; in altera_gpio_irq_edge_handler() 222 mm_gc = &altera_gc->mmchip; in altera_gpio_irq_leveL_high_handler() 264 altera_gc->mmchip.gc.ngpio = reg; in altera_gpio_probe() 277 altera_gc->mmchip.gc.owner = THIS_MODULE; in altera_gpio_probe() 278 altera_gc->mmchip.gc.parent = &pdev->dev; in altera_gpio_probe() 292 girq = &altera_gc->mmchip.gc.irq; in altera_gpio_probe() [all …]
|
H A D | gpio-mpc5200.c | 22 struct of_mm_gpio_chip mmchip; member 148 gc = &chip->mmchip.gc; in mpc52xx_wkup_gpiochip_probe() 156 ret = of_mm_gpiochip_add_data(ofdev->dev.of_node, &chip->mmchip, chip); in mpc52xx_wkup_gpiochip_probe() 160 regs = chip->mmchip.regs; in mpc52xx_wkup_gpiochip_probe() 172 of_mm_gpiochip_remove(&chip->mmchip); in mpc52xx_gpiochip_remove() 310 gc = &chip->mmchip.gc; in mpc52xx_simple_gpiochip_probe() 318 ret = of_mm_gpiochip_add_data(ofdev->dev.of_node, &chip->mmchip, chip); in mpc52xx_simple_gpiochip_probe() 322 regs = chip->mmchip.regs; in mpc52xx_simple_gpiochip_probe()
|