Home
last modified time | relevance | path

Searched refs:mmchip (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpio/
Dgpio-mm-lantiq.c30 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()
Dgpio-altera.c29 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()
223 irqdomain = altera_gc->mmchip.gc.irq.domain; in altera_gpio_irq_leveL_high_handler()
262 altera_gc->mmchip.gc.ngpio = ALTERA_GPIO_MAX_NGPIO; in altera_gpio_probe()
264 altera_gc->mmchip.gc.ngpio = reg; in altera_gpio_probe()
266 if (altera_gc->mmchip.gc.ngpio > ALTERA_GPIO_MAX_NGPIO) { in altera_gpio_probe()
[all …]
Dgpio-mpc5200.c22 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()