Searched refs:mon_cap (Results 1 – 1 of 1) sorted by relevance
247 static int mlx5_hwmon_is_module_mon_cap(struct mlx5_core_dev *mdev, bool *mon_cap) in mlx5_hwmon_is_module_mon_cap() argument262 *mon_cap = true; in mlx5_hwmon_is_module_mon_cap()297 bool mon_cap = false; in mlx5_hwmon_alloc() local310 err = mlx5_hwmon_is_module_mon_cap(mdev, &mon_cap); in mlx5_hwmon_alloc()314 hwmon->module_scount = mon_cap ? 1 : 0; in mlx5_hwmon_alloc()