Lines Matching refs:muxval
48 static const char *ls1043aqds_mdio_name_for_muxval(u8 muxval) in ls1043aqds_mdio_name_for_muxval() argument
50 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()
61 name = ls1043aqds_mdio_name_for_muxval(muxval); 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()
123 static int ls1043aqds_mdio_init(char *realbusname, u8 muxval) in ls1043aqds_mdio_init() argument
143 strcpy(bus->name, ls1043aqds_mdio_name_for_muxval(muxval)); in ls1043aqds_mdio_init()
154 pmdio->muxval = muxval; in ls1043aqds_mdio_init()