Home
last modified time | relevance | path

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

12

/linux/drivers/net/
H A 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/drivers/net/ethernet/ibm/emac/
H A 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/include/uapi/linux/
H A Dmii.h23 #define MII_CTRL1000 0x09 /* 1000BASE-T control */ macro
/linux/drivers/net/ethernet/atheros/atl1e/
H A 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/drivers/net/phy/qcom/
H A Dat803x.c195 context->control1000 = phy_read(phydev, MII_CTRL1000); in at803x_context_save()
207 phy_write(phydev, MII_CTRL1000, context->control1000); in at803x_context_restore()
939 phy_write(phydev, MII_CTRL1000, 0); in at8031_cable_test_start()
H A Dqca83xx.c121 phy_set_bits(phydev, MII_CTRL1000, CTL1000_PREFER_MASTER); in qca83xx_config_init()
/linux/drivers/net/phy/
H A Dbcm84881.c114 MDIO_AN_C22 + MII_CTRL1000, in bcm84881_config_aneg()
H A Dintel-xway.c311 reg = phy_read(phydev, MII_CTRL1000); in xway_gphy14_config_aneg()
313 err = phy_write(phydev, MII_CTRL1000, reg); in xway_gphy14_config_aneg()
H A Ddp83869.c739 ret = phy_write(phydev, MII_CTRL1000, DP83869_CFG1_DEFAULT); in dp83869_configure_mode()
783 ret = phy_write(phydev, MII_CTRL1000, DP83869_CFG1_DEFAULT); in dp83869_configure_mode()
H A Drealtek.c370 return phy_set_bits(phydev, MII_CTRL1000, in rtl8211c_config_init()
1215 ret = phy_modify_changed(phydev, MII_CTRL1000, CTL1000_AS_MASTER, ctl); in rtl9000a_config_aneg()
1233 ret = phy_read(phydev, MII_CTRL1000); in rtl9000a_read_status()
H A Dphy_device.c2197 err = phy_modify_changed(phydev, MII_CTRL1000, in genphy_config_advert()
2291 return phy_modify_changed(phydev, MII_CTRL1000, in genphy_setup_master_slave()
2304 val = phy_read(phydev, MII_CTRL1000); in genphy_read_master_slave()
2576 int adv = phy_read(phydev, MII_CTRL1000); in genphy_read_lpa()
H A Dbroadcom.c121 val = phy_read(phydev, MII_CTRL1000); in bcm54210e_config_init()
123 phy_write(phydev, MII_CTRL1000, val); in bcm54210e_config_init()
H A Dmotorcomm.c1215 int adv = __phy_read(phydev, MII_CTRL1000); in ytphy_utp_read_lpa()
1959 return __phy_modify_changed(phydev, MII_CTRL1000, in ytphy_setup_master_slave()
2010 err = __phy_modify_changed(phydev, MII_CTRL1000, in ytphy_utp_config_advert()
H A Dmicrel.c1237 result = phy_read(phydev, MII_CTRL1000); in ksz9031_config_init()
1243 result = phy_write(phydev, MII_CTRL1000, result); in ksz9031_config_init()
1638 ret = phy_read(phydev, MII_CTRL1000); in ksz9x31_cable_test_start()
1647 return phy_write(phydev, MII_CTRL1000, ret); in ksz9x31_cable_test_start()
1800 rv = phy_modify(phydev, MII_CTRL1000, in ksz9x31_cable_test_get_status()
H A Dmxl-gpy.c455 ret = phy_modify_changed(phydev, MII_CTRL1000, in gpy_config_aneg()
H A Dphy.c395 case MII_CTRL1000: in phy_mii_ioctl()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dphy.c632 ret_val = e1e_rphy(hw, MII_CTRL1000, &phy_data); in e1000_set_master_slave_mode()
656 return e1e_wphy(hw, MII_CTRL1000, phy_data); in e1000_set_master_slave_mode()
933 ret_val = e1e_rphy(hw, MII_CTRL1000, &data); in e1000e_copper_link_setup_igp()
938 ret_val = e1e_wphy(hw, MII_CTRL1000, data); in e1000e_copper_link_setup_igp()
974 ret_val = e1e_rphy(hw, MII_CTRL1000, &mii_1000t_ctrl_reg); in e1000_phy_setup_autoneg()
1103 ret_val = e1e_wphy(hw, MII_CTRL1000, mii_1000t_ctrl_reg); in e1000_phy_setup_autoneg()
/linux/drivers/net/ethernet/
H A Djme.c112 MII_CTRL1000, in jme_reset_phy_processor()
1744 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration()
1747 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration()
1762 ctrl1000 = jme_mdio_read(jme->dev, jme->mii_if.phy_id, MII_CTRL1000); in jme_phy_calibration()
1764 jme_mdio_write(jme->dev, jme->mii_if.phy_id, MII_CTRL1000, ctrl1000); in jme_phy_calibration()
/linux/drivers/net/ethernet/dlink/
H A Ddl2k.c547 mii_write(dev, np->phy_addr, MII_CTRL1000, 0x0700); in rio_hw_init()
1507 mscr = mii_read (dev, phy_addr, MII_CTRL1000); in mii_get_media()
1651 mscr = mii_read (dev, phy_addr, MII_CTRL1000); in mii_set_media()
/linux/drivers/net/ethernet/nvidia/
H A 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/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c486 atl1c_write_phy_reg(hw, MII_CTRL1000, mii_giga_ctrl_data) != 0) in atl1c_phy_setup_adv()
/linux/drivers/net/ethernet/sis/
H A 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/drivers/net/ethernet/atheros/alx/
H A Dhw.c752 alx_write_phy_reg(hw, MII_CTRL1000, giga) || in alx_setup_speed_duplex()
/linux/drivers/net/dsa/microchip/
H A Dksz9477.c372 case MII_CTRL1000: in ksz9477_r_phy()
/linux/drivers/net/usb/
H A Dasix_devices.c1129 asix_mdio_write(dev->net, dev->mii.phy_id, MII_CTRL1000, in ax88178_reset()

12