Searched refs:force_media (Results 1 – 17 of 17) sorted by relevance
297 mii->force_media = 0; in mii_ethtool_sset()317 mii->force_media = 1; in mii_ethtool_sset()394 mii->force_media = 0; in mii_ethtool_set_link_ksettings()415 mii->force_media = 1; in mii_ethtool_set_link_ksettings()535 if (mii->force_media) { in mii_check_media()616 mii_if->force_media = 0; in generic_mii_ioctl()618 mii_if->force_media = 1; in generic_mii_ioctl()619 if (mii_if->force_media && in generic_mii_ioctl()
25 unsigned int force_media : 1; /* is autoneg. disabled? */ member
1082 tp->mii.force_media = 1; in rtl8139_init_one()1090 tp->mii.force_media = 1; in rtl8139_init_one()1350 tp->mii.full_duplex = tp->mii.force_media; in rtl8139_open()1575 if (!tp->mii.force_media && mii_lpa != 0xffff) { in rtl8139_thread_iter()
1366 if (!rp->mii_if.force_media) in rhine_check_media()1377 rp->mii_if.force_media, netif_carrier_ok(dev)); in rhine_check_media()1386 if (mii->force_media) { in rhine_set_carrier()1395 mii->force_media, netif_carrier_ok(dev)); in rhine_set_carrier()
429 np->mii_if.force_media = 1; in w840_probe1()719 duplex |= np->mii_if.force_media; in update_link()
471 ep->mii.force_media = ep->mii.full_duplex = 1; in epic_init_one()831 if (ep->mii.force_media) in check_media()
908 if (lp->mii.force_media) { in smc911x_phy_configure()1930 lp->mii.force_media = 0; in smc911x_probe()
1070 if (lp->mii.force_media) { in smc_phy_configure()1973 lp->mii.force_media = 0; in smc_probe()
655 np->mii.force_media = 1; in fealnx_init_one()896 np->mii.full_duplex = np->mii.force_media; in netdev_open()
667 if (mii->force_media) { in korina_set_carrier()
2616 if (jme->mii_if.force_media && in jme_set_link_ksettings()
1111 if (nic->mii.force_media && nic->mii.full_duplex) in e100_configure()1524 nic->mii.force_media ? 0 : NCONFIG_AUTO_SWITCH); in e100_phy_init()
1250 vp->mii.force_media = vp->full_duplex; in vortex_probe1()1601 vp->full_duplex = vp->mii.force_media; in vortex_up()
1657 db->mii.force_media = 0; in dm9000_probe()
699 hmp->mii_if.force_media = 1; in hamachi_init_one()
1091 if (!np->mii_if.force_media) { in check_duplex()
3902 tp->mii.force_media = 1; in rtl8152_set_speed()3960 tp->mii.force_media = 0; in rtl8152_set_speed()