Lines Matching refs:mdio_addr
337 unsigned int mdio_addr;
887 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x16, 0x0001);
888 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x00, 0x9140);
889 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x16, 0x0000);
892 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x1b, 0x9084);
893 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x09, 0x0e00);
894 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x00, 0x8140);
895 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x04, 0x0d01);
896 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x00, 0x9140);
929 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x18, 0x7007);
930 reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x18);
931 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x18, reg & ~0x0080);
934 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x1c, 0x7c00);
935 reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x1c);
938 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x1c, 0x8000 | 0x7c00 |
942 reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x00);
943 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x00, reg | 0x00800);
946 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x1c, 0x7c00);
947 reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x1c);
950 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x1c, 0x8000 | 0x7c00 |
954 reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x00);
955 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x00, reg & ~0x00800);
958 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x1c, 0x7c00);
959 reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x1c);
962 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x1c, 0x8000 | 0x7c00 |
966 reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x00);
967 xgbe_phy_mii_write(pdata, phy_data->mdio_addr, 0x00, reg & ~0x00800);
991 phy_reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x02);
998 phy_reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x03);
1030 ret = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_BMCR);
1034 ret = xgbe_phy_mii_write(pdata, pdata->mdio_addr, MII_BMCR,
1038 ctl = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_BMCR);
1046 ret = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_BMCR);
1050 ret = xgbe_phy_mii_write(pdata, pdata->mdio_addr, MII_BMCR,
1092 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr,
1096 phy_data->mdio_addr, phy_data->phydev_mode, ret);
2702 reg = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_BMSR);
2733 lpagb = xgbe_phy_mii_read(pdata, pdata->mdio_addr,
2738 adv = xgbe_phy_mii_read(pdata, pdata->mdio_addr,
2760 lpa = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_ANLPAR);
2767 adv = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_ANAR);
2802 int bmcr = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_BMCR);
2868 ret = xgbe_phy_mii_read(pdata, pdata->mdio_addr, MII_BMSR);
3495 phy_data->mdio_addr = XP_GET_BITS(pdata->pp0, XP_PROP_0, MDIO_ADDR);
3497 pdata->mdio_addr = phy_data->mdio_addr;
3502 DBGPR("mdio addr=%u\n", phy_data->mdio_addr);
3708 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr,
3712 phy_data->mdio_addr, phy_data->phydev_mode);
3733 pdata->mdio_addr, MII_OFFSET_ANY, MIIF_FORCEANEG);