Searched refs:force_media (Results 1 – 17 of 17) sorted by relevance
295 mii->force_media = 0; in mii_ethtool_sset()315 mii->force_media = 1; in mii_ethtool_sset()392 mii->force_media = 0; in mii_ethtool_set_link_ksettings()413 mii->force_media = 1; in mii_ethtool_set_link_ksettings()533 if (mii->force_media) { in mii_check_media()614 mii_if->force_media = 0; in generic_mii_ioctl()616 mii_if->force_media = 1; in generic_mii_ioctl()617 if (mii_if->force_media && in generic_mii_ioctl()
25 unsigned int force_media : 1; /* is autoneg. disabled? */ member
1083 tp->mii.force_media = 1; in rtl8139_init_one()1091 tp->mii.force_media = 1; in rtl8139_init_one()1351 tp->mii.full_duplex = tp->mii.force_media; in rtl8139_open()1576 if (!tp->mii.force_media && mii_lpa != 0xffff) { in rtl8139_thread_iter()
1352 if (!rp->mii_if.force_media) in rhine_check_media()1363 rp->mii_if.force_media, netif_carrier_ok(dev)); in rhine_check_media()1372 if (mii->force_media) { in rhine_set_carrier()1381 mii->force_media, netif_carrier_ok(dev)); in rhine_set_carrier()
421 np->mii_if.force_media = 1; in w840_probe1()708 duplex |= np->mii_if.force_media; in update_link()
476 ep->mii.force_media = ep->mii.full_duplex = 1; in epic_init_one()838 if (ep->mii.force_media) in check_media()
911 if (lp->mii.force_media) { in smc911x_phy_configure()1935 lp->mii.force_media = 0; in smc911x_probe()
1070 if (lp->mii.force_media) { in smc_phy_configure()1975 lp->mii.force_media = 0; in smc_probe()
645 np->mii.force_media = 1; in fealnx_init_one()888 np->mii.full_duplex = np->mii.force_media; in netdev_open()
912 if (mii->force_media) { in korina_set_carrier()
2594 if (jme->mii_if.force_media && in jme_set_link_ksettings()
1251 vp->mii.force_media = vp->full_duplex; in vortex_probe1()1603 vp->full_duplex = vp->mii.force_media; in vortex_up()
1108 if (nic->mii.force_media && nic->mii.full_duplex) in e100_configure()1520 nic->mii.force_media ? 0 : NCONFIG_AUTO_SWITCH); in e100_phy_init()
1662 db->mii.force_media = 0; in dm9000_probe()
705 hmp->mii_if.force_media = 1; in hamachi_init_one()
1080 if (!np->mii_if.force_media) { in check_duplex()
6125 tp->mii.force_media = 1; in rtl8152_set_speed()6198 tp->mii.force_media = 0; in rtl8152_set_speed()