Lines Matching defs:enable
361 int mlxsw_sp_port_vp_mode_set(struct mlxsw_sp_port *mlxsw_sp_port, bool enable)
366 mlxsw_reg_svpe_pack(svpe_pl, mlxsw_sp_port->local_port, enable);
998 static int mlxsw_sp_feature_hw_tc(struct net_device *dev, bool enable)
1002 if (!enable) {
1017 static int mlxsw_sp_feature_loopback(struct net_device *dev, bool enable)
1026 mlxsw_reg_pplr_pack(pplr_pl, mlxsw_sp_port->local_port, enable);
1036 typedef int (*mlxsw_sp_feature_handler)(struct net_device *dev, bool enable);
1044 bool enable = !!(wanted_features & feature);
1050 err = feature_handler(dev, enable);
1053 enable ? "Enable" : "Disable", &feature, err);
1057 if (enable)
1364 bool enable)
1369 mlxsw_reg_qtctm_pack(qtctm_pl, mlxsw_sp_port->local_port, enable);
1489 dev_err(mlxsw_sp->bus_info->dev, "Port %d: Failed to enable speeds\n",
3704 bool enable)
3712 spms_state = enable ? MLXSW_REG_SPMS_STATE_FORWARDING :