/openbmc/u-boot/arch/arm/include/asm/arch-mxs/ |
H A D | iomux.h | 29 typedef u32 iomux_cfg_t; typedef 93 (((iomux_cfg_t)(_bank) << MXS_PAD_BANK_SHIFT) | \ 94 ((iomux_cfg_t)(_pin) << MXS_PAD_PIN_SHIFT) | \ 96 ((iomux_cfg_t)(_ma) << MXS_PAD_MA_SHIFT) | \ 97 ((iomux_cfg_t)(_vol) << MXS_PAD_VOL_SHIFT) | \ 98 ((iomux_cfg_t)(_pull) << MXS_PAD_PULL_SHIFT)) 107 static inline unsigned int PAD_BANK(iomux_cfg_t pad) in PAD_BANK() 112 static inline unsigned int PAD_PIN(iomux_cfg_t pad) in PAD_PIN() 122 static inline unsigned int PAD_MA(iomux_cfg_t pad) in PAD_MA() 132 static inline unsigned int PAD_VOL(iomux_cfg_t pad) in PAD_VOL() [all …]
|
H A D | sys_proto.h | 25 const iomux_cfg_t *iomux_setup,
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
H A D | iomux.h | 44 typedef u64 iomux_cfg_t; typedef 49 #define MUX_SEL_INPUT_OFS_MASK ((iomux_cfg_t)0xffff << \ 53 #define MUX_MODE_MASK ((iomux_cfg_t)0x3f << MUX_MODE_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) | \ 66 ((iomux_cfg_t)(sel_input_ofs) << MUX_SEL_INPUT_OFS_SHIFT)| \ 67 ((iomux_cfg_t)(sel_input) << MUX_SEL_INPUT_SHIFT)) 91 void mx7ulp_iomux_setup_pad(iomux_cfg_t pad); [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/ |
H A D | iomux.h | 14 typedef u64 iomux_cfg_t; typedef 28 #define MUX_PAD_CTRL_MASK ((iomux_cfg_t)0xFFFFFFFF << MUX_PAD_CTRL_SHIFT) 29 #define MUX_PAD_CTRL(x) ((iomux_cfg_t)(x) << MUX_PAD_CTRL_SHIFT) 31 #define MUX_MODE_MASK ((iomux_cfg_t)0x7 << MUX_MODE_SHIFT) 32 #define PIN_ID_MASK ((iomux_cfg_t)0xFFFF) 35 #define MUX_MODE_ALT(x) (((iomux_cfg_t)(x) << MUX_MODE_SHIFT) & \ 38 void imx8_iomux_setup_pad(iomux_cfg_t pad); 39 void imx8_iomux_setup_multiple_pads(iomux_cfg_t const *pad_list, u32 count);
|
/openbmc/u-boot/arch/arm/mach-imx/imx8/ |
H A D | iomux.c | 16 void imx8_iomux_setup_pad(iomux_cfg_t pad) in imx8_iomux_setup_pad() 34 void imx8_iomux_setup_multiple_pads(iomux_cfg_t const *pad_list, u32 count) in imx8_iomux_setup_multiple_pads() 36 iomux_cfg_t const *p = pad_list; in imx8_iomux_setup_multiple_pads()
|
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/ |
H A D | iomux.c | 22 void mx7ulp_iomux_setup_pad(iomux_cfg_t pad) in mx7ulp_iomux_setup_pad() 59 void mx7ulp_iomux_setup_multiple_pads(iomux_cfg_t const *pad_list, in mx7ulp_iomux_setup_multiple_pads() 62 iomux_cfg_t const *p = pad_list; in mx7ulp_iomux_setup_multiple_pads()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | iomux.c | 29 int mxs_iomux_setup_pad(iomux_cfg_t pad) in mxs_iomux_setup_pad() 82 int mxs_iomux_setup_multiple_pads(const iomux_cfg_t *pad_list, unsigned count) in mxs_iomux_setup_multiple_pads() 84 const iomux_cfg_t *p = pad_list; in mxs_iomux_setup_multiple_pads()
|
H A D | spl_boot.c | 44 static const iomux_cfg_t iomux_boot[] = { 119 const iomux_cfg_t *iomux_setup, in mxs_common_spl_init()
|
/openbmc/u-boot/board/sandisk/sansa_fuze_plus/ |
H A D | sfp.c | 78 const iomux_cfg_t iomux_lcd_gpio[] = { 104 const iomux_cfg_t iomux_lcd_lcd[] = { 133 iomux_cfg_t mux; in mxsfb_read_register()
|
H A D | spl_boot.c | 19 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/freescale/mx7ulp_evk/ |
H A D | mx7ulp_evk.c | 23 static iomux_cfg_t const lpuart4_pads[] = {
|
/openbmc/u-boot/board/freescale/imx8qxp_mek/ |
H A D | imx8qxp_mek.c | 31 static iomux_cfg_t uart0_pads[] = {
|
/openbmc/u-boot/board/olimex/mx23_olinuxino/ |
H A D | spl_boot.c | 18 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/technologic/ts4600/ |
H A D | iomux.c | 26 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/schulercontrol/sc_sps_1/ |
H A D | spl_boot.c | 22 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/creative/xfi3/ |
H A D | spl_boot.c | 19 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/freescale/mx23evk/ |
H A D | spl_boot.c | 20 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/bluegiga/apx4devkit/ |
H A D | spl_boot.c | 29 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/ppcag/bg0900/ |
H A D | spl_boot.c | 20 const iomux_cfg_t iomux_setup[] = {
|
/openbmc/u-boot/board/freescale/mx28evk/ |
H A D | iomux.c | 23 const iomux_cfg_t iomux_setup[] = {
|