Lines Matching +full:reg +full:- +full:names
1 // SPDX-License-Identifier: GPL-2.0+
14 #include "pinctrl-imx.h"
154 /* Pad names for the pinmux subsystem */
299 u32 reg; in vf610_pmx_gpio_set_direction() local
301 pin_reg = &ipctl->pin_regs[offset]; in vf610_pmx_gpio_set_direction()
302 if (pin_reg->mux_reg == -1) in vf610_pmx_gpio_set_direction()
303 return -EINVAL; in vf610_pmx_gpio_set_direction()
306 reg = readl(ipctl->base + pin_reg->mux_reg); in vf610_pmx_gpio_set_direction()
308 reg &= ~0x2; in vf610_pmx_gpio_set_direction()
310 reg |= 0x2; in vf610_pmx_gpio_set_direction()
311 writel(reg, ipctl->base + pin_reg->mux_reg); in vf610_pmx_gpio_set_direction()
326 { .compatible = "fsl,vf610-iomuxc", },
337 .name = "vf610-pinctrl",