Lines Matching refs:muxval
95 static const char *t208xqds_mdio_name_for_muxval(u8 muxval) in t208xqds_mdio_name_for_muxval() argument
97 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()
163 static int t208xqds_mdio_init(char *realbusname, u8 muxval) in t208xqds_mdio_init() argument
183 strcpy(bus->name, t208xqds_mdio_name_for_muxval(muxval)); in t208xqds_mdio_init()
194 pmdio->muxval = muxval; in t208xqds_mdio_init()