Lines Matching defs:priv_size
1679 * @priv_size: if non-zero allocate this amount of bytes for private data
1696 * allocated. If priv_size is non-zero, the given amount of bytes are
1700 * with the same cookie but a different priv_size is an error.
1702 int phy_package_join(struct phy_device *phydev, int base_addr, size_t priv_size)
1718 if (priv_size) {
1719 shared->priv = kzalloc(priv_size, GFP_KERNEL);
1722 shared->priv_size = priv_size;
1730 if (priv_size && priv_size != shared->priv_size)
1751 * @priv_size: if non-zero allocate this amount of bytes for private data
1764 * with the same cookie but a different priv_size is an error. Or a parent
1768 int of_phy_package_join(struct phy_device *phydev, size_t priv_size)
1792 ret = phy_package_join(phydev, base_addr, priv_size);
1847 * @priv_size: if non-zero allocate this amount of bytes for private data
1854 int base_addr, size_t priv_size)
1864 ret = phy_package_join(phydev, base_addr, priv_size);
1881 * @priv_size: if non-zero allocate this amount of bytes for private data
1888 size_t priv_size)
1898 ret = of_phy_package_join(phydev, priv_size);