Searched refs:GPIO_INT_POLARITY (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/gpio/ |
D | gpio-dwapb.c | 38 #define GPIO_INT_POLARITY 0x3c macro 120 u32 v = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_toggle_trigger() 127 dwapb_write(gpio, GPIO_INT_POLARITY, v); in dwapb_toggle_trigger() 228 polarity = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_irq_set_type() 256 dwapb_write(gpio, GPIO_INT_POLARITY, polarity); in dwapb_irq_set_type() 619 ctx->int_pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_gpio_suspend() 660 dwapb_write(gpio, GPIO_INT_POLARITY, ctx->int_pol); in dwapb_gpio_resume()
|
/linux-4.1.27/drivers/pinctrl/ |
D | pinctrl-rockchip.c | 53 #define GPIO_INT_POLARITY 0x3c macro 1436 GPIO_INT_POLARITY); in rockchip_irq_demux() 1442 bank->reg_base + GPIO_INT_POLARITY); in rockchip_irq_demux() 1491 polarity = readl_relaxed(gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type() 1535 writel_relaxed(polarity, gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type()
|