Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/
Dmii.c58 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()
/kernel/linux/linux-5.10/include/linux/
Dmii.h491 u32 ctrl1000) in mii_ctrl1000_mod_linkmode_adv_t() argument
494 ctrl1000 & ADVERTISE_1000HALF); in mii_ctrl1000_mod_linkmode_adv_t()
496 ctrl1000 & ADVERTISE_1000FULL); in mii_ctrl1000_mod_linkmode_adv_t()
/kernel/linux/linux-5.10/drivers/net/ethernet/
Djme.c1747 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
De1000.h182 u16 ctrl1000; /* 1000BASE-T control register */ member
Dnetdev.c5063 ret_val |= e1e_rphy(hw, MII_CTRL1000, &phy->ctrl1000); in e1000_phy_read_status()
5080 phy->ctrl1000 = ADVERTISE_1000FULL; in e1000_phy_read_status()
6149 data->val_out = adapter->phy_regs.ctrl1000; in e1000_mii_ioctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dniu.c1097 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 …]