Searched refs:health (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | health.c | 63 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 …]
|
D | Makefile | 4 health.o mcg.o cq.o srq.o alloc.o qp.o port.o mr.o pd.o \
|
/drivers/power/ |
D | da9052-battery.c | 176 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()
|
D | bq24190_charger.c | 641 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 …]
|
D | wm831x_power.c | 353 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()
|
D | bq27x00_battery.c | 102 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()
|
D | power_supply_sysfs.c | 143 POWER_SUPPLY_ATTR(health),
|
/drivers/parisc/ |
D | Kconfig | 166 about the overall health state of the system.
|
/drivers/platform/x86/ |
D | sony-laptop.c | 2051 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/ |
D | Kconfig | 10 Hardware monitoring devices let you monitor the hardware health
|