Lines Matching refs:phydev
62 struct phy_device *phydev; in plca_get_cfg_prepare_data() local
65 phydev = ethnl_req_get_phydev(req_base, tb, ETHTOOL_A_PLCA_HEADER, in plca_get_cfg_prepare_data()
68 if (IS_ERR_OR_NULL(phydev)) { in plca_get_cfg_prepare_data()
87 ret = ops->get_plca_cfg(phydev, &data->plca_cfg); in plca_get_cfg_prepare_data()
151 struct phy_device *phydev; in ethnl_set_plca() local
155 phydev = ethnl_req_get_phydev(req_info, tb, ETHTOOL_A_PLCA_HEADER, in ethnl_set_plca()
158 if (IS_ERR_OR_NULL(phydev)) in ethnl_set_plca()
177 ret = ops->set_plca_cfg(phydev, &plca_cfg, info->extack); in ethnl_set_plca()
211 struct phy_device *phydev; in plca_get_status_prepare_data() local
214 phydev = ethnl_req_get_phydev(req_base, tb, ETHTOOL_A_PLCA_HEADER, in plca_get_status_prepare_data()
217 if (IS_ERR_OR_NULL(phydev)) { in plca_get_status_prepare_data()
236 ret = ops->get_plca_status(phydev, &data->plca_st); in plca_get_status_prepare_data()