Lines Matching refs:mux_reg
174 if (pin_reg->mux_reg == -1) { in imx_pmx_set_one_pin_mmio()
183 reg = readl(ipctl->base + pin_reg->mux_reg); in imx_pmx_set_one_pin_mmio()
186 writel(reg, ipctl->base + pin_reg->mux_reg); in imx_pmx_set_one_pin_mmio()
188 pin_reg->mux_reg, reg); in imx_pmx_set_one_pin_mmio()
190 writel(pin_mmio->mux_mode, ipctl->base + pin_reg->mux_reg); in imx_pmx_set_one_pin_mmio()
192 pin_reg->mux_reg, pin_mmio->mux_mode); in imx_pmx_set_one_pin_mmio()
524 u32 mux_reg, conf_reg; in imx_pinctrl_parse_pin_mmio() local
527 mux_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio()
529 if (!(info->flags & ZERO_OFFSET_VALID) && !mux_reg) in imx_pinctrl_parse_pin_mmio()
530 mux_reg = -1; in imx_pinctrl_parse_pin_mmio()
533 conf_reg = mux_reg; in imx_pinctrl_parse_pin_mmio()
540 *pin_id = (mux_reg != -1) ? mux_reg / 4 : conf_reg / 4; in imx_pinctrl_parse_pin_mmio()
543 pin_reg->mux_reg = mux_reg; in imx_pinctrl_parse_pin_mmio()
818 ipctl->pin_regs[i].mux_reg = -1; in imx_pinctrl_probe()