Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpio-cadence.c41 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_request() local
46 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) & ~BIT(offset), in cdns_gpio_request()
47 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_request()
55 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_free() local
60 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) | in cdns_gpio_free()
61 (BIT(offset) & cgpio->bypass_orig), in cdns_gpio_free()
62 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_free()
70 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_irq_mask() local
72 iowrite32(BIT(d->hwirq), cgpio->regs + CDNS_GPIO_IRQ_DIS); in cdns_gpio_irq_mask()
78 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_irq_unmask() local
[all …]