Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pinctrl/freescale/
Dpinctrl-imx.c169 struct imx_pin_mmio *pin_mmio = &pin->conf.mmio; in imx_pmx_set_one_pin_mmio() local
187 reg |= (pin_mmio->mux_mode << info->mux_shift); 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()
210 if (pin_mmio->input_val >> 24 == 0xff) { in imx_pmx_set_one_pin_mmio()
211 u32 val = pin_mmio->input_val; in imx_pmx_set_one_pin_mmio()
220 val = readl(ipctl->base + pin_mmio->input_reg); in imx_pmx_set_one_pin_mmio()
223 writel(val, ipctl->base + pin_mmio->input_reg); in imx_pmx_set_one_pin_mmio()
224 } else if (pin_mmio->input_reg) { in imx_pmx_set_one_pin_mmio()
230 writel(pin_mmio->input_val, ipctl->input_sel_base + in imx_pmx_set_one_pin_mmio()
[all …]