Home
last modified time | relevance | path

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

/arch/arm/mach-imx/
Diomux-v3.h56 typedef u64 iomux_v3_cfg_t; typedef
59 #define MUX_CTRL_OFS_MASK ((iomux_v3_cfg_t)0xfff << MUX_CTRL_OFS_SHIFT)
61 #define MUX_PAD_CTRL_OFS_MASK ((iomux_v3_cfg_t)0xfff << MUX_PAD_CTRL_OFS_SHIFT)
63 #define MUX_SEL_INPUT_OFS_MASK ((iomux_v3_cfg_t)0xfff << MUX_SEL_INPUT_OFS_SHIFT)
66 #define MUX_MODE_MASK ((iomux_v3_cfg_t)0x1f << MUX_MODE_SHIFT)
68 #define MUX_PAD_CTRL_MASK ((iomux_v3_cfg_t)0x1ffff << MUX_PAD_CTRL_SHIFT)
70 #define MUX_SEL_INPUT_MASK ((iomux_v3_cfg_t)0xf << MUX_SEL_INPUT_SHIFT)
72 #define MUX_PAD_CTRL(x) ((iomux_v3_cfg_t)(x) << MUX_PAD_CTRL_SHIFT)
76 (((iomux_v3_cfg_t)(_mux_ctrl_ofs) << MUX_CTRL_OFS_SHIFT) | \
77 ((iomux_v3_cfg_t)(_mux_mode) << MUX_MODE_SHIFT) | \
[all …]
Diomux-v3.c38 int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad) in mxc_iomux_v3_setup_pad()
59 int mxc_iomux_v3_setup_multiple_pads(const iomux_v3_cfg_t *pad_list, in mxc_iomux_v3_setup_multiple_pads()
62 const iomux_v3_cfg_t *p = pad_list; in mxc_iomux_v3_setup_multiple_pads()
Dmach-pcm043.c132 static const iomux_v3_cfg_t pcm043_pads[] __initconst = {
223 iomux_v3_cfg_t txfs_gpio = MX35_PAD_STXFS4__GPIO2_31; in pcm043_ac97_warm_reset()
224 iomux_v3_cfg_t txfs = MX35_PAD_STXFS4__AUDMUX_AUD4_TXFS; in pcm043_ac97_warm_reset()
246 iomux_v3_cfg_t txfs_gpio = MX35_PAD_STXFS4__GPIO2_31; in pcm043_ac97_cold_reset()
247 iomux_v3_cfg_t txfs = MX35_PAD_STXFS4__AUDMUX_AUD4_TXFS; in pcm043_ac97_cold_reset()
248 iomux_v3_cfg_t txd_gpio = MX35_PAD_STXD4__GPIO2_28; in pcm043_ac97_cold_reset()
249 iomux_v3_cfg_t txd = MX35_PAD_STXD4__AUDMUX_AUD4_TXD; in pcm043_ac97_cold_reset()
250 iomux_v3_cfg_t reset_gpio = MX35_PAD_SD2_CMD__GPIO2_0; in pcm043_ac97_cold_reset()
Dmach-vpr200.c164 static const iomux_v3_cfg_t vpr200_pads[] __initconst = {
Dmach-mx35_3ds.c169 static const iomux_v3_cfg_t mx35pdk_pads[] __initconst = {