/linux-4.1.27/arch/arm/mach-davinci/ |
H A D | mux.h | 23 .mux_reg = PINMUX(muxreg), \ 34 .mux_reg = INTMUX, \ 45 .mux_reg = EVTMUX, \
|
H A D | mux.c | 70 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 D | mux.h | 41 .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 D | pinctrl-imx.c | 207 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 D | pinctrl-imx.h | 66 * @mux_reg: mux register offset 70 s16 mux_reg; member in struct:imx_pin_reg
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | pinctrl-tegra.c | 277 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 D | pinctrl-tegra.h | 85 * @mux_reg: Mux register offset. 134 s16 mux_reg; member in struct:tegra_pingroup
|
H A D | pinctrl-tegra124.c | 1736 .mux_reg = PINGROUP_REG(r), \ 1760 .mux_reg = -1, \ 1795 .mux_reg = MIPI_PAD_CTRL_PINGROUP_REG_Y(r), \
|
H A D | pinctrl-tegra20.c | 1988 .mux_reg = ((mux_r) - PIN_MUX_CTL_REG_A), \ 2011 .mux_reg = -1, \ 2026 .mux_reg = -1, \
|
H A D | pinctrl-tegra210.c | 1299 .mux_reg = PINGROUP_REG(r), \ 1335 .mux_reg = -1, \
|
H A D | pinctrl-tegra114.c | 1567 .mux_reg = PINGROUP_REG(r), \ 1591 .mux_reg = -1, \
|
H A D | pinctrl-tegra30.c | 2128 .mux_reg = PINGROUP_REG(r), \ 2152 .mux_reg = -1, \
|
H A D | pinctrl-palmas.c | 589 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 D | mux.c | 355 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 D | mux.h | 25 const unsigned char mux_reg; member in struct:mux_config
|
/linux-4.1.27/arch/arm/boot/dts/ |
H A D | imx25-pinfunc.h | 17 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | vf610-pinfunc.h | 15 * <mux_reg input_reg mux_mode input_val>
|
H A D | imx51-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx35-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx50-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx6q-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx53-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx6dl-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx6sl-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx6sx-pinfunc.h | 15 * <mux_reg conf_reg input_reg mux_mode input_val>
|