Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arc/plat-hsdk/
Dplatform.c95 #define GPIO_INT_POLARITY (HSDK_GPIO_INTC + 0x3c) in hsdk_enable_gpio_intc_wire() macro
101 iowrite32(0xffffffff, (void __iomem *) GPIO_INT_POLARITY); in hsdk_enable_gpio_intc_wire()
/Linux-v4.19/drivers/gpio/
Dgpio-dwapb.c45 #define GPIO_INT_POLARITY 0x3c macro
112 case GPIO_INT_POLARITY: in gpio_reg_v2_convert()
181 pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_toggle_trigger()
189 dwapb_write(gpio, GPIO_INT_POLARITY, pol); in dwapb_toggle_trigger()
292 polarity = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_irq_set_type()
321 dwapb_write(gpio, GPIO_INT_POLARITY, polarity); in dwapb_irq_set_type()
778 ctx->int_pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_gpio_suspend()
825 dwapb_write(gpio, GPIO_INT_POLARITY, ctx->int_pol); in dwapb_gpio_resume()
/Linux-v4.19/arch/arc/plat-axs10x/
Daxs10x.c74 #define GPIO_INT_POLARITY (AXC001_GPIO_INTC + 0x3c) in axs10x_enable_gpio_intc_wire() macro
79 iowrite32(~0, (void __iomem *) GPIO_INT_POLARITY); in axs10x_enable_gpio_intc_wire()
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-rockchip.c53 #define GPIO_INT_POLARITY 0x3c macro
2841 GPIO_INT_POLARITY); in rockchip_irq_demux()
2847 bank->reg_base + GPIO_INT_POLARITY); in rockchip_irq_demux()
2897 polarity = readl_relaxed(gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type()
2942 writel_relaxed(polarity, gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type()