Lines Matching refs:muxval
56 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()
108 t1024qds_mux_mdio(priv->muxval); in t1024qds_mdio_read()
118 t1024qds_mux_mdio(priv->muxval); in t1024qds_mdio_write()
130 static int t1024qds_mdio_init(char *realbusname, u8 muxval) in t1024qds_mdio_init() argument
150 strcpy(bus->name, t1024qds_mdio_name_for_muxval(muxval)); in t1024qds_mdio_init()
161 pmdio->muxval = muxval; in t1024qds_mdio_init()