Lines Matching refs:muxval
90 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()
146 t208xqds_mux_mdio(priv->muxval); in t208xqds_mdio_write()
158 static int t208xqds_mdio_init(char *realbusname, u8 muxval) in t208xqds_mdio_init() argument
178 strcpy(bus->name, t208xqds_mdio_name_for_muxval(muxval)); in t208xqds_mdio_init()
189 pmdio->muxval = muxval; in t208xqds_mdio_init()