/linux-6.1.9/drivers/net/ |
D | mii.c | 82 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); in mii_ethtool_gset() 168 ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); in mii_ethtool_get_link_ksettings() 275 advert2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); in mii_ethtool_sset() 288 mii->mdio_write(dev, mii->phy_id, MII_CTRL1000, tmp2); in mii_ethtool_sset() 372 MII_CTRL1000); in mii_ethtool_set_link_ksettings() 385 mii->mdio_write(dev, mii->phy_id, MII_CTRL1000, tmp2); in mii_ethtool_set_link_ksettings()
|
/linux-6.1.9/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 150 adv = phy_read(phy, MII_CTRL1000); in genmii_setup_aneg() 158 phy_write(phy, MII_CTRL1000, adv); in genmii_setup_aneg() 230 int adv = phy_read(phy, MII_CTRL1000); in genmii_read_link()
|
/linux-6.1.9/include/uapi/linux/ |
D | mii.h | 23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ macro
|
/linux-6.1.9/drivers/net/phy/ |
D | intel-xway.c | 292 reg = phy_read(phydev, MII_CTRL1000); in xway_gphy14_config_aneg() 294 err = phy_write(phydev, MII_CTRL1000, reg); in xway_gphy14_config_aneg()
|
D | bcm84881.c | 102 MDIO_AN_C22 + MII_CTRL1000, in bcm84881_config_aneg()
|
D | realtek.c | 334 return phy_set_bits(phydev, MII_CTRL1000, in rtl8211c_config_init() 764 ret = phy_modify_changed(phydev, MII_CTRL1000, CTL1000_AS_MASTER, ctl); in rtl9000a_config_aneg() 782 ret = phy_read(phydev, MII_CTRL1000); in rtl9000a_read_status()
|
D | dp83869.c | 717 ret = phy_write(phydev, MII_CTRL1000, DP83869_CFG1_DEFAULT); in dp83869_configure_mode() 761 ret = phy_write(phydev, MII_CTRL1000, DP83869_CFG1_DEFAULT); in dp83869_configure_mode()
|
D | at803x.c | 419 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save() 431 phy_write(phydev, MII_CTRL1000, context->control1000); in at803x_context_restore() 1609 phy_write(phydev, MII_CTRL1000, 0); in at803x_cable_test_start() 1650 phy_set_bits(phydev, MII_CTRL1000, CTL1000_PREFER_MASTER); in qca83xx_config_init()
|
D | broadcom.c | 83 val = phy_read(phydev, MII_CTRL1000); in bcm54210e_config_init() 85 phy_write(phydev, MII_CTRL1000, val); in bcm54210e_config_init()
|
D | micrel.c | 1096 result = phy_read(phydev, MII_CTRL1000); in ksz9031_config_init() 1102 result = phy_write(phydev, MII_CTRL1000, result); in ksz9031_config_init() 1399 ret = phy_read(phydev, MII_CTRL1000); in ksz9x31_cable_test_start() 1408 return phy_write(phydev, MII_CTRL1000, ret); in ksz9x31_cable_test_start() 1561 rv = phy_modify(phydev, MII_CTRL1000, in ksz9x31_cable_test_get_status()
|
D | phy_device.c | 1961 err = phy_modify_changed(phydev, MII_CTRL1000, in genphy_config_advert() 2078 return phy_modify_changed(phydev, MII_CTRL1000, in genphy_setup_master_slave() 2091 val = phy_read(phydev, MII_CTRL1000); in genphy_read_master_slave() 2342 int adv = phy_read(phydev, MII_CTRL1000); in genphy_read_lpa()
|
D | bcm-phy-lib.c | 655 phy_write(phydev, MII_CTRL1000, 0); in _bcm_phy_cable_test_start()
|
D | microchip_t1.c | 793 return phy_modify_changed(phydev, MII_CTRL1000, CTL1000_AS_MASTER, ctl); in lan87xx_config_aneg()
|
D | mxl-gpy.c | 376 ret = phy_modify_changed(phydev, MII_CTRL1000, in gpy_config_aneg()
|
D | phy.c | 372 case MII_CTRL1000: in phy_mii_ioctl()
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 357 ret_val = atl1e_write_phy_reg(hw, MII_CTRL1000, in atl1e_phy_setup_autoneg_adv() 627 err = atl1e_write_phy_reg(hw, MII_CTRL1000, in atl1e_restart_autoneg()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 591 ret_val = e1e_rphy(hw, MII_CTRL1000, &phy_data); in e1000_set_master_slave_mode() 615 return e1e_wphy(hw, MII_CTRL1000, phy_data); in e1000_set_master_slave_mode() 892 ret_val = e1e_rphy(hw, MII_CTRL1000, &data); in e1000e_copper_link_setup_igp() 897 ret_val = e1e_wphy(hw, MII_CTRL1000, data); in e1000e_copper_link_setup_igp() 933 ret_val = e1e_rphy(hw, MII_CTRL1000, &mii_1000t_ctrl_reg); in e1000_phy_setup_autoneg() 1054 ret_val = e1e_wphy(hw, MII_CTRL1000, mii_1000t_ctrl_reg); in e1000_phy_setup_autoneg()
|
/linux-6.1.9/drivers/net/ethernet/via/ |
D | via-velocity.c | 720 if (MII_REG_BITS_IS_ON(ADVERTISE_1000FULL, MII_CTRL1000, regs)) in mii_check_media_mode() 722 else if (MII_REG_BITS_IS_ON(ADVERTISE_1000HALF, MII_CTRL1000, regs)) in mii_check_media_mode() 740 if (MII_REG_BITS_IS_ON(ADVERTISE_1000HALF | ADVERTISE_1000FULL, MII_CTRL1000, regs)) in mii_check_media_mode() 862 if (MII_REG_BITS_IS_ON(ADVERTISE_1000HALF | ADVERTISE_1000FULL, MII_CTRL1000, regs)) in check_connection_type() 900 MII_REG_BITS_ON(ADVERTISE_1000FULL | ADVERTISE_1000HALF, MII_CTRL1000, vptr->mac_regs); in velocity_set_media_mode() 943 velocity_mii_read(vptr->mac_regs, MII_CTRL1000, &CTRL1000); in velocity_set_media_mode() 949 velocity_mii_write(vptr->mac_regs, MII_CTRL1000, CTRL1000); in velocity_set_media_mode() 3073 MII_REG_BITS_OFF(ADVERTISE_1000FULL | ADVERTISE_1000HALF, MII_CTRL1000, vptr->mac_regs); in velocity_set_wol()
|
/linux-6.1.9/drivers/net/ethernet/ |
D | jme.c | 112 MII_CTRL1000, in jme_reset_phy_processor() 1746 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); 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() 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/dlink/ |
D | dl2k.c | 547 mii_write(dev, np->phy_addr, MII_CTRL1000, 0x0700); in rio_hw_init() 1510 mscr = mii_read (dev, phy_addr, MII_CTRL1000); in mii_get_media() 1654 mscr = mii_read (dev, phy_addr, MII_CTRL1000); in mii_set_media()
|
/linux-6.1.9/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 1446 MII_CTRL1000, MII_READ); in phy_init() 1453 if (mii_rw(dev, np->phyaddr, MII_CTRL1000, mii_control_1000)) { in phy_init() 3452 control_1000 = mii_rw(dev, np->phyaddr, MII_CTRL1000, MII_READ); in nv_update_linkspeed() 4388 adv = mii_rw(dev, np->phyaddr, MII_CTRL1000, MII_READ); in nv_get_link_ksettings() 4500 adv = mii_rw(dev, np->phyaddr, MII_CTRL1000, MII_READ); in nv_set_link_ksettings() 4504 mii_rw(dev, np->phyaddr, MII_CTRL1000, adv); in nv_set_link_ksettings() 4550 adv = mii_rw(dev, np->phyaddr, MII_CTRL1000, MII_READ); in nv_set_link_ksettings() 4552 mii_rw(dev, np->phyaddr, MII_CTRL1000, adv); in nv_set_link_ksettings()
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 486 atl1c_write_phy_reg(hw, MII_CTRL1000, mii_giga_ctrl_data) != 0) in atl1c_phy_setup_adv()
|
/linux-6.1.9/drivers/net/ethernet/sis/ |
D | sis190.c | 976 gigadv = mdio_read(ioaddr, phy_id, MII_CTRL1000); in sis190_phy_task() 1742 mdio_write(ioaddr, phy_id, MII_CTRL1000, ADVERTISE_1000FULL); in sis190_set_speed_auto()
|
/linux-6.1.9/drivers/net/dsa/microchip/ |
D | ksz9477.c | 315 case MII_CTRL1000: in ksz9477_r_phy()
|
/linux-6.1.9/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 752 alx_write_phy_reg(hw, MII_CTRL1000, giga) || in alx_setup_speed_duplex()
|