Lines Matching refs:phy_addr
92 int phy_addr = 0; in sgmii_configure_repeater() local
105 phy_addr = 4; in sgmii_configure_repeater()
109 phy_addr = 0; in sgmii_configure_repeater()
113 phy_addr = 0xc; in sgmii_configure_repeater()
117 phy_addr = 8; in sgmii_configure_repeater()
129 ret = miiphy_write(dev, phy_addr, 0x1f, 3); in sgmii_configure_repeater()
134 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
141 miiphy_write(dev, phy_addr, 0x1f, 0); in sgmii_configure_repeater()
172 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
177 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
195 miiphy_write(dev, phy_addr, 0x1f, 0); in sgmii_configure_repeater()
207 int phy_addr = 0; in qsgmii_configure_repeater() local
228 phy_addr = 8; in qsgmii_configure_repeater()
236 phy_addr = 0xc; in qsgmii_configure_repeater()
242 ret = miiphy_write(dev, phy_addr, 0x1f, 3); in qsgmii_configure_repeater()
244 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
246 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
249 miiphy_write(dev, phy_addr, 0x1f, 0); in qsgmii_configure_repeater()
276 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
280 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
285 miiphy_write(dev, phy_addr, 0x1f, 0); in qsgmii_configure_repeater()