Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
Dgpio-cadence.c40 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_request() local
45 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) & ~BIT(offset), in cdns_gpio_request()
46 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_request()
54 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_free() local
59 iowrite32(ioread32(cgpio->regs + CDNS_GPIO_BYPASS_MODE) | in cdns_gpio_free()
60 (BIT(offset) & cgpio->bypass_orig), in cdns_gpio_free()
61 cgpio->regs + CDNS_GPIO_BYPASS_MODE); in cdns_gpio_free()
69 struct cdns_gpio_chip *cgpio = gpiochip_get_data(chip); in cdns_gpio_irq_mask() local
71 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 …]