Searched refs:lanes_cfg (Results 1 – 1 of 1) sorted by relevance
216 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_check_linkmodes() local226 lanes_cfg = tb[ETHTOOL_A_LINKMODES_LANES]; in ethnl_check_linkmodes()227 if (lanes_cfg && !is_power_of_2(nla_get_u32(lanes_cfg))) { in ethnl_check_linkmodes()228 NL_SET_ERR_MSG_ATTR(info->extack, lanes_cfg, in ethnl_check_linkmodes()242 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_update_linkmodes() local262 lanes_cfg = tb[ETHTOOL_A_LINKMODES_LANES]; in ethnl_update_linkmodes()263 if (lanes_cfg) { in ethnl_update_linkmodes()269 NL_SET_ERR_MSG_ATTR(info->extack, lanes_cfg, in ethnl_update_linkmodes()289 ethnl_update_u32(&ksettings->lanes, lanes_cfg, mod); in ethnl_update_linkmodes()