Searched refs:mux_reg (Results 1 - 25 of 25) sorted by relevance

/linux-4.1.27/arch/arm/mach-davinci/
H A Dmux.h23 .mux_reg = PINMUX(muxreg), \
34 .mux_reg = INTMUX, \
45 .mux_reg = EVTMUX, \
H A Dmux.c70 reg_orig = __raw_readl(pinmux_base + cfg->mux_reg); davinci_cfg_reg()
82 __raw_writel(reg, pinmux_base + cfg->mux_reg); davinci_cfg_reg()
96 cfg->mux_reg_name, cfg->mux_reg, reg_orig, reg); davinci_cfg_reg()
/linux-4.1.27/arch/arm/mach-omap1/include/mach/
H A Dmux.h41 .mux_reg = FUNC_MUX_CTRL_##reg, \
55 .mux_reg = OMAP7XX_IO_CONF_##reg, \
66 #define MUX_REG(reg, mode_offset, mode) .mux_reg = FUNC_MUX_CTRL_##reg, \
78 .mux_reg = OMAP7XX_IO_CONF_##reg, \
88 #define MUX_CFG(desc, mux_reg, mode_offset, mode, \
94 MUX_REG(mux_reg, mode_offset, mode) \
107 #define MUX_CFG_7XX(desc, mux_reg, mode_offset, mode, \
112 MUX_REG_7XX(mux_reg, mode_offset, mode) \
113 PULL_REG_7XX(mux_reg, pull_bit, pull_status) \
119 const unsigned int mux_reg; member in struct:pin_config
/linux-4.1.27/drivers/pinctrl/freescale/
H A Dpinctrl-imx.c207 if (pin_reg->mux_reg == -1) { imx_pmx_set()
215 reg = readl(ipctl->base + pin_reg->mux_reg); imx_pmx_set()
218 writel(reg, ipctl->base + pin_reg->mux_reg); imx_pmx_set()
220 writel(pin->mux_mode, ipctl->base + pin_reg->mux_reg); imx_pmx_set()
223 pin_reg->mux_reg, pin->mux_mode); imx_pmx_set()
313 if (pin_reg->mux_reg == -1) imx_pmx_gpio_request_enable()
329 reg = readl(ipctl->base + pin_reg->mux_reg); imx_pmx_gpio_request_enable()
332 writel(reg, ipctl->base + pin_reg->mux_reg); imx_pmx_gpio_request_enable()
353 if (pin_reg->mux_reg == -1) imx_pmx_gpio_set_direction()
357 reg = readl(ipctl->base + pin_reg->mux_reg); imx_pmx_gpio_set_direction()
362 writel(reg, ipctl->base + pin_reg->mux_reg); imx_pmx_gpio_set_direction()
539 u32 mux_reg = be32_to_cpu(*list++); imx_pinctrl_parse_groups() local
546 conf_reg = mux_reg; imx_pinctrl_parse_groups()
553 pin_id = mux_reg ? mux_reg / 4 : conf_reg / 4; imx_pinctrl_parse_groups()
557 pin_reg->mux_reg = mux_reg; imx_pinctrl_parse_groups()
670 info->pin_regs[i].mux_reg = -1; imx_pinctrl_probe()
H A Dpinctrl-imx.h66 * @mux_reg: mux register offset
70 s16 mux_reg; member in struct:imx_pin_reg
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-tegra.c277 if (WARN_ON(g->mux_reg < 0)) tegra_pinctrl_set_mux()
287 val = pmx_readl(pmx, g->mux_bank, g->mux_reg); tegra_pinctrl_set_mux()
290 pmx_writel(pmx, val, g->mux_bank, g->mux_reg); tegra_pinctrl_set_mux()
323 *reg = g->mux_reg; tegra_pinconf_reg()
329 *reg = g->mux_reg; tegra_pinconf_reg()
335 *reg = g->mux_reg; tegra_pinconf_reg()
341 *reg = g->mux_reg; tegra_pinconf_reg()
347 *reg = g->mux_reg; tegra_pinconf_reg()
354 *reg = g->mux_reg; tegra_pinconf_reg()
365 *reg = g->mux_reg; tegra_pinconf_reg()
406 *reg = g->mux_reg; tegra_pinconf_reg()
663 if (g->mux_reg == -1) tegra_pinctrl_probe()
H A Dpinctrl-tegra.h85 * @mux_reg: Mux register offset.
134 s16 mux_reg; member in struct:tegra_pingroup
H A Dpinctrl-tegra124.c1736 .mux_reg = PINGROUP_REG(r), \
1760 .mux_reg = -1, \
1795 .mux_reg = MIPI_PAD_CTRL_PINGROUP_REG_Y(r), \
H A Dpinctrl-tegra20.c1988 .mux_reg = ((mux_r) - PIN_MUX_CTL_REG_A), \
2011 .mux_reg = -1, \
2026 .mux_reg = -1, \
H A Dpinctrl-tegra210.c1299 .mux_reg = PINGROUP_REG(r), \
1335 .mux_reg = -1, \
H A Dpinctrl-tegra114.c1567 .mux_reg = PINGROUP_REG(r), \
1591 .mux_reg = -1, \
H A Dpinctrl-tegra30.c2128 .mux_reg = PINGROUP_REG(r), \
2152 .mux_reg = -1, \
H A Dpinctrl-palmas.c589 dev_err(pci->dev, "mux_reg 0x%02x read failed: %d\n", palmas_pinctrl_get_pin_mux()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dmux.c355 if (cfg->mux_reg) { omap1_cfg_reg()
359 reg_orig = omap_readl(cfg->mux_reg); omap1_cfg_reg()
372 omap_writel(reg, cfg->mux_reg); omap1_cfg_reg()
431 cfg->mux_reg_name, cfg->mux_reg, reg_orig, reg); omap1_cfg_reg()
/linux-4.1.27/arch/arm/mach-davinci/include/mach/
H A Dmux.h25 const unsigned char mux_reg; member in struct:mux_config
/linux-4.1.27/arch/arm/boot/dts/
H A Dimx25-pinfunc.h17 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dvf610-pinfunc.h15 * <mux_reg input_reg mux_mode input_val>
H A Dimx51-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dimx35-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dimx50-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dimx6q-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dimx53-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dimx6dl-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dimx6sl-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>
H A Dimx6sx-pinfunc.h15 * <mux_reg conf_reg input_reg mux_mode input_val>

Completed in 690 milliseconds