Lines Matching refs:muxval
41 static const char *ls1012aqds_mdio_name_for_muxval(u8 muxval) in ls1012aqds_mdio_name_for_muxval() argument
43 return mdio_names[muxval]; in ls1012aqds_mdio_name_for_muxval()
47 u8 muxval; member
51 static void ls1012aqds_mux_mdio(u8 muxval) in ls1012aqds_mux_mdio() argument
55 if (muxval < 7) { in ls1012aqds_mux_mdio()
58 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls1012aqds_mux_mdio()
68 ls1012aqds_mux_mdio(priv->muxval); in ls1012aqds_mdio_read()
78 ls1012aqds_mux_mdio(priv->muxval); in ls1012aqds_mdio_write()
93 static int ls1012aqds_mdio_init(char *realbusname, u8 muxval) in ls1012aqds_mdio_init() argument
113 sprintf(bus->name, ls1012aqds_mdio_name_for_muxval(muxval)); in ls1012aqds_mdio_init()
124 pmdio->muxval = muxval; in ls1012aqds_mdio_init()