Lines Matching refs:phy_addr
102 int phy_addr = 0; in sgmii_configure_repeater() local
135 phy_addr = 4; in sgmii_configure_repeater()
139 phy_addr = 0; in sgmii_configure_repeater()
143 phy_addr = 0xc; in sgmii_configure_repeater()
147 phy_addr = 8; in sgmii_configure_repeater()
159 ret = miiphy_write(dev, phy_addr, 0x1f, 3); in sgmii_configure_repeater()
164 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
171 miiphy_write(dev, phy_addr, 0x1f, 0); in sgmii_configure_repeater()
205 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
210 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
228 miiphy_write(dev, phy_addr, 0x1f, 0); in sgmii_configure_repeater()
240 int phy_addr = 0; in qsgmii_configure_repeater() local
281 phy_addr = 8; in qsgmii_configure_repeater()
289 phy_addr = 0xc; in qsgmii_configure_repeater()
295 ret = miiphy_write(dev, phy_addr, 0x1f, 3); in qsgmii_configure_repeater()
297 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
299 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
302 miiphy_write(dev, phy_addr, 0x1f, 0); in qsgmii_configure_repeater()
336 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
340 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
345 miiphy_write(dev, phy_addr, 0x1f, 0); in qsgmii_configure_repeater()