Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-at91.c936 struct at91_gpio_chip *at91_chip; in at91_gpio_request_enable() local
949 at91_chip = gpiochip_get_data(chip); in at91_gpio_request_enable()
958 writel_relaxed(mask, at91_chip->regbase + PIO_PER); in at91_gpio_request_enable()
1662 struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev); in at91_gpio_suspend() local
1663 void __iomem *pio = at91_chip->regbase; in at91_gpio_suspend()
1665 at91_chip->backups = readl_relaxed(pio + PIO_IMR); in at91_gpio_suspend()
1666 writel_relaxed(at91_chip->backups, pio + PIO_IDR); in at91_gpio_suspend()
1667 writel_relaxed(at91_chip->wakeups, pio + PIO_IER); in at91_gpio_suspend()
1669 if (!at91_chip->wakeups) in at91_gpio_suspend()
1670 clk_disable_unprepare(at91_chip in at91_gpio_suspend()
1680 struct at91_gpio_chip *at91_chip = dev_get_drvdata(dev); at91_gpio_resume() local
1823 struct at91_gpio_chip *at91_chip = NULL; at91_gpio_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-at91.c916 struct at91_gpio_chip *at91_chip; in at91_gpio_request_enable() local
929 at91_chip = gpiochip_get_data(chip); in at91_gpio_request_enable()
938 writel_relaxed(mask, at91_chip->regbase + PIO_PER); in at91_gpio_request_enable()
1817 struct at91_gpio_chip *at91_chip = NULL; in at91_gpio_probe() local
1838 at91_chip = devm_kzalloc(&pdev->dev, sizeof(*at91_chip), GFP_KERNEL); in at91_gpio_probe()
1839 if (!at91_chip) { in at91_gpio_probe()
1844 at91_chip->regbase = devm_platform_ioremap_resource(pdev, 0); in at91_gpio_probe()
1845 if (IS_ERR(at91_chip->regbase)) { in at91_gpio_probe()
1846 ret = PTR_ERR(at91_chip in at91_gpio_probe()
[all...]

Completed in 6 milliseconds