Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pinctrl/freescale/
Dpinctrl-imx.c167 struct imx_pin_mmio *pin_mmio = &pin->conf.mmio; in imx_pmx_set_one_pin_mmio() local
185 reg |= (pin_mmio->mux_mode << info->mux_shift); 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()
208 if (pin_mmio->input_val >> 24 == 0xff) { in imx_pmx_set_one_pin_mmio()
209 u32 val = pin_mmio->input_val; in imx_pmx_set_one_pin_mmio()
218 val = readl(ipctl->base + pin_mmio->input_reg); in imx_pmx_set_one_pin_mmio()
221 writel(val, ipctl->base + pin_mmio->input_reg); in imx_pmx_set_one_pin_mmio()
222 } else if (pin_mmio->input_reg) { in imx_pmx_set_one_pin_mmio()
228 writel(pin_mmio->input_val, ipctl->input_sel_base + in imx_pmx_set_one_pin_mmio()
[all …]