/linux-master/drivers/net/netdevsim/ |
H A D | health.c | 43 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 D | Makefile | 6 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 D | health.c | 87 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 D | en_selftest.c | 42 struct mlx5_core_health *health = &priv->mdev->priv.health; local 44 return health->fatal_error ? 1 : 0;
|
H A D | Makefile | 15 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 D | reporter_vnic.c | 84 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 D | crdump.c | 14 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 D | Makefile | 4 resource.o param.o region.o health.o trap.o rate.o linecard.o
|
/linux-master/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink.sh | 402 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 D | papr_pdsm.h | 69 /* 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 D | ucs1002_power.c | 108 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 D | da9052-battery.c | 172 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 D | bq24190_charger.c | 218 * 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 D | wm831x_power.c | 393 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 D | bq2515x_charger.c | 701 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 D | axp288_fuel_gauge.c | 329 int health = POWER_SUPPLY_HEALTH_UNKNOWN; local 332 health = POWER_SUPPLY_HEALTH_OVERVOLTAGE; 334 health = POWER_SUPPLY_HEALTH_GOOD; 336 return health;
|
H A D | max17042_battery.c | 174 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 D | pt5161l.c | 527 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 D | mlxreg.h | 129 * @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 D | papr_scm.c | 71 /* 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 D | Makefile | 33 obj-y += health/
|
/linux-master/drivers/platform/x86/ |
H A D | mlx-platform.c | 782 .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 D | intel.h | 20 u8 health; member in struct:nd_intel_smart::__anon17::__anon18
|
/linux-master/fs/xfs/ |
H A D | Makefile | 168 health.o \
|
/linux-master/drivers/platform/mellanox/ |
H A D | nvsw-sn2201.c | 486 .health = false, 495 .health = false, 504 .health = false, 513 .health = false,
|