Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-ep93xx.c66 struct ep93xx_gpio_chip *egc = to_ep93xx_gpio_chip(gc); in to_ep93xx_gpio_irq_chip() local
68 return egc->eic; in to_ep93xx_gpio_irq_chip()
345 static int ep93xx_gpio_add_bank(struct ep93xx_gpio_chip *egc, in ep93xx_gpio_add_bank() argument
352 struct gpio_chip *gc = &egc->gc; in ep93xx_gpio_add_bank()
367 egc->eic = devm_kcalloc(dev, 1, in ep93xx_gpio_add_bank()
368 sizeof(*egc->eic), in ep93xx_gpio_add_bank()
370 if (!egc->eic) in ep93xx_gpio_add_bank()
372 egc->eic->irq_offset = bank->irq; in ep93xx_gpio_add_bank()