Lines Matching refs:shared
386 struct phy_package_shared *shared[PHY_MAX_ADDR]; member
645 struct phy_package_shared *shared; member
1695 struct phy_package_shared *shared = phydev->shared; in phy_package_read() local
1697 if (!shared) in phy_package_read()
1700 return mdiobus_read(phydev->mdio.bus, shared->addr, regnum); in phy_package_read()
1705 struct phy_package_shared *shared = phydev->shared; in __phy_package_read() local
1707 if (!shared) in __phy_package_read()
1710 return __mdiobus_read(phydev->mdio.bus, shared->addr, regnum); in __phy_package_read()
1716 struct phy_package_shared *shared = phydev->shared; in phy_package_write() local
1718 if (!shared) in phy_package_write()
1721 return mdiobus_write(phydev->mdio.bus, shared->addr, regnum, val); in phy_package_write()
1727 struct phy_package_shared *shared = phydev->shared; in __phy_package_write() local
1729 if (!shared) in __phy_package_write()
1732 return __mdiobus_write(phydev->mdio.bus, shared->addr, regnum, val); in __phy_package_write()
1738 struct phy_package_shared *shared = phydev->shared; in __phy_package_set_once() local
1740 if (!shared) in __phy_package_set_once()
1743 return !test_and_set_bit(b, &shared->flags); in __phy_package_set_once()