Lines Matching refs:phy_addr
259 static int __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) in __b44_readphy() argument
266 (phy_addr << MDIO_DATA_PMD_SHIFT) | in __b44_readphy()
275 static int __b44_writephy(struct b44 *bp, int phy_addr, int reg, u32 val) in __b44_writephy() argument
280 (phy_addr << MDIO_DATA_PMD_SHIFT) | in __b44_writephy()
292 return __b44_readphy(bp, bp->phy_addr, reg, val); in b44_readphy()
300 return __b44_writephy(bp, bp->phy_addr, reg, val); in b44_writephy()
1868 cmd->base.phy_address = bp->phy_addr; in b44_get_link_ksettings()
2171 bp->phy_addr = sdev->bus->sprom.et1phyaddr; in b44_get_invariants()
2174 bp->phy_addr = sdev->bus->sprom.et0phyaddr; in b44_get_invariants()
2179 bp->phy_addr &= 0x1F; in b44_get_invariants()
2274 mii_bus->phy_mask = ~(1 << bp->phy_addr); in b44_register_phy_one()
2285 if (!mdiobus_is_registered_device(bp->mii_bus, bp->phy_addr) && in b44_register_phy_one()
2290 bp->phy_addr); in b44_register_phy_one()
2292 bp->phy_addr = 0; in b44_register_phy_one()
2294 bp->phy_addr); in b44_register_phy_one()
2297 bp->phy_addr); in b44_register_phy_one()
2304 bp->phy_addr); in b44_register_phy_one()
2317 bp->phy_addr = phydev->mdio.addr; in b44_register_phy_one()
2403 if (bp->phy_addr == B44_PHY_ADDR_NO_PHY) { in b44_init_one()
2412 bp->mii_if.phy_id = bp->phy_addr; in b44_init_one()