Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c94 static int mlx5_health_get_rfr(u8 rfr_severity) in mlx5_health_get_rfr() argument
96 return rfr_severity >> MLX5_RFR_BIT_OFFSET; in mlx5_health_get_rfr()
106 rfr = mlx5_health_get_rfr(ioread8(&h->rfr_severity)); in sensor_fw_synd_rfr()
406 static int mlx5_health_get_severity(u8 rfr_severity) in mlx5_health_get_severity() argument
408 return rfr_severity & MLX5_SEVERITY_VALID_MASK ? in mlx5_health_get_severity()
409 rfr_severity & MLX5_SEVERITY_MASK : LOGLEVEL_ERR; in mlx5_health_get_severity()
416 u8 rfr_severity; in print_health_info() local
429 rfr_severity = ioread8(&h->rfr_severity); in print_health_info()
430 severity = mlx5_health_get_severity(rfr_severity); in print_health_info()
444 mlx5_log(dev, severity, "rfr %d\n", mlx5_health_get_rfr(rfr_severity)); in print_health_info()
[all …]
/linux-6.12.1/include/linux/mlx5/
Ddevice.h553 u8 rfr_severity; member