Searched refs:health (Results 1 - 25 of 37) sorted by relevance

12

/linux-master/drivers/net/netdevsim/
H A Dhealth.c43 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); local
46 if (health->fail_recover) {
54 kfree(health->recovered_break_msg);
55 health->recovered_break_msg = kstrdup(ctx->break_msg,
57 if (!health->recovered_break_msg)
112 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); local
118 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len);
126 struct nsim_dev_health *health = devlink_health_reporter_priv(reporter); local
128 if (health->recovered_break_msg)
130 health
147 struct nsim_dev_health *health = file->private_data; local
178 struct nsim_dev_health *health = &nsim_dev->health; local
223 struct nsim_dev_health *health = &nsim_dev->health; local
[all...]
H A DMakefile6 netdev.o dev.o ethtool.o fib.o bus.o health.o hwstats.o udp_tunnels.o
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c87 struct mlx5_core_health *health = &dev->priv.health; local
88 struct health_buffer __iomem *h = health->health;
101 struct mlx5_core_health *health = &dev->priv.health; local
102 struct health_buffer __iomem *h = health->health;
171 /* The reset only needs to be issued by one PF. The health buffer is
300 if (dev->priv.health
414 struct mlx5_core_health *health = &dev->priv.health; local
459 struct mlx5_core_health *health = &dev->priv.health; local
489 struct mlx5_core_health *health = &dev->priv.health; local
546 struct mlx5_core_health *health; local
623 struct mlx5_core_health *health; local
681 struct mlx5_core_health *health = &dev->priv.health; local
717 struct mlx5_core_health *health = &dev->priv.health; local
739 struct mlx5_core_health *health = &dev->priv.health; local
751 struct mlx5_core_health *health; local
773 struct mlx5_core_health *health = &dev->priv.health; local
818 struct mlx5_core_health *health = &dev->priv.health; local
832 struct mlx5_core_health *health = &dev->priv.health; local
842 struct mlx5_core_health *health = &dev->priv.health; local
850 struct mlx5_core_health *health = &dev->priv.health; local
860 struct mlx5_core_health *health = &dev->priv.health; local
871 struct mlx5_core_health *health; local
[all...]
H A Den_selftest.c42 struct mlx5_core_health *health = &priv->mdev->priv.health; local
44 return health->fatal_error ? 1 : 0;
H A 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 \
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dreporter_vnic.c84 struct mlx5_core_health *health = &dev->priv.health; local
87 health->vnic_reporter =
91 if (IS_ERR(health->vnic_reporter))
94 PTR_ERR(health->vnic_reporter));
99 struct mlx5_core_health *health = &dev->priv.health; local
101 if (!IS_ERR_OR_NULL(health->vnic_reporter))
102 devlink_health_reporter_destroy(health->vnic_reporter);
H A Dcrdump.c14 return !!dev->priv.health.crdump_size;
19 u32 crdump_size = dev->priv.health.crdump_size;
111 priv->health.crdump_size = space_size;
117 dev->priv.health.crdump_size = 0;
/linux-master/net/devlink/
H A DMakefile4 resource.o param.o region.o health.o trap.o rate.o linecard.o
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh402 devlink health show $DL_HANDLE reporter empty >/dev/null
405 devlink health dump show $DL_HANDLE reporter empty >/dev/null
408 devlink health diagnose $DL_HANDLE reporter empty >/dev/null
411 devlink health recover $DL_HANDLE reporter empty
426 local show=$(devlink health show $DL_HANDLE reporter $name -j | jq -e -r ".[][][]")
457 devlink health set $DL_HANDLE reporter dummy auto_recover false
463 echo "$BREAK_MSG"> $DEBUGFS_DIR/health/break_health
468 local dump=$(devlink health dump show $DL_HANDLE reporter dummy -j)
475 devlink health dump clear $DL_HANDLE reporter dummy
478 devlink health recove
[all...]
/linux-master/include/uapi/linux/
H A Dpapr_pdsm.h69 /* Various nvdimm health indicators */
85 * Various flags indicate the health status of the dimm.
94 * dimm_health : Dimm health indicator. One of PAPR_PDSM_DIMM_XXXX
148 struct nd_papr_pdsm_health health; member in union:nd_pdsm_payload
/linux-master/drivers/power/supply/
H A Ducs1002_power.c108 int health; member in struct:ucs1002_info
387 val->intval = info->health;
451 /* bad health and no status change, just schedule us again in a while */
452 if ((reg & F_ERR) && info->health != POWER_SUPPLY_HEALTH_GOOD) {
459 info->health = POWER_SUPPLY_HEALTH_OVERHEAT;
461 info->health = POWER_SUPPLY_HEALTH_OVERVOLTAGE;
463 info->health = POWER_SUPPLY_HEALTH_OVERCURRENT;
465 info->health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE;
467 info->health = POWER_SUPPLY_HEALTH_GOOD;
469 sysfs_notify(&info->charger->dev.kobj, NULL, "health");
[all...]
H A Dda9052-battery.c172 int health; member in struct:da9052_battery
406 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) argument
417 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN;
421 if (bat->health != POWER_SUPPLY_HEALTH_OVERHEAT) {
426 bat->health = POWER_SUPPLY_HEALTH_DEAD;
428 bat->health = POWER_SUPPLY_HEALTH_GOOD;
431 *health = bat->health;
603 bat->health = POWER_SUPPLY_HEALTH_UNKNOWN;
H A Dbq24190_charger.c218 * it in the appropriate health/status routine.
987 int health; local
993 health = POWER_SUPPLY_HEALTH_COLD;
998 health = POWER_SUPPLY_HEALTH_OVERHEAT;
1001 health = POWER_SUPPLY_HEALTH_UNKNOWN;
1004 return health;
1009 int health; local
1013 health = POWER_SUPPLY_HEALTH_GOOD;
1016 health = POWER_SUPPLY_HEALTH_OVERHEAT;
1019 health
1032 int health; local
1561 int health; local
[all...]
H A Dwm831x_power.c393 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) argument
402 *health = POWER_SUPPLY_HEALTH_OVERHEAT;
407 *health = POWER_SUPPLY_HEALTH_COLD;
412 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE;
419 *health = POWER_SUPPLY_HEALTH_OVERHEAT;
422 *health = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE;
425 *health = POWER_SUPPLY_HEALTH_GOOD;
H A Dbq2515x_charger.c701 int health = POWER_SUPPLY_HEALTH_GOOD; local
720 health = POWER_SUPPLY_HEALTH_HOT;
723 health = POWER_SUPPLY_HEALTH_WARM;
726 health = POWER_SUPPLY_HEALTH_COOL;
729 health = POWER_SUPPLY_HEALTH_COLD;
732 health = POWER_SUPPLY_HEALTH_UNKNOWN;
738 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE;
741 health = POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE;
743 val->intval = health;
H A Daxp288_fuel_gauge.c329 int health = POWER_SUPPLY_HEALTH_UNKNOWN; local
332 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE;
334 health = POWER_SUPPLY_HEALTH_GOOD;
336 return health;
H A Dmax17042_battery.c174 static int max17042_get_battery_health(struct max17042_chip *chip, int *health) argument
198 *health = POWER_SUPPLY_HEALTH_DEAD;
203 *health = POWER_SUPPLY_HEALTH_OVERVOLTAGE;
212 *health = POWER_SUPPLY_HEALTH_COLD;
217 *health = POWER_SUPPLY_HEALTH_OVERHEAT;
221 *health = POWER_SUPPLY_HEALTH_GOOD;
/linux-master/drivers/hwmon/
H A Dpt5161l.c527 char health[16]; local
535 ret = snprintf(health, sizeof(health), "%s\n",
538 return simple_read_from_buffer(buf, count, ppos, health, ret);
552 char health[16]; local
560 ret = snprintf(health, sizeof(health), "%s\n",
563 return simple_read_from_buffer(buf, count, ppos, health, ret);
/linux-master/include/linux/platform_data/
H A Dmlxreg.h129 * @health_cntr: dynamic device health indication counter;
130 * @attached: true if device has been attached after good health indication;
169 * @health: true if device has health indication, false in other case;
182 u8 health; member in struct:mlxreg_core_item
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c71 /* Protect dimm health data from concurrent read/writes */
74 /* Last time the health information of the dimm was updated */
494 * Issue hcall to retrieve dimm health info and populate papr_scm_priv with the
495 * health information.
509 "Hcall H_SCM_HEALTH not implemented, assuming empty health bitmap");
513 "Failed to query health information, Err:%ld\n", rc);
518 /* Allow injecting specific health bits via inject mask. */
524 "Queried dimm health info. Bitmap:0x%016lx Mask:0x%016lx\n",
530 /* Min interval in seconds for assuming stable dimm health */
533 /* Query cached health inf
1119 u64 health; local
[all...]
/linux-master/drivers/iio/
H A DMakefile33 obj-y += health/
/linux-master/drivers/platform/x86/
H A 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
[all...]
/linux-master/drivers/acpi/nfit/
H A Dintel.h20 u8 health; member in struct:nd_intel_smart::__anon17::__anon18
/linux-master/fs/xfs/
H A DMakefile168 health.o \
/linux-master/drivers/platform/mellanox/
H A Dnvsw-sn2201.c486 .health = false,
495 .health = false,
504 .health = false,
513 .health = false,

Completed in 403 milliseconds

12