Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arc/plat-hsdk/
Dplatform.c93 #define GPIO_INTMASK (HSDK_GPIO_INTC + 0x34) in hsdk_enable_gpio_intc_wire() macro
98 iowrite32(0xffffffff, (void __iomem *) GPIO_INTMASK); in hsdk_enable_gpio_intc_wire()
99 iowrite32(~GPIO_INT_CONNECTED_MASK, (void __iomem *) GPIO_INTMASK); in hsdk_enable_gpio_intc_wire()
/Linux-v4.19/drivers/gpio/
Dgpio-dwapb.c43 #define GPIO_INTMASK 0x34 macro
108 case GPIO_INTMASK: in gpio_reg_v2_convert()
437 ct->regs.mask = gpio_reg_convert(gpio, GPIO_INTMASK); in dwapb_configure_irqs()
776 ctx->int_mask = dwapb_read(gpio, GPIO_INTMASK); in dwapb_gpio_suspend()
783 dwapb_write(gpio, GPIO_INTMASK, in dwapb_gpio_suspend()
828 dwapb_write(gpio, GPIO_INTMASK, ctx->int_mask); in dwapb_gpio_resume()
/Linux-v4.19/arch/arc/plat-axs10x/
Daxs10x.c72 #define GPIO_INTMASK (AXC001_GPIO_INTC + 0x34) in axs10x_enable_gpio_intc_wire() macro
77 iowrite32(~(1 << MB_TO_GPIO_IRQ), (void __iomem *) GPIO_INTMASK); in axs10x_enable_gpio_intc_wire()
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-rockchip.c51 #define GPIO_INTMASK 0x34 macro
2957 bank->saved_masks = irq_reg_readl(gc, GPIO_INTMASK); in rockchip_irq_suspend()
2958 irq_reg_writel(gc, ~gc->wake_active, GPIO_INTMASK); in rockchip_irq_suspend()
2968 irq_reg_writel(gc, bank->saved_masks, GPIO_INTMASK); in rockchip_irq_resume()
3039 writel_relaxed(0xffffffff, bank->reg_base + GPIO_INTMASK); in rockchip_interrupts_register()
3045 gc->chip_types[0].regs.mask = GPIO_INTMASK; in rockchip_interrupts_register()