Searched refs:ctrl1000 (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/
H A Dmii.c58 u16 bmcr, bmsr, ctrl1000 = 0, stat1000 = 0; mii_ethtool_gset() local
84 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); mii_ethtool_gset()
94 mii_ctrl1000_to_ethtool_adv_t(ctrl1000); mii_ethtool_gset()
/linux-4.4.14/drivers/net/ethernet/
H A Djme.c1777 u32 ctrl1000, phy_data; jme_phy_calibration() local
1782 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); jme_phy_calibration()
1783 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; jme_phy_calibration()
1784 ctrl1000 |= PHY_GAD_TEST_MODE_1; jme_phy_calibration()
1785 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); jme_phy_calibration()
1800 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); jme_phy_calibration()
1801 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; jme_phy_calibration()
1802 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); jme_phy_calibration()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A De1000.h203 u16 ctrl1000; /* 1000BASE-T control register */ member in struct:e1000_phy_regs
H A Dnetdev.c4966 ret_val |= e1e_rphy(hw, MII_CTRL1000, &phy->ctrl1000); e1000_phy_read_status()
4983 phy->ctrl1000 = ADVERTISE_1000FULL; e1000_phy_read_status()
6037 data->val_out = adapter->phy_regs.ctrl1000; e1000_mii_ioctl()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dniu.c1096 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; link_status_mii() local
1128 ctrl1000 = err; link_status_mii()
1135 estatus = ctrl1000 = stat1000 = 0; link_status_mii()
1155 advertising |= mii_ctrl1000_to_ethtool_adv_t(ctrl1000); link_status_mii()
1164 neg1000 = (ctrl1000 << 2) & stat1000; link_status_mii()
1703 u16 ctrl1000 = 0; xcvr_init_1g_rgmii() local
1706 ctrl1000 |= ADVERTISE_1000FULL; xcvr_init_1g_rgmii()
1707 err = mii_write(np, np->phy_addr, MII_CTRL1000, ctrl1000); xcvr_init_1g_rgmii()
1777 u16 ctrl1000; mii_init_common() local
1797 ctrl1000 = 0; mii_init_common()
1800 ctrl1000 |= ADVERTISE_1000HALF; mii_init_common()
1803 ctrl1000 |= ADVERTISE_1000FULL; mii_init_common()
1805 MII_CTRL1000, ctrl1000); mii_init_common()

Completed in 306 milliseconds