Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c63 struct mlx5_core_health *health, *n; in health_care() local
73 list_for_each_entry_safe(health, n, &tlist, list) { in health_care()
74 priv = container_of(health, struct mlx5_priv, health); in health_care()
79 list_del_init(&health->list); in health_care()
120 struct mlx5_core_health *health = &dev->priv.health; in print_health_info() local
121 struct health_buffer __iomem *h = health->health; in print_health_info()
139 struct mlx5_core_health *health = &dev->priv.health; in poll_health() local
143 count = ioread32be(health->health_counter); in poll_health()
144 if (count == health->prev) in poll_health()
145 ++health->miss_counter; in poll_health()
[all …]
DMakefile4 health.o mcg.o cq.o srq.o alloc.o qp.o port.o mr.o pd.o \
/drivers/power/
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()
606 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN; in da9052_bat_probe()
Dbq24190_charger.c641 int health, ret; in bq24190_charger_get_health() local
664 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
671 health = POWER_SUPPLY_HEALTH_GOOD; in bq24190_charger_get_health()
681 health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in bq24190_charger_get_health()
684 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health()
687 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq24190_charger_get_health()
690 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq24190_charger_get_health()
694 val->intval = health; in bq24190_charger_get_health()
1006 int health, ret; in bq24190_battery_get_health() local
1023 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_battery_get_health()
[all …]
Dwm831x_power.c353 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) in wm831x_bat_check_health() argument
362 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health()
367 *health = POWER_SUPPLY_HEALTH_COLD; in wm831x_bat_check_health()
372 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in wm831x_bat_check_health()
379 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in wm831x_bat_check_health()
382 *health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in wm831x_bat_check_health()
385 *health = POWER_SUPPLY_HEALTH_GOOD; in wm831x_bat_check_health()
Dbq27x00_battery.c102 int health; member
457 cache.health = -ENODATA; in bq27x00_update()
477 cache.health = bq27x00_battery_read_health(di); in bq27x00_update()
715 ret = bq27x00_simple_value(di->cache.health, val); in bq27x00_battery_get_property()
Dpower_supply_sysfs.c143 POWER_SUPPLY_ATTR(health),
/drivers/parisc/
DKconfig166 about the overall health state of the system.
/drivers/platform/x86/
Dsony-laptop.c2051 unsigned int health; in sony_nc_battery_care_health_show() local
2053 if (sony_call_snc_handle(bcare_ctl->handle, 0x0200, &health)) in sony_nc_battery_care_health_show()
2056 count = snprintf(buffer, PAGE_SIZE, "%d\n", health & 0xff); in sony_nc_battery_care_health_show()
/drivers/hwmon/
DKconfig10 Hardware monitoring devices let you monitor the hardware health