• Home
  • Raw
  • Download

Lines Matching refs:pin_reg

168 	const struct imx_pin_reg *pin_reg;  in imx_pmx_set_one_pin_mmio()  local
172 pin_reg = &ipctl->pin_regs[pin_id]; in imx_pmx_set_one_pin_mmio()
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()
354 const struct imx_pin_reg *pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_get_mmio() local
356 if (pin_reg->conf_reg == -1) { in imx_pinconf_get_mmio()
362 *config = readl(ipctl->base + pin_reg->conf_reg); in imx_pinconf_get_mmio()
388 const struct imx_pin_reg *pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_set_mmio() local
391 if (pin_reg->conf_reg == -1) { in imx_pinconf_set_mmio()
403 reg = readl(ipctl->base + pin_reg->conf_reg); in imx_pinconf_set_mmio()
406 writel(reg, ipctl->base + pin_reg->conf_reg); in imx_pinconf_set_mmio()
408 pin_reg->conf_reg, reg); in imx_pinconf_set_mmio()
410 writel(configs[i], ipctl->base + pin_reg->conf_reg); in imx_pinconf_set_mmio()
412 pin_reg->conf_reg, configs[i]); in imx_pinconf_set_mmio()
439 const struct imx_pin_reg *pin_reg; in imx_pinconf_dbg_show() local
452 pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_dbg_show()
453 if (pin_reg->conf_reg == -1) { in imx_pinconf_dbg_show()
458 config = readl(ipctl->base + pin_reg->conf_reg); in imx_pinconf_dbg_show()
522 struct imx_pin_reg *pin_reg; in imx_pinctrl_parse_pin_mmio() local
541 pin_reg = &ipctl->pin_regs[*pin_id]; in imx_pinctrl_parse_pin_mmio()
543 pin_reg->mux_reg = mux_reg; in imx_pinctrl_parse_pin_mmio()
544 pin_reg->conf_reg = conf_reg; in imx_pinctrl_parse_pin_mmio()