/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/ |
H A D | iomux.c | 25 u32 mux_mode = (pad & MUX_MODE_MASK) >> MUX_MODE_SHIFT; in mx7ulp_iomux_setup_pad() local 34 pad, mux_ctrl_ofs, mux_mode, sel_input_ofs, sel_input, in mx7ulp_iomux_setup_pad() 37 if (mux_mode & IOMUX_CONFIG_MPORTS) { in mx7ulp_iomux_setup_pad() 38 mux_mode &= ~IOMUX_CONFIG_MPORTS; in mx7ulp_iomux_setup_pad() 44 __raw_writel(((mux_mode << IOMUXC_PCR_MUX_ALT_SHIFT) & in mx7ulp_iomux_setup_pad() 52 __raw_writel(((mux_mode << IOMUXC_PCR_MUX_ALT_SHIFT) & in mx7ulp_iomux_setup_pad()
|
/openbmc/u-boot/drivers/pinctrl/nxp/ |
H A D | pinctrl-imx.c | 26 u32 input_val, mux_mode, config_val; in imx_pinctrl_set_state() local 93 mux_mode = pin_data[j++]; in imx_pinctrl_set_state() 98 "input_reg 0x%x, mux_mode 0x%x, " in imx_pinctrl_set_state() 100 mux_reg, conf_reg, input_reg, mux_mode, in imx_pinctrl_set_state() 104 mux_mode |= IOMUXC_CONFIG_SION; in imx_pinctrl_set_state() 112 mux_mode << mux_shift); in imx_pinctrl_set_state() 114 writel(mux_mode, info->base + mux_reg); in imx_pinctrl_set_state() 118 mux_reg, mux_mode); in imx_pinctrl_set_state()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | iomux-v3.c | 24 u32 mux_mode = (pad & MUX_MODE_MASK) >> MUX_MODE_SHIFT; in imx_iomux_v3_setup_pad() local 47 mux_mode &= ~IOMUX_CONFIG_LPSR; in imx_iomux_v3_setup_pad() 56 mux_mode &= ~IOMUX_CONFIG_LPSR; in imx_iomux_v3_setup_pad() 63 __raw_writel(mux_mode, base + mux_ctrl_ofs); in imx_iomux_v3_setup_pad() 70 __raw_writel((mux_mode << PAD_MUX_MODE_SHIFT) | pad_ctrl, in imx_iomux_v3_setup_pad()
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.h | 23 * @mux_mode: the mux mode for this pin. 30 unsigned int mux_mode; member 42 unsigned int mux_mode; member 90 /* MUX_MODE shift and mask in case SHARE_MUX_CONF_REG */
|
H A D | pinctrl-imx.c | 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() 450 * <mux_reg conf_reg input_reg mux_mode input_val> 452 * <mux_conf_reg input_reg mux_mode input_val> 454 * <pin_id mux_mode> 491 pin_mmio->mux_mode = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio() 498 pin_mmio->mux_mode |= IOMUXC_CONFIG_SION; in imx_pinctrl_parse_pin_mmio() 504 pin_mmio->mux_mode, pin_mmio->config); in imx_pinctrl_parse_pin_mmio()
|
H A D | pinctrl-scu.c | 150 pin_scu->mux_mode = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_scu() 155 pin_scu->mux_mode, pin_scu->config); in imx_pinctrl_parse_pin_scu()
|
/openbmc/linux/arch/arm/mach-davinci/ |
H A D | mux.h | 668 #define MUX_CFG(soc, desc, muxreg, mode_offset, mode_mask, mux_mode, dbg)\ argument 676 .mode = mux_mode, \ 679 #define INT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg) \ argument 687 .mode = mux_mode, \ 690 #define EVT_CFG(soc, desc, mode_offset, mode_mask, mux_mode, dbg) \ argument 698 .mode = mux_mode, \
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
H A D | iomux.h | 38 * MUX_MODE: 32..37 (6) 61 #define IOMUX_PAD(pad_ctrl_ofs, mux_ctrl_ofs, mux_mode, sel_input_ofs, \ argument 64 ((iomux_cfg_t)(mux_mode) << MUX_MODE_SHIFT) | \
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | fsl,imx8ulp-pinctrl.yaml | 36 mux_mode input_val> are specified using a PIN_FUNC_ID macro, which can 48 "mux_mode" indicates the mux value to be applied.
|
H A D | fsl,imx7ulp-pinctrl.txt | 17 <mux_conf_reg input_reg mux_mode input_val> are specified
|
H A D | fsl,imx-pinctrl.txt | 36 Force the selected mux mode input path no matter of MUX_MODE functionality.
|
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | iomux-v3.h | 41 * MUX_MODE + SION + LPSR: 36..41 (6) 68 #define IOMUX_PAD(pad_ctrl_ofs, mux_ctrl_ofs, mux_mode, sel_input_ofs, \ argument 71 ((iomux_v3_cfg_t)(mux_mode) << MUX_MODE_SHIFT) | \
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-pinfunc-snvs.h | 11 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx6ull-pinfunc.h | 12 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx7ulp-pinfunc.h | 12 * <mux_conf_reg input_reg mux_mode input_val>
|
H A D | imx25-pinfunc.h | 13 * <mux_reg conf_reg input_reg mux_mode input_val>
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx6ull-pinfunc-snvs.h | 13 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx6ull-pinfunc.h | 15 * <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>
|
/openbmc/linux/include/dt-bindings/pinctrl/ |
H A D | pads-imx8dxl.h | 147 /* format: <pin_id mux_mode> */
|
H A D | pads-imx8qxp.h | 187 * format: <pin_id mux_mode>
|
H A D | pads-imx8qm.h | 282 * format: <pin_id mux_mode>
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-pinfunc.h | 11 * <mux_reg conf_reg input_reg mux_mode input_val>
|
H A D | imx8mq-pinfunc.h | 12 * <mux_reg conf_reg input_reg mux_mode input_val>
|
/openbmc/u-boot/include/dt-bindings/pinctrl/ |
H A D | pins-imx8mq.h | 21 * <mux_reg conf_reg input_reg mux_mode input_val>
|