Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c103 struct mlx5_core_health *health = &dev->priv.health; in in_fatal() local
104 struct health_buffer __iomem *h = health->health; in in_fatal()
160 struct mlx5_core_health *health; in health_recover() local
167 health = container_of(dwork, struct mlx5_core_health, recover_work); in health_recover()
168 priv = container_of(health, struct mlx5_priv, health); in health_recover()
186 struct mlx5_core_health *health; in health_care() local
191 health = container_of(work, struct mlx5_core_health, work); in health_care()
192 priv = container_of(health, struct mlx5_priv, health); in health_care()
197 spin_lock_irqsave(&health->wq_lock, flags); in health_care()
198 if (!test_bit(MLX5_DROP_NEW_RECOVERY_WORK, &health->flags)) in health_care()
[all …]
Den_selftest.c65 struct mlx5_core_health *health = &priv->mdev->priv.health; in mlx5e_test_health_info() local
67 return health->sick ? 1 : 0; in mlx5e_test_health_info()
/Linux-v4.19/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-dockstar.dts45 health {
46 label = "status:green:health";
Dkirkwood-linksys-viper.dts59 white-health {
60 label = "viper:white:health";
119 pmx_led_white_health: pmx-led-white-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";
Dkirkwood-iomega_ix2_200.dts87 pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 {
91 pmx_led_health_brt_ctrl_2: pmx-led-health-brt-ctrl-2 {
/Linux-v4.19/drivers/power/supply/
Dda9052-battery.c176 int health; member
410 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) in da9052_bat_check_health() argument
421 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN; in da9052_bat_check_health()
425 if (bat->health != POWER_SUPPLY_HEALTH_OVERHEAT) { in da9052_bat_check_health()
430 bat->health = POWER_SUPPLY_HEALTH_DEAD; in da9052_bat_check_health()
432 bat->health = POWER_SUPPLY_HEALTH_GOOD; in da9052_bat_check_health()
435 *health = bat->health; in da9052_bat_check_health()
607 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN; in da9052_bat_probe()
Dbq24190_charger.c818 int health; in bq24190_charger_get_health() local
829 health = POWER_SUPPLY_HEALTH_COLD; in bq24190_charger_get_health()
834 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health()
837 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq24190_charger_get_health()
840 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
851 health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in bq24190_charger_get_health()
854 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health()
857 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq24190_charger_get_health()
860 health = -1; in bq24190_charger_get_health()
869 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
[all …]
Dwm831x_power.c396 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) in wm831x_bat_check_health() argument
405 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health()
410 *health = POWER_SUPPLY_HEALTH_COLD; in wm831x_bat_check_health()
415 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in wm831x_bat_check_health()
422 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health()
425 *health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in wm831x_bat_check_health()
428 *health = POWER_SUPPLY_HEALTH_GOOD; in wm831x_bat_check_health()
Daxp288_charger.c335 int health = POWER_SUPPLY_HEALTH_UNKNOWN; in axp288_get_charger_health() local
351 health = POWER_SUPPLY_HEALTH_DEAD; in axp288_get_charger_health()
353 health = POWER_SUPPLY_HEALTH_OVERHEAT; in axp288_get_charger_health()
355 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in axp288_get_charger_health()
357 health = POWER_SUPPLY_HEALTH_GOOD; in axp288_get_charger_health()
360 return health; in axp288_get_charger_health()
Dmax17042_battery.c186 static int max17042_get_battery_health(struct max17042_chip *chip, int *health) in max17042_get_battery_health() argument
210 *health = POWER_SUPPLY_HEALTH_DEAD; in max17042_get_battery_health()
215 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in max17042_get_battery_health()
224 *health = POWER_SUPPLY_HEALTH_COLD; in max17042_get_battery_health()
229 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in max17042_get_battery_health()
233 *health = POWER_SUPPLY_HEALTH_GOOD; in max17042_get_battery_health()
Daxp288_fuel_gauge.c438 int ret, vocv, health = POWER_SUPPLY_HEALTH_UNKNOWN; in fuel_gauge_battery_health() local
445 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in fuel_gauge_battery_health()
447 health = POWER_SUPPLY_HEALTH_GOOD; in fuel_gauge_battery_health()
450 return health; in fuel_gauge_battery_health()
/Linux-v4.19/drivers/platform/x86/
Dmlx-platform.c340 .health = false,
349 .health = false,
358 .health = false,
367 .health = true,
405 .health = false,
414 .health = true,
498 .health = false,
507 .health = false,
516 .health = false,
525 .health = true,
[all …]
/Linux-v4.19/Documentation/hwmon/
Duserspace-tools4 Most mainboards have sensor chips to monitor system health (like temperatures,
15 Core set of utilities that will allow you to obtain health information,
36 If you want some graphical indicators of system health look for applications
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-driver-mlxreg-io7 Description: This file shows ASIC health status. The possible values are:
8 0 - health failed, 2 - health OK, 3 - ASIC in booting state.
/Linux-v4.19/include/linux/platform_data/
Dmlxreg.h104 u8 health; member
/Linux-v4.19/Documentation/devicetree/bindings/hwmon/
Dmax31785.txt11 dual tachometer measurements, and fan health monitoring.
/Linux-v4.19/drivers/iio/
DMakefile28 obj-y += health/
/Linux-v4.19/include/linux/power/
Dbq27xxx_battery.h53 int health; member

123