Lines Matching defs:lpc32xx_gpiochip
397 static struct lpc32xx_gpio_chip lpc32xx_gpiochip[] = {
496 if ((bank >= ARRAY_SIZE(lpc32xx_gpiochip) ||
497 (gc != &lpc32xx_gpiochip[bank].chip)))
514 for (i = 0; i < ARRAY_SIZE(lpc32xx_gpiochip); i++) {
516 lpc32xx_gpiochip[i].chip.of_xlate = lpc32xx_of_xlate;
517 lpc32xx_gpiochip[i].chip.of_gpio_n_cells = 3;
518 lpc32xx_gpiochip[i].chip.of_node = pdev->dev.of_node;
519 lpc32xx_gpiochip[i].reg_base = reg_base;
521 devm_gpiochip_add_data(&pdev->dev, &lpc32xx_gpiochip[i].chip,
522 &lpc32xx_gpiochip[i]);