Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dhealth.c100 struct mlx5_core_health *health = &dev->priv.health; in sensor_pci_not_working() local
101 struct health_buffer __iomem *h = health->health; in sensor_pci_not_working()
114 struct mlx5_core_health *health = &dev->priv.health; in sensor_fw_synd_rfr() local
115 struct health_buffer __iomem *h = health->health; in sensor_fw_synd_rfr()
414 struct health_buffer __iomem *h = health->health; in print_health_info()
454 struct health_buffer __iomem *h = health->health; in mlx5_fw_reporter_diagnose()
813 queue_work(health->wq, &health->report_work); in poll_health()
818 if (health->synd && health->synd != prev_synd) in poll_health()
819 queue_work(health->wq, &health->report_work); in poll_health()
833 health->health = &dev->iseg->health; in mlx5_start_health_poll()
[all …]
/linux/drivers/net/netdevsim/
A Dhealth.c46 if (health->fail_recover) { in nsim_dev_dummy_reporter_recover()
232 struct nsim_dev_health *health = &nsim_dev->health; in nsim_dev_health_init() local
235 health->empty_reporter = in nsim_dev_health_init()
238 0, health); in nsim_dev_health_init()
242 health->dummy_reporter = in nsim_dev_health_init()
245 0, health); in nsim_dev_health_init()
252 if (IS_ERR(health->ddir)) { in nsim_dev_health_init()
258 debugfs_create_file("break_health", 0200, health->ddir, health, in nsim_dev_health_init()
260 health->binary_len = 16; in nsim_dev_health_init()
262 &health->binary_len); in nsim_dev_health_init()
[all …]
/linux/Documentation/networking/devlink/
A Ddevlink-health.rst10 The ``devlink`` health mechanism is targeted for Real Time Alerting, in
21 The main idea is to unify and centralize driver health reports in the
23 attributes of the health reporting and recovery procedures.
25 The ``devlink`` health reporter:
26 Device driver creates a "health reporter" per each error/health type.
29 For each registered health reporter a driver can issue error/health reports
30 asynchronously. All health reports handling is done by ``devlink``.
59 via ``devlink``, e.g per error type (per health reporter):
66 .. list-table:: List of devlink health interfaces
84 - Retrieves the last stored dump. Devlink health
[all …]
A Dmlx4.rst48 The ``mlx4`` driver supports dumping the firmware PCI crspace and health
55 ``fw-health`` region will contain the device firmware's health buffer.
A Ddevlink-region.rst25 states, but see also Documentation/networking/devlink/devlink-health.rst
48 pci/0000:00:05.0/fw-health: size 64 snapshot [1 2] max 8
58 $ devlink region dump pci/0000:00:05.0/fw-health snapshot 1
65 $ devlink region read pci/0000:00:05.0/fw-health snapshot 1 address 0 length 16
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Ddevlink.sh386 devlink health recover $DL_HANDLE reporter empty
438 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health
450 devlink health dump clear $DL_HANDLE reporter dummy
453 devlink health recover $DL_HANDLE reporter dummy
463 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health
480 echo "Y"> $DEBUGFS_DIR/health/fail_recover
483 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health
488 devlink health recover $DL_HANDLE reporter dummy
491 echo "N"> $DEBUGFS_DIR/health/fail_recover
494 devlink health recover $DL_HANDLE reporter dummy
[all …]
/linux/arch/arm/boot/dts/
A 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";
A Dkirkwood-sheevaplug.dts31 health {
32 label = "sheevaplug:blue:health";
A Dkirkwood-sheevaplug-esata.dts36 health {
37 label = "sheevaplug:blue:health";
A Dkirkwood-mplcec4.dts23 pmx_led_health: pmx-led-health {
117 health {
118 label = "status:green:health";
A Dkirkwood-linksys-viper.dts59 white-health {
60 label = "viper:white:health";
72 pmx_led_white_health: pmx-led-white-health {
A Dkirkwood-dockstar.dts45 health {
46 label = "status:green:health";
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A 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/drivers/iio/health/
A D.built-in.a.cmd1health/built-in.a := echo >/dev/null; rm -f drivers/iio/health/built-in.a; /usr/bin/ccache /home/t…
/linux/drivers/power/supply/
A 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()
A Ducs1002_power.c108 int health; member
387 return val->intval = info->health; in ucs1002_get_property()
451 if ((reg & F_ERR) && info->health != POWER_SUPPLY_HEALTH_GOOD) { in ucs1002_health_poll()
458 info->health = POWER_SUPPLY_HEALTH_OVERHEAT; in ucs1002_health_poll()
460 info->health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in ucs1002_health_poll()
462 info->health = POWER_SUPPLY_HEALTH_OVERCURRENT; in ucs1002_health_poll()
464 info->health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE; in ucs1002_health_poll()
466 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_health_poll()
645 info->health = POWER_SUPPLY_HEALTH_GOOD; in ucs1002_probe()
A Dbq24190_charger.c803 int health; in bq24190_charger_get_health() local
814 health = POWER_SUPPLY_HEALTH_COLD; in bq24190_charger_get_health()
822 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq24190_charger_get_health()
845 health = -1; in bq24190_charger_get_health()
856 health = POWER_SUPPLY_HEALTH_GOOD; in bq24190_charger_get_health()
859 val->intval = health; in bq24190_charger_get_health()
1321 int health; in bq24190_battery_get_health() local
1335 health = POWER_SUPPLY_HEALTH_GOOD; in bq24190_battery_get_health()
1340 health = POWER_SUPPLY_HEALTH_COLD; in bq24190_battery_get_health()
1348 health = POWER_SUPPLY_HEALTH_UNKNOWN; in bq24190_battery_get_health()
[all …]
A 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()
A 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()
/linux/arch/powerpc/platforms/pseries/
A Dpapr_scm.c599 payload->health.extension_flags |= in papr_pdsm_fuel_gauge()
601 payload->health.dimm_fuel_gauge = statval; in papr_pdsm_fuel_gauge()
639 payload->health = (struct nd_papr_pdsm_health) { in papr_pdsm_health()
890 u64 health; in flags_show() local
898 health = READ_ONCE(p->health_bitmap); in flags_show()
901 if (health & PAPR_PMEM_UNARMED_MASK) in flags_show()
904 if (health & PAPR_PMEM_BAD_SHUTDOWN_MASK) in flags_show()
907 if (health & PAPR_PMEM_BAD_RESTORE_MASK) in flags_show()
910 if (health & PAPR_PMEM_ENCRYPTED) in flags_show()
913 if (health & PAPR_PMEM_SMART_EVENT_MASK) in flags_show()
[all …]
/linux/drivers/platform/x86/
A Dmlx-platform.c599 .health = false,
608 .health = false,
617 .health = false,
626 .health = true,
665 .health = true,
705 .health = true,
762 .health = true,
871 .health = true,
918 .health = true,
1042 .health = true,
[all …]
/linux/Documentation/networking/device_drivers/ethernet/marvell/
A Docteontx2.rst15 - `Devlink health reporters`_
162 Devlink health reporters
189 ~# devlink health
208 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_gen
212 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_intr
216 ~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_err
251 ~# ./devlink health
278 ~# devlink health dump show pci/0002:01:00.0 reporter hw_nix_intr
282 ~# devlink health dump show pci/0002:01:00.0 reporter hw_nix_gen
286 ~# devlink health dump show pci/0002:01:00.0 reporter hw_nix_err
/linux/Documentation/hwmon/
A 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/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_devlink.c245 struct bnxt_fw_health *health = bp->fw_health; in bnxt_dl_fw_reporters_create() local
247 if (!health || health->fw_reporter) in bnxt_dl_fw_reporters_create()
250 health->fw_reporter = in bnxt_dl_fw_reporters_create()
253 if (IS_ERR(health->fw_reporter)) { in bnxt_dl_fw_reporters_create()
255 PTR_ERR(health->fw_reporter)); in bnxt_dl_fw_reporters_create()
256 health->fw_reporter = NULL; in bnxt_dl_fw_reporters_create()
263 struct bnxt_fw_health *health = bp->fw_health; in bnxt_dl_fw_reporters_destroy() local
265 if (!health) in bnxt_dl_fw_reporters_destroy()
271 if (health->fw_reporter) { in bnxt_dl_fw_reporters_destroy()
272 devlink_health_reporter_destroy(health->fw_reporter); in bnxt_dl_fw_reporters_destroy()
[all …]
/linux/Documentation/powerpc/
A Dpapr_hcalls.rst223 | Out: *health-bitmap (r4), health-bit-valid-bitmap (r5)*
226 Given a DRC Index return the info on predictive failure and overall health of
227 the PMEM device. The asserted bits in the health-bitmap indicate one or more states
228 (described in table below) of the PMEM device and health-bit-valid-bitmap indicate
229 which bits in health-bitmap are valid. The bits are reported in
255 | 06 | PMEM device contents cannot persist due to current platform health |

Completed in 66 milliseconds

1234