Home
last modified time | relevance | path

Searched refs:ctrl1000 (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/
H A Dmii.c56 u16 bmcr, bmsr, ctrl1000 = 0, stat1000 = 0; in mii_ethtool_gset() local
82 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); in mii_ethtool_gset()
89 mii_ctrl1000_to_ethtool_adv_t(ctrl1000); in mii_ethtool_gset()
146 u16 bmcr, bmsr, ctrl1000 = 0, stat1000 = 0; in mii_ethtool_get_link_ksettings() local
168 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); in mii_ethtool_get_link_ksettings()
174 advertising |= mii_ctrl1000_to_ethtool_adv_t(ctrl1000); in mii_ethtool_get_link_ksettings()
/linux/include/linux/
H A Dmii.h442 u32 ctrl1000) in mii_ctrl1000_mod_linkmode_adv_t() argument
445 ctrl1000 & ADVERTISE_1000HALF); in mii_ctrl1000_mod_linkmode_adv_t()
447 ctrl1000 & ADVERTISE_1000FULL); in mii_ctrl1000_mod_linkmode_adv_t()
/linux/drivers/net/ethernet/
H A Djme.c1739 u32 ctrl1000, phy_data; in jme_phy_calibration() local
1744 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration()
1745 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; in jme_phy_calibration()
1746 ctrl1000 |= PHY_GAD_TEST_MODE_1; in jme_phy_calibration()
1747 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration()
1762 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration()
1763 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; in jme_phy_calibration()
1764 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration()
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h185 u16 ctrl1000; /* 1000BASE-T control register */ member
H A Dnetdev.c5055 ret_val |= e1e_rphy(hw, MII_CTRL1000, &phy->ctrl1000); in e1000_phy_read_status()
5072 phy->ctrl1000 = ADVERTISE_1000FULL; in e1000_phy_read_status()
6116 data->val_out = adapter->phy_regs.ctrl1000; in e1000_mii_ioctl()
/linux/drivers/net/ethernet/sun/
H A Dniu.c1116 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; in link_status_mii() local
1148 ctrl1000 = err; in link_status_mii()
1155 estatus = ctrl1000 = stat1000 = 0; in link_status_mii()
1175 advertising |= mii_ctrl1000_to_ethtool_adv_t(ctrl1000); in link_status_mii()
1184 neg1000 = (ctrl1000 << 2) & stat1000; in link_status_mii()
1705 u16 ctrl1000 = 0; in xcvr_init_1g_rgmii() local
1708 ctrl1000 |= ADVERTISE_1000FULL; in xcvr_init_1g_rgmii()
1709 err = mii_write(np, np->phy_addr, MII_CTRL1000, ctrl1000); in xcvr_init_1g_rgmii()
1779 u16 ctrl1000; in mii_init_common() local
1799 ctrl1000 = 0; in mii_init_common()
[all …]