Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpio/
Dgpio-dwapb.c36 #define GPIO_INTMASK 0x34 macro
127 case GPIO_INTMASK: in gpio_reg_v2_convert()
259 val = dwapb_read(gpio, GPIO_INTMASK) | BIT(hwirq); in dwapb_irq_mask()
260 dwapb_write(gpio, GPIO_INTMASK, val); in dwapb_irq_mask()
277 val = dwapb_read(gpio, GPIO_INTMASK) & ~BIT(hwirq); in dwapb_irq_unmask()
278 dwapb_write(gpio, GPIO_INTMASK, val); in dwapb_irq_unmask()
767 ctx->int_mask = dwapb_read(gpio, GPIO_INTMASK); in dwapb_gpio_suspend()
774 dwapb_write(gpio, GPIO_INTMASK, ~ctx->wake_en); in dwapb_gpio_suspend()
818 dwapb_write(gpio, GPIO_INTMASK, ctx->int_mask); in dwapb_gpio_resume()
/linux-5.19.10/arch/arc/plat-hsdk/
Dplatform.c76 #define GPIO_INTMASK (HSDK_GPIO_INTC + 0x34) in hsdk_enable_gpio_intc_wire() macro
81 iowrite32(0xffffffff, (void __iomem *) GPIO_INTMASK); in hsdk_enable_gpio_intc_wire()
82 iowrite32(~GPIO_INT_CONNECTED_MASK, (void __iomem *) GPIO_INTMASK); in hsdk_enable_gpio_intc_wire()
/linux-5.19.10/arch/arc/plat-axs10x/
Daxs10x.c63 #define GPIO_INTMASK (AXC001_GPIO_INTC + 0x34) in axs10x_enable_gpio_intc_wire() macro
68 iowrite32(~(1 << MB_TO_GPIO_IRQ), (void __iomem *) GPIO_INTMASK); in axs10x_enable_gpio_intc_wire()