Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dmxs_gpio.c18 #define PINCTRL_DIN(n) (0x0600 + ((n) * 0x10)) macro
26 #define PINCTRL_DIN(n) (0x0900 + ((n) * 0x10)) macro
57 uint32_t offset = PINCTRL_DIN(bank); in gpio_get_value()
/openbmc/linux/drivers/gpio/
H A Dgpio-mxs.c26 #define PINCTRL_DIN(p) ((is_imx23_gpio(p) ? 0x0600 : 0x0900) + (p->id) * 0x10) macro
81 val = readl(port->base + PINCTRL_DIN(port)) & pin_mask; in mxs_gpio_set_irq_type()
323 port->base + PINCTRL_DIN(port), in mxs_gpio_probe()