Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dmxs_gpio.c19 #define PINCTRL_DOE(n) (0x0700 + ((n) * 0x10)) macro
27 #define PINCTRL_DOE(n) (0x0b00 + ((n) * 0x10)) macro
80 uint32_t offset = PINCTRL_DOE(bank); in gpio_direction_input()
92 uint32_t offset = PINCTRL_DOE(bank); in gpio_direction_output()
/openbmc/linux/drivers/gpio/
H A Dgpio-mxs.c27 #define PINCTRL_DOE(p) ((is_imx23_gpio(p) ? 0x0700 : 0x0b00) + (p->id) * 0x10) macro
244 dir = readl(port->base + PINCTRL_DOE(port)); in mxs_gpio_get_direction()
326 port->base + PINCTRL_DOE(port), NULL, 0); in mxs_gpio_probe()