Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c87 struct mlx5_core_health *health = &dev->priv.health; in sensor_pci_not_working() local
88 struct health_buffer __iomem *h = health->health; in sensor_pci_not_working()
101 struct mlx5_core_health *health = &dev->priv.health; in sensor_fw_synd_rfr() local
102 struct health_buffer __iomem *h = health->health; in sensor_fw_synd_rfr()
300 if (dev->priv.health.fatal_error != MLX5_SENSOR_PCI_COMM_ERR) in mlx5_handle_bad_state()
412 struct mlx5_core_health *health = &dev->priv.health; in print_health_info() local
413 struct health_buffer __iomem *h = health->health; in print_health_info()
457 struct mlx5_core_health *health = &dev->priv.health; in mlx5_fw_reporter_diagnose() local
458 struct health_buffer __iomem *h = health->health; in mlx5_fw_reporter_diagnose()
495 struct mlx5_core_health *health = &dev->priv.health; in mlx5_fw_reporter_heath_buffer_data_put() local
[all …]
Den_selftest.c42 struct mlx5_core_health *health = &priv->mdev->priv.health; in mlx5e_test_health_info() local
44 return health->fatal_error ? 1 : 0; in mlx5e_test_health_info()
DMakefile15 health.o mcg.o cq.o alloc.o port.o mr.o pd.o \
28 en_selftest.o en/port.o en/monitor_stats.o en/health.o \
/drivers/net/netdevsim/
Dhealth.c43 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_recover() local
46 if (health->fail_recover) { in nsim_dev_dummy_reporter_recover()
54 kfree(health->recovered_break_msg); in nsim_dev_dummy_reporter_recover()
55 health->recovered_break_msg = kstrdup(ctx->break_msg, in nsim_dev_dummy_reporter_recover()
57 if (!health->recovered_break_msg) in nsim_dev_dummy_reporter_recover()
158 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_dump() local
168 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_dump()
176 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); in nsim_dev_dummy_reporter_diagnose() local
179 if (health->recovered_break_msg) { in nsim_dev_dummy_reporter_diagnose()
182 health->recovered_break_msg); in nsim_dev_dummy_reporter_diagnose()
[all …]
DMakefile6 netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o
Dnetdevsim.h306 struct nsim_dev_health health; member
/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dreporter_vnic.c134 struct mlx5_core_health *health = &dev->priv.health; in mlx5_reporter_vnic_create() local
137 health->vnic_reporter = in mlx5_reporter_vnic_create()
141 if (IS_ERR(health->vnic_reporter)) in mlx5_reporter_vnic_create()
144 PTR_ERR(health->vnic_reporter)); in mlx5_reporter_vnic_create()
149 struct mlx5_core_health *health = &dev->priv.health; in mlx5_reporter_vnic_destroy() local
151 if (!IS_ERR_OR_NULL(health->vnic_reporter)) in mlx5_reporter_vnic_destroy()
152 devlink_health_reporter_destroy(health->vnic_reporter); in mlx5_reporter_vnic_destroy()
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()
/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.c108 int health; member
387 val->intval = info->health; in ucs1002_get_property()
452 if ((reg & F_ERR) && info->health != POWER_SUPPLY_HEALTH_GOOD) { in ucs1002_health_poll()
459 info->health = POWER_SUPPLY_HEALTH_OVERHEAT; in ucs1002_health_poll()
461 info->health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in ucs1002_health_poll()
463 info->health = POWER_SUPPLY_HEALTH_OVERCURRENT; in ucs1002_health_poll()
465 info->health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in ucs1002_health_poll()
467 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_health_poll()
645 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_probe()
Dbq24190_charger.c847 int health; in bq24190_charger_get_health() local
858 health = POWER_SUPPLY_HEALTH_COLD; in bq24190_charger_get_health()
863 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health()
866 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq24190_charger_get_health()
869 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq24190_charger_get_health()
880 health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in bq24190_charger_get_health()
883 health = POWER_SUPPLY_HEALTH_OVERHEAT; in bq24190_charger_get_health()
886 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq24190_charger_get_health()
889 health = -1; in bq24190_charger_get_health()
898 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()
Dbq2515x_charger.c696 int health = POWER_SUPPLY_HEALTH_GOOD; in bq2515x_charger_get_health() local
715 health = POWER_SUPPLY_HEALTH_HOT; in bq2515x_charger_get_health()
718 health = POWER_SUPPLY_HEALTH_WARM; in bq2515x_charger_get_health()
721 health = POWER_SUPPLY_HEALTH_COOL; in bq2515x_charger_get_health()
724 health = POWER_SUPPLY_HEALTH_COLD; in bq2515x_charger_get_health()
727 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq2515x_charger_get_health()
733 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in bq2515x_charger_get_health()
736 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE; in bq2515x_charger_get_health()
738 val->intval = health; in bq2515x_charger_get_health()
Daxp288_fuel_gauge.c329 int health = POWER_SUPPLY_HEALTH_UNKNOWN; in fuel_gauge_battery_health() local
332 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in fuel_gauge_battery_health()
334 health = POWER_SUPPLY_HEALTH_GOOD; in fuel_gauge_battery_health()
336 return health; in fuel_gauge_battery_health()
Dmax17042_battery.c174 static int max17042_get_battery_health(struct max17042_chip *chip, int *health) in max17042_get_battery_health() argument
198 *health = POWER_SUPPLY_HEALTH_DEAD; in max17042_get_battery_health()
203 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in max17042_get_battery_health()
212 *health = POWER_SUPPLY_HEALTH_COLD; in max17042_get_battery_health()
217 *health = POWER_SUPPLY_HEALTH_OVERHEAT; in max17042_get_battery_health()
221 *health = POWER_SUPPLY_HEALTH_GOOD; in max17042_get_battery_health()
Dsc27xx_fuel_gauge.c534 static int sc27xx_fgu_get_health(struct sc27xx_fgu_data *data, int *health) in sc27xx_fgu_get_health() argument
543 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in sc27xx_fgu_get_health()
545 *health = POWER_SUPPLY_HEALTH_GOOD; in sc27xx_fgu_get_health()
Dqcom_battmgr.c248 unsigned int health; member
506 val->intval = battmgr->status.health; in qcom_battmgr_bat_get_property()
1120 battmgr->status.health = le32_to_cpu(resp->intval.value); in qcom_battmgr_sm8350_callback()
/drivers/platform/x86/
Dmlx-platform.c782 .health = false,
791 .health = false,
800 .health = false,
809 .health = true,
821 .health = false,
830 .health = false,
839 .health = false,
848 .health = true,
870 .health = false,
879 .health = false,
[all …]
/drivers/soc/hisilicon/
DKconfig19 health status and port information of HCCS on Kunpeng SoC.
/drivers/iio/
DMakefile32 obj-y += health/
DKconfig96 source "drivers/iio/health/Kconfig"
/drivers/platform/mellanox/
Dnvsw-sn2201.c486 .health = false,
495 .health = false,
504 .health = false,
513 .health = false,
Dmlxreg-hotplug.c225 if (item->health) { in mlxreg_hotplug_attr_show()
560 if (item->health) in mlxreg_hotplug_work_handler()
/drivers/acpi/nfit/
Dintel.h20 u8 health; member
/drivers/vdpa/
DKconfig117 reads health values from the DPU.

12