Home
last modified time | relevance | path

Searched refs:rfr_severity (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c106 static int mlx5_health_get_rfr(u8 rfr_severity) in mlx5_health_get_rfr() argument
108 return rfr_severity >> MLX5_RFR_BIT_OFFSET; in mlx5_health_get_rfr()
118 rfr = mlx5_health_get_rfr(ioread8(&h->rfr_severity)); in sensor_fw_synd_rfr()
404 static int mlx5_health_get_severity(u8 rfr_severity) in mlx5_health_get_severity() argument
406 return rfr_severity & MLX5_SEVERITY_VALID_MASK ? in mlx5_health_get_severity()
407 rfr_severity & MLX5_SEVERITY_MASK : LOGLEVEL_ERR; in mlx5_health_get_severity()
414 u8 rfr_severity; in print_health_info() local
427 rfr_severity = ioread8(&h->rfr_severity); in print_health_info()
428 severity = mlx5_health_get_severity(rfr_severity); in print_health_info()
442 mlx5_log(dev, severity, "rfr %d\n", mlx5_health_get_rfr(rfr_severity)); in print_health_info()
[all …]
/linux-6.1.9/include/linux/mlx5/
Ddevice.h541 u8 rfr_severity; member