Lines Matching refs:master_slave_cfg
90 if (lsettings->master_slave_cfg != MASTER_SLAVE_CFG_UNSUPPORTED) in linkmodes_reply_size()
136 if (lsettings->master_slave_cfg != MASTER_SLAVE_CFG_UNSUPPORTED && in linkmodes_fill_reply()
138 lsettings->master_slave_cfg)) in linkmodes_fill_reply()
223 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_check_linkmodes() local
225 master_slave_cfg = tb[ETHTOOL_A_LINKMODES_MASTER_SLAVE_CFG]; in ethnl_check_linkmodes()
226 if (master_slave_cfg && in ethnl_check_linkmodes()
227 !ethnl_validate_master_slave_cfg(nla_get_u8(master_slave_cfg))) { in ethnl_check_linkmodes()
228 NL_SET_ERR_MSG_ATTR(info->extack, master_slave_cfg, in ethnl_check_linkmodes()
249 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_update_linkmodes() local
252 master_slave_cfg = tb[ETHTOOL_A_LINKMODES_MASTER_SLAVE_CFG]; in ethnl_update_linkmodes()
253 if (master_slave_cfg) { in ethnl_update_linkmodes()
254 if (lsettings->master_slave_cfg == MASTER_SLAVE_CFG_UNSUPPORTED) { in ethnl_update_linkmodes()
255 NL_SET_ERR_MSG_ATTR(info->extack, master_slave_cfg, in ethnl_update_linkmodes()
298 ethnl_update_u8(&lsettings->master_slave_cfg, master_slave_cfg, mod); in ethnl_update_linkmodes()