Searched refs:bank_info (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-rcar.c | 45 struct gpio_rcar_bank_info bank_info; member 549 p->bank_info.iointsel = gpio_rcar_read(p, IOINTSEL); in gpio_rcar_suspend() 550 p->bank_info.inoutsel = gpio_rcar_read(p, INOUTSEL); in gpio_rcar_suspend() 551 p->bank_info.outdt = gpio_rcar_read(p, OUTDT); in gpio_rcar_suspend() 552 p->bank_info.intmsk = gpio_rcar_read(p, INTMSK); in gpio_rcar_suspend() 553 p->bank_info.posneg = gpio_rcar_read(p, POSNEG); in gpio_rcar_suspend() 554 p->bank_info.edglevel = gpio_rcar_read(p, EDGLEVEL); in gpio_rcar_suspend() 556 p->bank_info.bothedge = gpio_rcar_read(p, BOTHEDGE); in gpio_rcar_suspend() 576 if (!(p->bank_info.iointsel & mask)) { in gpio_rcar_resume() 577 if (p->bank_info.inoutsel & mask) in gpio_rcar_resume() [all …]
|
D | gpio-tegra.c | 89 struct tegra_gpio_bank *bank_info; member 228 struct tegra_gpio_bank *bank = &tgi->bank_info[GPIO_BANK(offset)]; in tegra_gpio_set_debounce() 423 struct tegra_gpio_bank *bank = &tgi->bank_info[b]; in tegra_gpio_resume() 458 struct tegra_gpio_bank *bank = &tgi->bank_info[b]; in tegra_gpio_suspend() 617 tgi->bank_info = devm_kcalloc(&pdev->dev, tgi->bank_count, in tegra_gpio_probe() 618 sizeof(*tgi->bank_info), GFP_KERNEL); in tegra_gpio_probe() 619 if (!tgi->bank_info) in tegra_gpio_probe() 633 bank = &tgi->bank_info[i]; in tegra_gpio_probe() 661 bank = &tgi->bank_info[GPIO_BANK(gpio)]; in tegra_gpio_probe() 668 bank = &tgi->bank_info[i]; in tegra_gpio_probe()
|