Home
last modified time | relevance | path

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

/u-boot/board/freescale/ls1012aqds/
A Deth.c42 static const char *ls1012aqds_mdio_name_for_muxval(u8 muxval) in ls1012aqds_mdio_name_for_muxval() argument
44 return mdio_names[muxval]; in ls1012aqds_mdio_name_for_muxval()
48 u8 muxval; member
52 static void ls1012aqds_mux_mdio(u8 muxval) in ls1012aqds_mux_mdio() argument
56 if (muxval < 7) { in ls1012aqds_mux_mdio()
59 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1012aqds_mux_mdio()
69 ls1012aqds_mux_mdio(priv->muxval); in ls1012aqds_mdio_read()
79 ls1012aqds_mux_mdio(priv->muxval); in ls1012aqds_mdio_write()
94 static int ls1012aqds_mdio_init(char *realbusname, u8 muxval) in ls1012aqds_mdio_init() argument
114 sprintf(bus->name, ls1012aqds_mdio_name_for_muxval(muxval)); in ls1012aqds_mdio_init()
[all …]
/u-boot/board/freescale/ls1046aqds/
A Deth.c46 return mdio_names[muxval]; in ls1046aqds_mdio_name_for_muxval()
49 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
54 if (muxval > EMI1_SLOT4) in mii_dev_for_muxval()
60 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
75 u8 muxval; member
79 static void ls1046aqds_mux_mdio(u8 muxval) in ls1046aqds_mux_mdio() argument
83 if (muxval < 7) { in ls1046aqds_mux_mdio()
86 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1046aqds_mux_mdio()
96 ls1046aqds_mux_mdio(priv->muxval); in ls1046aqds_mdio_read()
106 ls1046aqds_mux_mdio(priv->muxval); in ls1046aqds_mdio_write()
[all …]
/u-boot/board/freescale/ls1043aqds/
A Deth.c50 return mdio_names[muxval]; in ls1043aqds_mdio_name_for_muxval()
53 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
58 if (muxval > EMI2) in mii_dev_for_muxval()
64 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
79 u8 muxval; member
83 static void ls1043aqds_mux_mdio(u8 muxval) in ls1043aqds_mux_mdio() argument
87 if (muxval < 7) { in ls1043aqds_mux_mdio()
90 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1043aqds_mux_mdio()
100 ls1043aqds_mux_mdio(priv->muxval); in ls1043aqds_mdio_read()
110 ls1043aqds_mux_mdio(priv->muxval); in ls1043aqds_mdio_write()
[all …]
/u-boot/board/freescale/corenet_ds/
A Deth_p4080.c69 static char *p4080ds_mdio_name_for_muxval(u32 muxval) in p4080ds_mdio_name_for_muxval() argument
71 return mdio_names[(muxval & EMI_MASK) >> 28]; in p4080ds_mdio_name_for_muxval()
74 struct mii_dev *mii_dev_for_muxval(u32 muxval) in mii_dev_for_muxval() argument
77 char *name = p4080ds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
80 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
147 u32 muxval; member
151 static void p4080ds_mux_mdio(u32 muxval) in p4080ds_mux_mdio() argument
155 gpioval |= muxval; in p4080ds_mux_mdio()
165 p4080ds_mux_mdio(priv->muxval); in p4080ds_mdio_read()
175 p4080ds_mux_mdio(priv->muxval); in p4080ds_mdio_write()
[all …]
/u-boot/board/freescale/ls1088a/
A Deth_ls1088aqds.c84 u8 muxval; member
359 return mdio_names[muxval]; in ls1088a_qds_mdio_name_for_muxval()
362 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
368 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
388 brdcfg9 |= (muxval << BRDCFG9_SFPTX_SHIFT); in ls1088a_qds_enable_SFP_TX()
392 static void ls1088a_qds_mux_mdio(u8 muxval) in ls1088a_qds_mux_mdio() argument
396 if (muxval <= 5) { in ls1088a_qds_mux_mdio()
399 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1088a_qds_mux_mdio()
409 ls1088a_qds_mux_mdio(priv->muxval); in ls1088a_qds_mdio_read()
419 ls1088a_qds_mux_mdio(priv->muxval); in ls1088a_qds_mdio_write()
[all …]
/u-boot/board/freescale/t208xqds/
A Deth_t208xqds.c97 return mdio_names[muxval]; in t208xqds_mdio_name_for_muxval()
100 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
103 const char *name = t208xqds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
106 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
121 u8 muxval; member
125 static void t208xqds_mux_mdio(u8 muxval) in t208xqds_mux_mdio() argument
128 if (muxval < 8) { in t208xqds_mux_mdio()
131 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in t208xqds_mux_mdio()
141 t208xqds_mux_mdio(priv->muxval); in t208xqds_mdio_read()
151 t208xqds_mux_mdio(priv->muxval); in t208xqds_mdio_write()
[all …]
/u-boot/board/freescale/ls2080aqds/
A Deth.c94 u8 muxval; member
390 return mdio_names[muxval]; in ls2080a_qds_mdio_name_for_muxval()
393 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
399 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
419 brdcfg9 |= (muxval << BRDCFG9_SFPTX_SHIFT); in ls2080a_qds_enable_SFP_TX()
423 static void ls2080a_qds_mux_mdio(u8 muxval) in ls2080a_qds_mux_mdio() argument
427 if (muxval <= 5) { in ls2080a_qds_mux_mdio()
430 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls2080a_qds_mux_mdio()
440 ls2080a_qds_mux_mdio(priv->muxval); in ls2080a_qds_mdio_read()
450 ls2080a_qds_mux_mdio(priv->muxval); in ls2080a_qds_mdio_write()
[all …]
/u-boot/arch/arm/mach-uniphier/debug-uart/
A Ddebug-uart.c30 void sg_set_pinsel(unsigned int pin, unsigned int muxval, in sg_set_pinsel() argument
41 tmp |= (mask & muxval) << shift; in sg_set_pinsel()
A Ddebug-uart.h16 void sg_set_pinsel(unsigned int pin, unsigned int muxval,
/u-boot/drivers/pinctrl/uniphier/
A Dpinctrl-uniphier-core.c336 int muxval) in uniphier_pinmux_set_one() argument
348 if (muxval < 0) in uniphier_pinmux_set_one()
377 tmp |= (mask & muxval) << shift; in uniphier_pinmux_set_one()
380 muxval >>= mux_bits; in uniphier_pinmux_set_one()
/u-boot/arch/arm/mach-uniphier/arm32/
A Ddebug_ll.S24 .macro sg_set_pinsel, pin, muxval, mux_bits, reg_stride, ra, rd
28 orr \rd, \rd, #(\muxval << (\pin * \mux_bits % 32))

Completed in 16 milliseconds