Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/
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-6.1.9/include/linux/
Dmii.h441 u32 ctrl1000) in mii_ctrl1000_mod_linkmode_adv_t() argument
444 ctrl1000 & ADVERTISE_1000HALF); in mii_ctrl1000_mod_linkmode_adv_t()
446 ctrl1000 & ADVERTISE_1000FULL); in mii_ctrl1000_mod_linkmode_adv_t()
/linux-6.1.9/drivers/net/ethernet/
Djme.c1741 u32 ctrl1000, phy_data; in jme_phy_calibration() local
1746 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration()
1747 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; in jme_phy_calibration()
1748 ctrl1000 |= PHY_GAD_TEST_MODE_1; in jme_phy_calibration()
1749 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration()
1764 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration()
1765 ctrl1000 &= ~PHY_GAD_TEST_MODE_MSK; in jme_phy_calibration()
1766 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
De1000.h184 u16 ctrl1000; /* 1000BASE-T control register */ member
Dnetdev.c5062 ret_val |= e1e_rphy(hw, MII_CTRL1000, &phy->ctrl1000); in e1000_phy_read_status()
5079 phy->ctrl1000 = ADVERTISE_1000FULL; in e1000_phy_read_status()
6148 data->val_out = adapter->phy_regs.ctrl1000; in e1000_mii_ioctl()
/linux-6.1.9/drivers/net/ethernet/sun/
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 …]