Lines Matching refs:muxval
67 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()
123 t4240qds_mux_mdio(priv->muxval); in t4240qds_mdio_write()
135 static int t4240qds_mdio_init(char *realbusname, u8 muxval) in t4240qds_mdio_init() argument
155 strcpy(bus->name, t4240qds_mdio_name_for_muxval(muxval)); in t4240qds_mdio_init()
166 pmdio->muxval = muxval; in t4240qds_mdio_init()