Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/
Dpinctrl-at91.c935 struct at91_gpio_chip *at91_chip; in at91_gpio_request_enable() local
948 at91_chip = gpiochip_get_data(chip); in at91_gpio_request_enable()
957 writel_relaxed(mask, at91_chip->regbase + PIO_PER); in at91_gpio_request_enable()
1652 struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev); in at91_gpio_suspend() local
1653 void __iomem *pio = at91_chip->regbase; in at91_gpio_suspend()
1655 at91_chip->backups = readl_relaxed(pio + PIO_IMR); in at91_gpio_suspend()
1656 writel_relaxed(at91_chip->backups, pio + PIO_IDR); in at91_gpio_suspend()
1657 writel_relaxed(at91_chip->wakeups, pio + PIO_IER); in at91_gpio_suspend()
1659 if (!at91_chip->wakeups) in at91_gpio_suspend()
1660 clk_disable_unprepare(at91_chip->clock); in at91_gpio_suspend()
[all …]