Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pinctrl/
Dpinctrl-at91.c801 struct at91_gpio_chip *at91_chip; in at91_gpio_request_enable() local
814 at91_chip = container_of(chip, struct at91_gpio_chip, chip); in at91_gpio_request_enable()
823 writel_relaxed(mask, at91_chip->regbase + PIO_PER); in at91_gpio_request_enable()
1691 struct at91_gpio_chip *at91_chip = NULL; in at91_gpio_probe() local
1712 at91_chip = devm_kzalloc(&pdev->dev, sizeof(*at91_chip), GFP_KERNEL); in at91_gpio_probe()
1713 if (!at91_chip) { in at91_gpio_probe()
1719 at91_chip->regbase = devm_ioremap_resource(&pdev->dev, res); in at91_gpio_probe()
1720 if (IS_ERR(at91_chip->regbase)) { in at91_gpio_probe()
1721 ret = PTR_ERR(at91_chip->regbase); in at91_gpio_probe()
1725 at91_chip->ops = (struct at91_pinctrl_mux_ops *) in at91_gpio_probe()
[all …]