Home
last modified time | relevance | path

Searched refs:muxval (Results 1 – 14 of 14) sorted by relevance

/external/u-boot/board/freescale/t102xqds/
Deth_t102xqds.c56 static const char *t1024qds_mdio_name_for_muxval(u8 muxval) in t1024qds_mdio_name_for_muxval() argument
58 return mdio_names[muxval]; in t1024qds_mdio_name_for_muxval()
61 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
66 if (muxval > EMI2) in mii_dev_for_muxval()
69 name = t1024qds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
72 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
87 u8 muxval; member
91 static void t1024qds_mux_mdio(u8 muxval) in t1024qds_mux_mdio() argument
95 if (muxval < 7) { in t1024qds_mux_mdio()
98 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in t1024qds_mux_mdio()
[all …]
/external/u-boot/board/freescale/ls1046aqds/
Deth.c41 static const char *ls1046aqds_mdio_name_for_muxval(u8 muxval) in ls1046aqds_mdio_name_for_muxval() argument
43 return mdio_names[muxval]; in ls1046aqds_mdio_name_for_muxval()
46 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
51 if (muxval > EMI1_SLOT4) in mii_dev_for_muxval()
54 name = ls1046aqds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
57 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
72 u8 muxval; member
76 static void ls1046aqds_mux_mdio(u8 muxval) in ls1046aqds_mux_mdio() argument
80 if (muxval < 7) { in ls1046aqds_mux_mdio()
83 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1046aqds_mux_mdio()
[all …]
/external/u-boot/board/freescale/ls1012aqds/
Deth.c41 static const char *ls1012aqds_mdio_name_for_muxval(u8 muxval) in ls1012aqds_mdio_name_for_muxval() argument
43 return mdio_names[muxval]; in ls1012aqds_mdio_name_for_muxval()
47 u8 muxval; member
51 static void ls1012aqds_mux_mdio(u8 muxval) in ls1012aqds_mux_mdio() argument
55 if (muxval < 7) { in ls1012aqds_mux_mdio()
58 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1012aqds_mux_mdio()
68 ls1012aqds_mux_mdio(priv->muxval); in ls1012aqds_mdio_read()
78 ls1012aqds_mux_mdio(priv->muxval); in ls1012aqds_mdio_write()
93 static int ls1012aqds_mdio_init(char *realbusname, u8 muxval) in ls1012aqds_mdio_init() argument
113 sprintf(bus->name, ls1012aqds_mdio_name_for_muxval(muxval)); in ls1012aqds_mdio_init()
[all …]
/external/u-boot/board/freescale/ls1043aqds/
Deth.c45 static const char *ls1043aqds_mdio_name_for_muxval(u8 muxval) in ls1043aqds_mdio_name_for_muxval() argument
47 return mdio_names[muxval]; in ls1043aqds_mdio_name_for_muxval()
50 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
55 if (muxval > EMI2) in mii_dev_for_muxval()
58 name = ls1043aqds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
61 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
76 u8 muxval; member
80 static void ls1043aqds_mux_mdio(u8 muxval) in ls1043aqds_mux_mdio() argument
84 if (muxval < 7) { in ls1043aqds_mux_mdio()
87 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1043aqds_mux_mdio()
[all …]
/external/u-boot/board/freescale/t1040qds/
Deth.c77 u8 muxval; member
81 static const char *t1040_qds_mdio_name_for_muxval(u8 muxval) in t1040_qds_mdio_name_for_muxval() argument
83 return mdio_names[muxval]; in t1040_qds_mdio_name_for_muxval()
86 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
89 const char *name = t1040_qds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
92 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
106 static void t1040_qds_mux_mdio(u8 muxval) in t1040_qds_mux_mdio() argument
109 if (muxval <= 7) { in t1040_qds_mux_mdio()
112 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in t1040_qds_mux_mdio()
122 t1040_qds_mux_mdio(priv->muxval); in t1040_qds_mdio_read()
[all …]
/external/u-boot/board/freescale/corenet_ds/
Deth_p4080.c66 static char *p4080ds_mdio_name_for_muxval(u32 muxval) in p4080ds_mdio_name_for_muxval() argument
68 return mdio_names[(muxval & EMI_MASK) >> 28]; in p4080ds_mdio_name_for_muxval()
71 struct mii_dev *mii_dev_for_muxval(u32 muxval) in mii_dev_for_muxval() argument
74 char *name = p4080ds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
77 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
144 u32 muxval; member
148 static void p4080ds_mux_mdio(u32 muxval) in p4080ds_mux_mdio() argument
152 gpioval |= muxval; in p4080ds_mux_mdio()
162 p4080ds_mux_mdio(priv->muxval); in p4080ds_mdio_read()
172 p4080ds_mux_mdio(priv->muxval); in p4080ds_mdio_write()
[all …]
/external/u-boot/board/freescale/ls1088a/
Deth_ls1088aqds.c79 u8 muxval; member
297 static const char *ls1088a_qds_mdio_name_for_muxval(u8 muxval) in ls1088a_qds_mdio_name_for_muxval() argument
299 return mdio_names[muxval]; in ls1088a_qds_mdio_name_for_muxval()
302 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
305 const char *name = ls1088a_qds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
308 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
322 static void ls1088a_qds_enable_SFP_TX(u8 muxval) in ls1088a_qds_enable_SFP_TX() argument
328 brdcfg9 |= (muxval << BRDCFG9_SFPTX_SHIFT); in ls1088a_qds_enable_SFP_TX()
332 static void ls1088a_qds_mux_mdio(u8 muxval) in ls1088a_qds_mux_mdio() argument
336 if (muxval <= 5) { in ls1088a_qds_mux_mdio()
[all …]
/external/u-boot/board/freescale/ls2080aqds/
Deth.c88 u8 muxval; member
325 static const char *ls2080a_qds_mdio_name_for_muxval(u8 muxval) in ls2080a_qds_mdio_name_for_muxval() argument
327 return mdio_names[muxval]; in ls2080a_qds_mdio_name_for_muxval()
330 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
333 const char *name = ls2080a_qds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
336 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
350 static void ls2080a_qds_enable_SFP_TX(u8 muxval) in ls2080a_qds_enable_SFP_TX() argument
356 brdcfg9 |= (muxval << BRDCFG9_SFPTX_SHIFT); in ls2080a_qds_enable_SFP_TX()
360 static void ls2080a_qds_mux_mdio(u8 muxval) in ls2080a_qds_mux_mdio() argument
364 if (muxval <= 5) { in ls2080a_qds_mux_mdio()
[all …]
/external/u-boot/board/freescale/t4qds/
Deth.c67 static const char *t4240qds_mdio_name_for_muxval(u8 muxval) in t4240qds_mdio_name_for_muxval() argument
69 return mdio_names[muxval]; in t4240qds_mdio_name_for_muxval()
72 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
75 const char *name = t4240qds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
78 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
93 u8 muxval; member
97 static void t4240qds_mux_mdio(u8 muxval) in t4240qds_mux_mdio() argument
100 if ((muxval < 6) || (muxval == 7)) { in t4240qds_mux_mdio()
103 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in t4240qds_mux_mdio()
113 t4240qds_mux_mdio(priv->muxval); in t4240qds_mdio_read()
[all …]
/external/u-boot/board/freescale/t208xqds/
Deth_t208xqds.c90 static const char *t208xqds_mdio_name_for_muxval(u8 muxval) in t208xqds_mdio_name_for_muxval() argument
92 return mdio_names[muxval]; in t208xqds_mdio_name_for_muxval()
95 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
98 const char *name = t208xqds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
101 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
116 u8 muxval; member
120 static void t208xqds_mux_mdio(u8 muxval) in t208xqds_mux_mdio() argument
123 if (muxval < 8) { in t208xqds_mux_mdio()
126 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in t208xqds_mux_mdio()
136 t208xqds_mux_mdio(priv->muxval); in t208xqds_mdio_read()
[all …]
/external/u-boot/arch/arm/mach-uniphier/
Dsg-regs.h92 .macro sg_set_pinsel, pin, muxval, mux_bits, reg_stride, ra, rd
96 orr \rd, \rd, #(\muxval << (\pin * \mux_bits % 32))
105 static inline void sg_set_pinsel(unsigned pin, unsigned muxval, in sg_set_pinsel() argument
115 tmp |= (mask & muxval) << shift; in sg_set_pinsel()
/external/u-boot/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c333 int muxval) in uniphier_pinmux_set_one() argument
345 if (muxval < 0) in uniphier_pinmux_set_one()
374 tmp |= (mask & muxval) << shift; in uniphier_pinmux_set_one()
377 muxval >>= mux_bits; in uniphier_pinmux_set_one()
/external/u-boot/drivers/pinctrl/rockchip/
Dpinctrl_rk3188.c841 int muxval, int flags) in rk3188_pinctrl_set_pins() argument
849 debug("%s: %x %x %x %x\n", __func__, banknum, index, muxval, flags); in rk3188_pinctrl_set_pins()
854 rk_clrsetreg(addr, mask << shift, muxval << shift); in rk3188_pinctrl_set_pins()
Dpinctrl_rk3288.c704 int muxval, int flags) in rk3288_pinctrl_set_pins() argument
713 debug("%s: %x %x %x %x\n", __func__, banknum, index, muxval, flags); in rk3288_pinctrl_set_pins()
728 value |= (mask << (shift + 16)) | (muxval << shift); in rk3288_pinctrl_set_pins()