Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpio-dwapb.c43 #define GPIO_INT_POLARITY 0x3c macro
110 case GPIO_INT_POLARITY: in gpio_reg_v2_convert()
179 pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_toggle_trigger()
187 dwapb_write(gpio, GPIO_INT_POLARITY, pol); in dwapb_toggle_trigger()
290 polarity = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_irq_set_type()
319 dwapb_write(gpio, GPIO_INT_POLARITY, polarity); in dwapb_irq_set_type()
773 ctx->int_pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_gpio_suspend()
819 dwapb_write(gpio, GPIO_INT_POLARITY, ctx->int_pol); in dwapb_gpio_resume()
/Linux-v5.4/arch/arc/plat-axs10x/
Daxs10x.c65 #define GPIO_INT_POLARITY (AXC001_GPIO_INTC + 0x3c) in axs10x_enable_gpio_intc_wire() macro
70 iowrite32(~0, (void __iomem *) GPIO_INT_POLARITY); in axs10x_enable_gpio_intc_wire()
/Linux-v5.4/arch/arc/plat-hsdk/
Dplatform.c94 #define GPIO_INT_POLARITY (HSDK_GPIO_INTC + 0x3c) in hsdk_enable_gpio_intc_wire() macro
100 iowrite32(0xffffffff, (void __iomem *) GPIO_INT_POLARITY); in hsdk_enable_gpio_intc_wire()
/Linux-v5.4/drivers/pinctrl/
Dpinctrl-rockchip.c45 #define GPIO_INT_POLARITY 0x3c macro
2874 GPIO_INT_POLARITY); in rockchip_irq_demux()
2880 bank->reg_base + GPIO_INT_POLARITY); in rockchip_irq_demux()
2930 polarity = readl_relaxed(gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type()
2975 writel_relaxed(polarity, gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type()