Lines Matching refs:master_slave_cfg
91 if (lsettings->master_slave_cfg != MASTER_SLAVE_CFG_UNSUPPORTED) in linkmodes_reply_size()
137 if (lsettings->master_slave_cfg != MASTER_SLAVE_CFG_UNSUPPORTED && in linkmodes_fill_reply()
139 lsettings->master_slave_cfg)) in linkmodes_fill_reply()
216 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_check_linkmodes() local
218 master_slave_cfg = tb[ETHTOOL_A_LINKMODES_MASTER_SLAVE_CFG]; in ethnl_check_linkmodes()
219 if (master_slave_cfg && in ethnl_check_linkmodes()
220 !ethnl_validate_master_slave_cfg(nla_get_u8(master_slave_cfg))) { in ethnl_check_linkmodes()
221 NL_SET_ERR_MSG_ATTR(info->extack, master_slave_cfg, in ethnl_check_linkmodes()
242 const struct nlattr *master_slave_cfg, *lanes_cfg; in ethnl_update_linkmodes() local
245 master_slave_cfg = tb[ETHTOOL_A_LINKMODES_MASTER_SLAVE_CFG]; in ethnl_update_linkmodes()
246 if (master_slave_cfg) { in ethnl_update_linkmodes()
247 if (lsettings->master_slave_cfg == MASTER_SLAVE_CFG_UNSUPPORTED) { in ethnl_update_linkmodes()
248 NL_SET_ERR_MSG_ATTR(info->extack, master_slave_cfg, in ethnl_update_linkmodes()
291 ethnl_update_u8(&lsettings->master_slave_cfg, master_slave_cfg, mod); in ethnl_update_linkmodes()