Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dmxs_gpio.c22 #define PINCTRL_IRQSTAT(n) (0x0c00 + ((n) * 0x10)) macro
30 #define PINCTRL_IRQSTAT(n) (0x1400 + ((n) * 0x10)) macro
50 writel(0xffffffff, MXS_PINCTRL_BASE + PINCTRL_IRQSTAT(i) + 8); in mxs_gpio_init()
/openbmc/linux/drivers/gpio/
H A Dgpio-mxs.c32 #define PINCTRL_IRQSTAT(p) ((is_imx23_gpio(p) ? 0x0c00 : 0x1400) + (p->id) * 0x10) macro
121 writel(pin_mask, port->base + PINCTRL_IRQSTAT(port) + MXS_CLR); in mxs_gpio_set_irq_type()
151 irq_stat = readl(port->base + PINCTRL_IRQSTAT(port)) & in mxs_gpio_irq_handler()
207 ct->regs.ack = PINCTRL_IRQSTAT(port) + MXS_CLR; in mxs_gpio_init_gc()
219 ct->regs.ack = PINCTRL_IRQSTAT(port) + MXS_CLR; in mxs_gpio_init_gc()
298 writel(~0U, port->base + PINCTRL_IRQSTAT(port) + MXS_CLR); in mxs_gpio_probe()