Lines Matching refs:phy_id
259 fec_mdio_write(eth, fec->phy_id, MII_DCOUNTER, 0x00FF); in miiphy_restart_aneg()
261 fec_mdio_write(eth, fec->phy_id, MII_BMCR, BMCR_RESET); in miiphy_restart_aneg()
265 fec_mdio_write(eth, fec->phy_id, MII_ADVERTISE, in miiphy_restart_aneg()
268 fec_mdio_write(eth, fec->phy_id, MII_BMCR, in miiphy_restart_aneg()
272 ret = fec->mii_postcall(fec->phy_id); in miiphy_restart_aneg()
294 status = fec_mdio_read(eth, fec->phy_id, MII_BMSR); in miiphy_wait_aneg()
564 speed = miiphy_speed(edev->name, fec->phy_id); in fec_open()
565 miiphy_duplex(edev->name, fec->phy_id); in fec_open()
1110 struct mii_dev *bus, int phy_id) in fec_probe()
1176 fec->phy_id = phy_id; in fec_probe()
1203 int fecmxc_initialize_multi(struct bd_info *bd, int dev_id, int phy_id, in fecmxc_initialize_multi() argument
1229 debug("eth_init: fec_probe(bd, %i, %i) @ %08x\n", dev_id, phy_id, addr); in fecmxc_initialize_multi()
1234 phydev = phy_find_by_mask(bus, 1 << phy_id, PHY_INTERFACE_MODE_RGMII); in fecmxc_initialize_multi()
1242 ret = fec_probe(bd, dev_id, addr, bus, phy_id); in fecmxc_initialize_multi()