Home
last modified time | relevance | path

Searched refs:PINCTRL_PIN2IRQ (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dmxs_gpio.c20 #define PINCTRL_PIN2IRQ(n) (0x0800 + ((n) * 0x10)) macro
28 #define PINCTRL_PIN2IRQ(n) (0x1000 + ((n) * 0x10)) macro
47 writel(0, MXS_PINCTRL_BASE + PINCTRL_PIN2IRQ(i)); in mxs_gpio_init()
/openbmc/linux/drivers/gpio/
H A Dgpio-mxs.c28 #define PINCTRL_PIN2IRQ(p) ((is_imx23_gpio(p) ? 0x0800 : 0x1000) + (p->id) * 0x10) macro
111 writel(pin_mask, port->base + PINCTRL_PIN2IRQ(port) + MXS_SET); in mxs_gpio_set_irq_type()
208 ct->regs.enable = PINCTRL_PIN2IRQ(port) + MXS_SET; in mxs_gpio_init_gc()
209 ct->regs.disable = PINCTRL_PIN2IRQ(port) + MXS_CLR; in mxs_gpio_init_gc()
294 writel(0, port->base + PINCTRL_PIN2IRQ(port)); in mxs_gpio_probe()