Lines Matching refs:muxval
88 u8 muxval; member
325 static const char *ls2080a_qds_mdio_name_for_muxval(u8 muxval) in ls2080a_qds_mdio_name_for_muxval() argument
327 return mdio_names[muxval]; in ls2080a_qds_mdio_name_for_muxval()
330 struct mii_dev *mii_dev_for_muxval(u8 muxval) in mii_dev_for_muxval() argument
333 const char *name = ls2080a_qds_mdio_name_for_muxval(muxval); in mii_dev_for_muxval()
336 printf("No bus for muxval %x\n", muxval); in mii_dev_for_muxval()
350 static void ls2080a_qds_enable_SFP_TX(u8 muxval) in ls2080a_qds_enable_SFP_TX() argument
356 brdcfg9 |= (muxval << BRDCFG9_SFPTX_SHIFT); in ls2080a_qds_enable_SFP_TX()
360 static void ls2080a_qds_mux_mdio(u8 muxval) in ls2080a_qds_mux_mdio() argument
364 if (muxval <= 5) { in ls2080a_qds_mux_mdio()
367 brdcfg4 |= (muxval << BRDCFG4_EMISEL_SHIFT); in ls2080a_qds_mux_mdio()
377 ls2080a_qds_mux_mdio(priv->muxval); in ls2080a_qds_mdio_read()
387 ls2080a_qds_mux_mdio(priv->muxval); in ls2080a_qds_mdio_write()
399 static int ls2080a_qds_mdio_init(char *realbusname, u8 muxval) in ls2080a_qds_mdio_init() argument
419 strcpy(bus->name, ls2080a_qds_mdio_name_for_muxval(muxval)); in ls2080a_qds_mdio_init()
430 pmdio->muxval = muxval; in ls2080a_qds_mdio_init()