Lines Matching full:mux_reg
176 if (pin_reg->mux_reg == -1) { in imx_pmx_set_one_pin_mmio()
185 reg = readl(ipctl->base + pin_reg->mux_reg); in imx_pmx_set_one_pin_mmio()
188 writel(reg, ipctl->base + pin_reg->mux_reg); in imx_pmx_set_one_pin_mmio()
190 pin_reg->mux_reg, reg); in imx_pmx_set_one_pin_mmio()
192 writel(pin_mmio->mux_mode, ipctl->base + pin_reg->mux_reg); in imx_pmx_set_one_pin_mmio()
194 pin_reg->mux_reg, pin_mmio->mux_mode); in imx_pmx_set_one_pin_mmio()
450 * <mux_reg conf_reg input_reg mux_mode input_val>
469 u32 mux_reg, conf_reg; in imx_pinctrl_parse_pin_mmio() local
472 mux_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio()
474 if (!(info->flags & ZERO_OFFSET_VALID) && !mux_reg) in imx_pinctrl_parse_pin_mmio()
475 mux_reg = -1; in imx_pinctrl_parse_pin_mmio()
478 conf_reg = mux_reg; in imx_pinctrl_parse_pin_mmio()
485 *pin_id = (mux_reg != -1) ? mux_reg / 4 : conf_reg / 4; in imx_pinctrl_parse_pin_mmio()
488 pin_reg->mux_reg = mux_reg; in imx_pinctrl_parse_pin_mmio()
741 ipctl->pin_regs[i].mux_reg = -1; in imx_pinctrl_probe()