Home
last modified time | relevance | path

Searched refs:health (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c95 struct mlx5_core_health *health = &dev->priv.health; in sensor_pci_not_working() local
96 struct health_buffer __iomem *h = health->health; in sensor_pci_not_working()
104 struct mlx5_core_health *health = &dev->priv.health; in sensor_fw_synd_rfr() local
105 struct health_buffer __iomem *h = health->health; in sensor_fw_synd_rfr()
290 if (dev->priv.health.fatal_error != MLX5_SENSOR_PCI_COMM_ERR) in mlx5_handle_bad_state()
362 struct mlx5_core_health *health = &dev->priv.health; in print_health_info() local
363 struct health_buffer __iomem *h = health->health; in print_health_info()
396 struct mlx5_core_health *health = &dev->priv.health; in mlx5_fw_reporter_diagnose() local
397 struct health_buffer __iomem *h = health->health; in mlx5_fw_reporter_diagnose()
434 struct mlx5_core_health *health = &dev->priv.health; in mlx5_fw_reporter_heath_buffer_data_put() local
[all …]
Den_selftest.c66 struct mlx5_core_health *health = &priv->mdev->priv.health; in mlx5e_test_health_info() local
68 return health->fatal_error ? 1 : 0; in mlx5e_test_health_info()
DMakefile15 health.o mcg.o cq.o alloc.o qp.o port.o mr.o pd.o \
26 en_selftest.o en/port.o en/monitor_stats.o en/health.o \
/Linux-v5.4/Documentation/networking/
Ddevlink-health.txt1 The health mechanism is targeted for Real Time Alerting, in order to know when
8 The main idea is to unify and centralize driver health reports in the
10 attributes of the health reporting and recovery procedures.
12 The devlink health reporter:
13 Device driver creates a "health reporter" per each error/health type.
16 For each registered health reporter a driver can issue error/health reports
17 asynchronously. All health reports handling is done by devlink.
18 Device driver can provide specific callbacks for each "health reporter", e.g.
22 Different parts of the driver can register different types of health reporters
25 Once an error is reported, devlink health will do the following actions:
[all …]
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c22 struct bnxt_fw_health *health = bp->fw_health; in bnxt_fw_reporter_diagnose() local
26 if (!health || test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) in bnxt_fw_reporter_diagnose()
108 struct bnxt_fw_health *health = bp->fw_health; in bnxt_dl_fw_reporters_create() local
110 if (!health) in bnxt_dl_fw_reporters_create()
113 health->fw_reporter = in bnxt_dl_fw_reporters_create()
116 if (IS_ERR(health->fw_reporter)) { in bnxt_dl_fw_reporters_create()
118 PTR_ERR(health->fw_reporter)); in bnxt_dl_fw_reporters_create()
119 health->fw_reporter = NULL; in bnxt_dl_fw_reporters_create()
122 health->fw_reset_reporter = in bnxt_dl_fw_reporters_create()
126 if (IS_ERR(health->fw_reset_reporter)) { in bnxt_dl_fw_reporters_create()
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dkirkwood-guruplug-server-plus.dts23 pmx_led_health_r: pmx-led-health-r {
27 pmx_led_health_g: pmx-led-health-g {
62 health-r {
63 label = "guruplug:red:health";
66 health-g {
67 label = "guruplug:green:health";
Dkirkwood-sheevaplug.dts31 health {
32 label = "sheevaplug:blue:health";
Dkirkwood-sheevaplug-esata.dts36 health {
37 label = "sheevaplug:blue:health";
Dkirkwood-mplcec4.dts23 pmx_led_health: pmx-led-health {
117 health {
118 label = "status:green:health";
Dkirkwood-linksys-viper.dts59 white-health {
60 label = "viper:white:health";
72 pmx_led_white_health: pmx-led-white-health {
Dkirkwood-dockstar.dts45 health {
46 label = "status:green:health";
Dkirkwood-pogo_e02.dts36 health {
37 label = "pogo_e02:green:health";
Dkirkwood-pogoplug-series-4.dts51 health {
52 label = "pogoplugv4:green:health";
Dkirkwood-goflexnet.dts88 health {
89 label = "status:green:health";
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dcrdump.c14 return !!dev->priv.health.crdump_size; in mlx5_crdump_enabled()
19 u32 crdump_size = dev->priv.health.crdump_size; in mlx5_crdump_fill()
108 priv->health.crdump_size = space_size; in mlx5_crdump_enable()
114 dev->priv.health.crdump_size = 0; in mlx5_crdump_disable()
/Linux-v5.4/drivers/power/supply/
Dda9052-battery.c172 int health; member
406 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) in da9052_bat_check_health() argument
417 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN; in da9052_bat_check_health()
421 if (bat->health != POWER_SUPPLY_HEALTH_OVERHEAT) { in da9052_bat_check_health()
426 bat->health = POWER_SUPPLY_HEALTH_DEAD; in da9052_bat_check_health()
428 bat->health = POWER_SUPPLY_HEALTH_GOOD; in da9052_bat_check_health()
431 *health = bat->health; in da9052_bat_check_health()
603 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN; in da9052_bat_probe()
Ducs1002_power.c350 int ret, health; in ucs1002_get_health() local
357 health = POWER_SUPPLY_HEALTH_OVERHEAT; in ucs1002_get_health()
359 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in ucs1002_get_health()
361 health = POWER_SUPPLY_HEALTH_OVERCURRENT; in ucs1002_get_health()
363 health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in ucs1002_get_health()
365 health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_get_health()
367 val->intval = health; in ucs1002_get_health()
Dbq24190_charger.c801 int health; in bq24190_charger_get_health() local
812 health = POWER_SUPPLY_HEALTH_COLD; in bq24190_charger_get_health()
817 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health()
820 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq24190_charger_get_health()
823 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
834 health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in bq24190_charger_get_health()
837 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health()
840 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq24190_charger_get_health()
843 health = -1; in bq24190_charger_get_health()
852 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
[all …]
Dwm831x_power.c393 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) in wm831x_bat_check_health() argument
402 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health()
407 *health = POWER_SUPPLY_HEALTH_COLD; in wm831x_bat_check_health()
412 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in wm831x_bat_check_health()
419 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health()
422 *health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in wm831x_bat_check_health()
425 *health = POWER_SUPPLY_HEALTH_GOOD; in wm831x_bat_check_health()
Daxp288_charger.c328 int health = POWER_SUPPLY_HEALTH_UNKNOWN; in axp288_get_charger_health() local
344 health = POWER_SUPPLY_HEALTH_DEAD; in axp288_get_charger_health()
346 health = POWER_SUPPLY_HEALTH_OVERHEAT; in axp288_get_charger_health()
348 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in axp288_get_charger_health()
350 health = POWER_SUPPLY_HEALTH_GOOD; in axp288_get_charger_health()
353 return health; in axp288_get_charger_health()
/Linux-v5.4/Documentation/hwmon/
Duserspace-tools.rst7 Most mainboards have sensor chips to monitor system health (like temperatures,
18 Core set of utilities that will allow you to obtain health information,
39 If you want some graphical indicators of system health look for applications
/Linux-v5.4/Documentation/networking/device_drivers/mellanox/
Dmlx5.rst15 - `Devlink health reporters`_
158 Devlink health reporters
179 $ devlink health diagnose pci/0000:82:00.0 reporter tx
186 $ devlink health show pci/0000:82:00.0 reporter tx
206 $ devlink health diagnose pci/0000:82:00.0 reporter rx
213 $ devlink health show pci/0000:82:00.0 reporter rx
227 $ devlink health diagnose pci/0000:82:00.0 reporter fw
231 $ devlink health dump show pci/0000:82:00.0 reporter fw
249 $ devlink health recover pci/0000:82:00.0 reporter fw_fatal
253 $ devlink health dump show pci/0000:82:00.1 reporter fw_fatal
/Linux-v5.4/drivers/platform/x86/
Dmlx-platform.c362 .health = false,
371 .health = false,
380 .health = false,
389 .health = true,
427 .health = false,
436 .health = true,
520 .health = false,
529 .health = false,
538 .health = false,
547 .health = true,
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/hwmon/
Dmax31785.txt11 dual tachometer measurements, and fan health monitoring.
/Linux-v5.4/include/linux/platform_data/
Dmlxreg.h119 u8 health; member

123