Searched refs:eth_proto_new (Results 1 – 2 of 2) sorted by relevance
794 u32 eth_proto_new; in mlxsw_sx_port_set_settings() local802 eth_proto_new = cmd->autoneg == AUTONEG_ENABLE ? in mlxsw_sx_port_set_settings()814 eth_proto_new = eth_proto_new & eth_proto_cap; in mlxsw_sx_port_set_settings()815 if (!eth_proto_new) { in mlxsw_sx_port_set_settings()819 if (eth_proto_new == eth_proto_admin) in mlxsw_sx_port_set_settings()822 mlxsw_reg_ptys_pack(ptys_pl, mlxsw_sx_port->local_port, eth_proto_new); in mlxsw_sx_port_set_settings()
1146 u32 eth_proto_new; in mlxsw_sp_port_set_settings() local1154 eth_proto_new = cmd->autoneg == AUTONEG_ENABLE ? in mlxsw_sp_port_set_settings()1166 eth_proto_new = eth_proto_new & eth_proto_cap; in mlxsw_sp_port_set_settings()1167 if (!eth_proto_new) { in mlxsw_sp_port_set_settings()1171 if (eth_proto_new == eth_proto_admin) in mlxsw_sp_port_set_settings()1174 mlxsw_reg_ptys_pack(ptys_pl, mlxsw_sp_port->local_port, eth_proto_new); in mlxsw_sp_port_set_settings()