Searched refs:GPIO_INTMASK (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-dwapb.c | 36 #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() 294 dwapb_write(gpio, GPIO_INTMASK, val); in dwapb_irq_enable() 307 val = dwapb_read(gpio, GPIO_INTMASK) | BIT(hwirq); in dwapb_irq_disable() 308 dwapb_write(gpio, GPIO_INTMASK, val); in dwapb_irq_disable() 771 ctx->int_mask = dwapb_read(gpio, GPIO_INTMASK); in dwapb_gpio_suspend() [all …]
|
/openbmc/linux/arch/arc/plat-hsdk/ |
H A D | platform.c | 76 #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()
|
/openbmc/linux/arch/arc/plat-axs10x/ |
H A D | axs10x.c | 62 #define GPIO_INTMASK (AXC001_GPIO_INTC + 0x34) in axs10x_enable_gpio_intc_wire() macro 67 iowrite32(~(1 << MB_TO_GPIO_IRQ), (void __iomem *) GPIO_INTMASK); in axs10x_enable_gpio_intc_wire()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | dwapb_gpio.c | 25 #define GPIO_INTMASK 0x34 macro
|