Home
last modified time | relevance | path

Searched refs:MII_CTRL1000 (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/drivers/net/
Dmii.c82 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/
Dphy.c150 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/
Dmii.h23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ macro
/linux-6.1.9/drivers/net/phy/
Dintel-xway.c292 reg = phy_read(phydev, MII_CTRL1000); in xway_gphy14_config_aneg()
294 err = phy_write(phydev, MII_CTRL1000, reg); in xway_gphy14_config_aneg()
Dbcm84881.c102 MDIO_AN_C22 + MII_CTRL1000, in bcm84881_config_aneg()
Drealtek.c334 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()
Ddp83869.c717 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()
Dat803x.c419 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()
Dbroadcom.c83 val = phy_read(phydev, MII_CTRL1000); in bcm54210e_config_init()
85 phy_write(phydev, MII_CTRL1000, val); in bcm54210e_config_init()
Dmicrel.c1096 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()
Dphy_device.c1961 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()
Dbcm-phy-lib.c655 phy_write(phydev, MII_CTRL1000, 0); in _bcm_phy_cable_test_start()
Dmicrochip_t1.c793 return phy_modify_changed(phydev, MII_CTRL1000, CTL1000_AS_MASTER, ctl); in lan87xx_config_aneg()
Dmxl-gpy.c376 ret = phy_modify_changed(phydev, MII_CTRL1000, in gpy_config_aneg()
Dphy.c372 case MII_CTRL1000: in phy_mii_ioctl()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c357 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/
Dphy.c591 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/
Dvia-velocity.c720 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/
Djme.c112 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/
Ddl2k.c547 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/
Dforcedeth.c1446 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/
Datl1c_hw.c486 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/
Dsis190.c976 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/
Dksz9477.c315 case MII_CTRL1000: in ksz9477_r_phy()
/linux-6.1.9/drivers/net/ethernet/atheros/alx/
Dhw.c752 alx_write_phy_reg(hw, MII_CTRL1000, giga) || in alx_setup_speed_duplex()

12