Searched refs:GPIO_INT_POLARITY (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/irq/ |
| H A D | irq-gpio.c | 33 #define GPIO_INT_POLARITY 0x3c macro 126 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 0); in gpio_set_intr_type() 131 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 1); in gpio_set_intr_type() 135 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 0); in gpio_set_intr_type() 139 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 1); in gpio_set_intr_type() 150 polarity = gpio_bit_rd(regbase, GPIO_INT_POLARITY, bit); in gpio_get_intr_type()
|
| H A D | irq-gpio-v2.c | 37 #define GPIO_INT_POLARITY 0x28 macro 138 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 0); in gpio_set_intr_type() 143 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 1); in gpio_set_intr_type() 147 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 0); in gpio_set_intr_type() 151 gpio_bit_op(regbase, GPIO_INT_POLARITY, bit, 1); in gpio_set_intr_type() 162 polarity = gpio_bit_rd(regbase, GPIO_INT_POLARITY, bit); in gpio_get_intr_type()
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-dwapb.c | 42 #define GPIO_INT_POLARITY 0x3c macro 120 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() 305 polarity = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_irq_set_type() 337 dwapb_write(gpio, GPIO_INT_POLARITY, polarity); in dwapb_irq_set_type() 758 ctx->int_pol = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_gpio_suspend() 804 dwapb_write(gpio, GPIO_INT_POLARITY, ctx->int_pol); in dwapb_gpio_resume()
|
| /OK3568_Linux_fs/kernel/arch/arc/plat-axs10x/ |
| H A D | axs10x.c | 65 #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()
|
| /OK3568_Linux_fs/kernel/arch/arc/plat-hsdk/ |
| H A D | platform.c | 78 #define GPIO_INT_POLARITY (HSDK_GPIO_INTC + 0x3c) in hsdk_enable_gpio_intc_wire() macro 84 iowrite32(0xffffffff, (void __iomem *) GPIO_INT_POLARITY); in hsdk_enable_gpio_intc_wire()
|
| /OK3568_Linux_fs/u-boot/drivers/gpio/ |
| H A D | dwapb_gpio.c | 27 #define GPIO_INT_POLARITY 0x3c macro
|