OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:iomux_cfg_t
(Results
1 - 2
of
2
) sorted by null
/external/u-boot/arch/arm/include/asm/arch-mx7ulp/
iomux.h
44
typedef u64
iomux_cfg_t
;
typedef
47
#define MUX_CTRL_OFS_MASK ((
iomux_cfg_t
)0xffff << MUX_CTRL_OFS_SHIFT)
49
#define MUX_SEL_INPUT_OFS_MASK ((
iomux_cfg_t
)0xffff << \
53
#define MUX_MODE_MASK ((
iomux_cfg_t
)0x3f << MUX_MODE_SHIFT)
55
#define MUX_SEL_INPUT_MASK ((
iomux_cfg_t
)0xf << MUX_SEL_INPUT_SHIFT)
57
#define MUX_PAD_CTRL_MASK ((
iomux_cfg_t
)0x7ffff << MUX_PAD_CTRL_SHIFT)
59
#define MUX_PAD_CTRL(x) ((
iomux_cfg_t
)(x) << MUX_PAD_CTRL_SHIFT)
63
(((
iomux_cfg_t
)(mux_ctrl_ofs) << MUX_CTRL_OFS_SHIFT) | \
64
((
iomux_cfg_t
)(mux_mode) << MUX_MODE_SHIFT) | \
65
((
iomux_cfg_t
)(pad_ctrl) << MUX_PAD_CTRL_SHIFT) |
[
all
...]
/external/u-boot/arch/arm/include/asm/arch-mxs/
iomux.h
29
typedef u32
iomux_cfg_t
;
typedef
32
#define MXS_PAD_BANK_MASK ((
iomux_cfg_t
)0x7 << MXS_PAD_BANK_SHIFT)
34
#define MXS_PAD_PIN_MASK ((
iomux_cfg_t
)0x1f << MXS_PAD_PIN_SHIFT)
36
#define MXS_PAD_MUXSEL_MASK ((
iomux_cfg_t
)0x3 << MXS_PAD_MUXSEL_SHIFT)
38
#define MXS_PAD_MA_MASK ((
iomux_cfg_t
)0x3 << MXS_PAD_MA_SHIFT)
40
#define MXS_PAD_MA_VALID_MASK ((
iomux_cfg_t
)0x1 << MXS_PAD_MA_VALID_SHIFT)
42
#define MXS_PAD_VOL_MASK ((
iomux_cfg_t
)0x1 << MXS_PAD_VOL_SHIFT)
44
#define MXS_PAD_VOL_VALID_MASK ((
iomux_cfg_t
)0x1 << MXS_PAD_VOL_VALID_SHIFT)
46
#define MXS_PAD_PULL_MASK ((
iomux_cfg_t
)0x1 << MXS_PAD_PULL_SHIFT)
48
#define MXS_PAD_PULL_VALID_MASK ((
iomux_cfg_t
)0x1 << MXS_PAD_PULL_VALID_SHIFT
[
all
...]
Completed in 2540 milliseconds