Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dmxs_gpio.c21 #define PINCTRL_IRQEN(n) (0x0900 + ((n) * 0x10)) macro
29 #define PINCTRL_IRQEN(n) (0x1100 + ((n) * 0x10)) macro
48 writel(0, MXS_PINCTRL_BASE + PINCTRL_IRQEN(i)); in mxs_gpio_init()
/openbmc/linux/drivers/gpio/
H A Dgpio-mxs.c29 #define PINCTRL_IRQEN(p) ((is_imx23_gpio(p) ? 0x0900 : 0x1100) + (p->id) * 0x10) macro
108 writel(pin_mask, port->base + PINCTRL_IRQEN(port) + MXS_SET); in mxs_gpio_set_irq_type()
152 readl(port->base + PINCTRL_IRQEN(port)); in mxs_gpio_irq_handler()
220 ct->regs.enable = PINCTRL_IRQEN(port) + MXS_SET; in mxs_gpio_init_gc()
221 ct->regs.disable = PINCTRL_IRQEN(port) + MXS_CLR; in mxs_gpio_init_gc()
295 writel(0, port->base + PINCTRL_IRQEN(port)); in mxs_gpio_probe()