Searched refs:ctrl1000 (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ |
D | mii.c | 58 u16 bmcr, bmsr, ctrl1000 = 0, stat1000 = 0; in mii_ethtool_gset() local 84 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); in mii_ethtool_gset() 94 mii_ctrl1000_to_ethtool_adv_t(ctrl1000); in mii_ethtool_gset() 149 u16 bmcr, bmsr, ctrl1000 = 0, stat1000 = 0; in mii_ethtool_get_link_ksettings() local 171 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); in mii_ethtool_get_link_ksettings() 180 advertising |= mii_ctrl1000_to_ethtool_adv_t(ctrl1000); in mii_ethtool_get_link_ksettings()
|
/drivers/net/ethernet/ |
D | jme.c | 1747 u32 ctrl1000, phy_data; in jme_phy_calibration() local 1752 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration() 1753 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; in jme_phy_calibration() 1754 ctrl1000 |= PHY_GAD_TEST_MODE_1; in jme_phy_calibration() 1755 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration() 1770 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration() 1771 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; in jme_phy_calibration() 1772 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration()
|
/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 182 u16 ctrl1000; /* 1000BASE-T control register */ member
|
D | netdev.c | 5063 ret_val |= e1e_rphy(hw, MII_CTRL1000, &phy->ctrl1000); in e1000_phy_read_status() 5080 phy->ctrl1000 = ADVERTISE_1000FULL; in e1000_phy_read_status() 6124 data->val_out = adapter->phy_regs.ctrl1000; in e1000_mii_ioctl()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 1097 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; in link_status_mii() local 1129 ctrl1000 = err; in link_status_mii() 1136 estatus = ctrl1000 = stat1000 = 0; in link_status_mii() 1156 advertising |= mii_ctrl1000_to_ethtool_adv_t(ctrl1000); in link_status_mii() 1165 neg1000 = (ctrl1000 << 2) & stat1000; in link_status_mii() 1686 u16 ctrl1000 = 0; in xcvr_init_1g_rgmii() local 1689 ctrl1000 |= ADVERTISE_1000FULL; in xcvr_init_1g_rgmii() 1690 err = mii_write(np, np->phy_addr, MII_CTRL1000, ctrl1000); in xcvr_init_1g_rgmii() 1760 u16 ctrl1000; in mii_init_common() local 1780 ctrl1000 = 0; in mii_init_common() [all …]
|