Lines Matching refs:mmchip
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()
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()
270 altera_gc->mmchip.gc.ngpio = ALTERA_GPIO_MAX_NGPIO; in altera_gpio_probe()
273 altera_gc->mmchip.gc.direction_input = altera_gpio_direction_input; in altera_gpio_probe()
274 altera_gc->mmchip.gc.direction_output = altera_gpio_direction_output; in altera_gpio_probe()
275 altera_gc->mmchip.gc.get = altera_gpio_get; in altera_gpio_probe()
276 altera_gc->mmchip.gc.set = altera_gpio_set; 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()
309 ret = of_mm_gpiochip_add_data(node, &altera_gc->mmchip, altera_gc); in altera_gpio_probe()
324 of_mm_gpiochip_remove(&altera_gc->mmchip); in altera_gpio_remove()