/Linux-v6.1/drivers/regulator/ |
D | bd9576-regulator.c | 239 static bool check_ocp_flag_mismatch(struct regulator_dev *rdev, int severity, in check_ocp_flag_mismatch() argument 242 if ((severity == REGULATOR_SEVERITY_ERR && in check_ocp_flag_mismatch() 244 (severity == REGULATOR_SEVERITY_WARN && in check_ocp_flag_mismatch() 249 if (severity == REGULATOR_SEVERITY_WARN) in check_ocp_flag_mismatch() 258 static bool check_uvd_flag_mismatch(struct regulator_dev *rdev, int severity, in check_uvd_flag_mismatch() argument 261 if ((severity == REGULATOR_SEVERITY_ERR && in check_uvd_flag_mismatch() 263 (severity == REGULATOR_SEVERITY_WARN && in check_uvd_flag_mismatch() 267 if (severity == REGULATOR_SEVERITY_WARN) in check_uvd_flag_mismatch() 276 static bool check_ovd_flag_mismatch(struct regulator_dev *rdev, int severity, in check_ovd_flag_mismatch() argument 279 if ((severity == REGULATOR_SEVERITY_ERR && in check_ovd_flag_mismatch() [all …]
|
D | max597x-regulator.c | 35 static int max597x_uvp_ovp_check_mode(struct regulator_dev *rdev, int severity) in max597x_uvp_ovp_check_mode() argument 45 if (severity == REGULATOR_SEVERITY_PROT) { in max597x_uvp_ovp_check_mode() 57 static int max597x_set_vp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_vp() argument 65 if (severity == REGULATOR_SEVERITY_WARN) { in max597x_set_vp() 73 if (severity == REGULATOR_SEVERITY_WARN) { in max597x_set_vp() 99 static int max597x_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_uvp() argument 111 ret = max597x_uvp_ovp_check_mode(rdev, severity); in max597x_set_uvp() 115 return max597x_set_vp(rdev, lim_uV, severity, enable, false); in max597x_set_uvp() 118 static int max597x_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_ovp() argument 130 ret = max597x_uvp_ovp_check_mode(rdev, severity); in max597x_set_ovp() [all …]
|
D | rt5759-regulator.c | 114 static int rt5759_set_ocp(struct regulator_dev *rdev, int lim_uA, int severity, in rt5759_set_ocp() argument 123 if (severity != REGULATOR_SEVERITY_PROT) in rt5759_set_ocp() 147 static int rt5759_set_otp(struct regulator_dev *rdev, int lim, int severity, in rt5759_set_otp() argument 156 if (severity != REGULATOR_SEVERITY_PROT) in rt5759_set_otp()
|
D | bd718x7-regulator.c | 438 int severity) in bd718x7_xvp_sanity_check() argument 444 if (severity != REGULATOR_SEVERITY_PROT) { in bd718x7_xvp_sanity_check() 461 int severity, bool enable) in bd718x7_set_ldo_uvp() argument 466 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_ldo_uvp() 523 int severity, bool enable) in bd718x7_set_buck_uvp() argument 527 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_uvp() 543 int severity, in bd718x7_set_buck_ovp() argument 548 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_ovp()
|
/Linux-v6.1/arch/powerpc/platforms/pseries/ |
D | ras.c | 571 int severity = rtas_error_severity(errp); in mce_handle_err_virtmode() local 596 if (severity == RTAS_SEVERITY_NO_ERROR) in mce_handle_err_virtmode() 597 mce_err.severity = MCE_SEV_NO_ERROR; in mce_handle_err_virtmode() 598 else if (severity == RTAS_SEVERITY_EVENT) in mce_handle_err_virtmode() 599 mce_err.severity = MCE_SEV_WARNING; in mce_handle_err_virtmode() 600 else if (severity == RTAS_SEVERITY_WARNING) in mce_handle_err_virtmode() 601 mce_err.severity = MCE_SEV_WARNING; in mce_handle_err_virtmode() 602 else if (severity == RTAS_SEVERITY_ERROR_SYNC) in mce_handle_err_virtmode() 603 mce_err.severity = MCE_SEV_SEVERE; in mce_handle_err_virtmode() 604 else if (severity == RTAS_SEVERITY_ERROR) in mce_handle_err_virtmode() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | health.c | 415 int severity; in print_health_info() local 428 severity = mlx5_health_get_severity(rfr_severity); in print_health_info() 429 mlx5_log(dev, severity, "Health issue observed, %s, severity(%d) %s:\n", in print_health_info() 430 hsynd_str(ioread8(&h->synd)), severity, mlx5_loglevel_str(severity)); in print_health_info() 433 mlx5_log(dev, severity, "assert_var[%d] 0x%08x\n", i, in print_health_info() 436 mlx5_log(dev, severity, "assert_exit_ptr 0x%08x\n", ioread32be(&h->assert_exit_ptr)); in print_health_info() 437 mlx5_log(dev, severity, "assert_callra 0x%08x\n", ioread32be(&h->assert_callra)); in print_health_info() 438 mlx5_log(dev, severity, "fw_ver %d.%d.%d", fw_rev_maj(dev), fw_rev_min(dev), in print_health_info() 440 mlx5_log(dev, severity, "time %u\n", ioread32be(&h->time)); in print_health_info() 441 mlx5_log(dev, severity, "hw_id 0x%08x\n", ioread32be(&h->hw_id)); in print_health_info() [all …]
|
/Linux-v6.1/drivers/pci/pcie/ |
D | aer.c | 634 switch (info->severity) { in pci_dev_aer_stats_incr() 690 if (info->severity == AER_CORRECTABLE) { in __aer_print_error() 717 aer_error_severity_string[info->severity]); in aer_print_error() 721 layer = AER_GET_LAYER_ERROR(info->severity, info->status); in aer_print_error() 722 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error() 724 level = (info->severity == AER_CORRECTABLE) ? KERN_WARNING : KERN_ERR; in aer_print_error() 727 aer_error_severity_string[info->severity], in aer_print_error() 743 info->severity, info->tlp_header_valid, &info->tlp); in aer_print_error() 753 aer_error_severity_string[info->severity], in aer_print_port_info() 792 info.severity = aer_severity; in cper_print_aer() [all …]
|
/Linux-v6.1/include/ras/ |
D | ras_event.h | 301 const u8 severity, 305 TP_ARGS(dev_name, status, severity, tlp_header_valid, tlp), 310 __field( u8, severity ) 318 __entry->severity = severity; 330 __entry->severity == AER_CORRECTABLE ? "Corrected" : 331 __entry->severity == AER_FATAL ? 333 __entry->severity == AER_CORRECTABLE ?
|
/Linux-v6.1/Documentation/firmware-guide/acpi/apei/ |
D | output_format.rst | 12 severity: <integer>, <severity string> 13 section: <integer>, severity: <integer>, <severity string> 21 <severity string>* := recoverable | fatal | corrected | info 110 if section severity is fatal or recoverable
|
/Linux-v6.1/drivers/firmware/efi/ |
D | cper.c | 64 const char *cper_severity_str(unsigned int severity) in cper_severity_str() argument 66 return severity < ARRAY_SIZE(severity_strs) ? in cper_severity_str() 67 severity_strs[severity] : "unknown"; in cper_severity_str() 527 __u16 severity; in cper_estatus_print_section() local 533 severity = gdata->error_severity; in cper_estatus_print_section() 535 cper_severity_str(severity)); in cper_estatus_print_section() 620 __u16 severity; in cper_estatus_print() local 622 severity = estatus->error_severity; in cper_estatus_print() 623 if (severity == CPER_SEV_CORRECTED) in cper_estatus_print() 627 printk("%s""event severity: %s\n", pfx, cper_severity_str(severity)); in cper_estatus_print()
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | mce_power.c | 145 unsigned int severity; member 298 unsigned int severity; member 544 mce_err->severity = table[i].severity; in mce_handle_ierror() 566 mce_err->severity = MCE_SEV_SEVERE; in mce_handle_ierror() 646 mce_err->severity = table[i].severity; in mce_handle_derror() 668 mce_err->severity = MCE_SEV_SEVERE; in mce_handle_derror()
|
/Linux-v6.1/include/linux/ |
D | compiler-clang.h | 101 #define __diag_clang(version, severity, s) \ argument 102 __diag_clang_ ## version(__diag_clang_ ## severity s)
|
D | compiler-gcc.h | 127 #define __diag_GCC(version, severity, s) \ argument 128 __diag_GCC_ ## version(__diag_GCC_ ## severity s)
|
D | aer.h | 71 int severity, struct aer_capability_regs *aer_regs);
|
/Linux-v6.1/arch/x86/kernel/cpu/mce/ |
D | apei.c | 29 void apei_mce_report_mem_error(int severity, struct cper_sec_mem_err *mem_err) in apei_mce_report_mem_error() argument 53 if (severity >= GHES_SEV_RECOVERABLE) in apei_mce_report_mem_error() 56 if (severity >= GHES_SEV_PANIC) { in apei_mce_report_mem_error()
|
D | core.c | 578 if (mce->severity != MCE_AO_SEVERITY && in uc_decode_notifier() 579 mce->severity != MCE_DEFERRED_SEVERITY) in uc_decode_notifier() 745 m.severity = mce_severity(&m, NULL, NULL, false); in machine_check_poll() 984 if (mtmp->severity > global_worst) { in mce_reign() 985 global_worst = mtmp->severity; in mce_reign() 1229 int severity, i, taint = 0; in __mc_scan_banks() local 1258 severity = mce_severity(m, regs, NULL, true); in __mc_scan_banks() 1264 if ((severity == MCE_KEEP_SEVERITY || in __mc_scan_banks() 1265 severity == MCE_UCNA_SEVERITY) && !no_way_out) in __mc_scan_banks() 1271 if (severity == MCE_NO_SEVERITY) in __mc_scan_banks() [all …]
|
D | Makefile | 2 obj-y = core.o severity.o genpool.o
|
D | severity.c | 38 static struct severity { struct 369 struct severity *s; in mce_severity_intel() 431 struct severity *ser = data; in s_show()
|
/Linux-v6.1/include/linux/regulator/ |
D | driver.h | 179 int severity, bool enable); 181 int severity, bool enable); 183 int severity, bool enable); 185 int severity, bool enable);
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 77 static char *bnxt_health_severity_str(enum bnxt_health_severity severity) in bnxt_health_severity_str() argument 79 switch (severity) { in bnxt_health_severity_str() 121 } else if (h->severity || fw_status != BNXT_FW_STATUS_HEALTHY) { in bnxt_fw_diagnose() 122 if (!h->severity) { in bnxt_fw_diagnose() 123 h->severity = SEVERITY_FATAL; in bnxt_fw_diagnose() 142 bnxt_health_severity_str(h->severity)); in bnxt_fw_diagnose() 146 if (h->severity) { in bnxt_fw_diagnose() 229 if (bp->fw_health->severity == SEVERITY_FATAL) in bnxt_fw_recover() 293 fw_health->severity = SEVERITY_RECOVERABLE; in bnxt_devlink_health_fw_report() 309 fw_health->severity = SEVERITY_NORMAL; in bnxt_dl_health_fw_status_update() [all …]
|
/Linux-v6.1/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 1133 static int pnv_eeh_get_log(struct eeh_pe *pe, int severity, in pnv_eeh_get_log() argument 1413 __be16 err_type, severity; in pnv_eeh_next_error() local 1435 &frozen_pe_no, &err_type, &severity); in pnv_eeh_next_error() 1445 be16_to_cpu(severity) == OPAL_EEH_SEV_NO_ERROR) { in pnv_eeh_next_error() 1458 be16_to_cpu(severity), be64_to_cpu(frozen_pe_no), in pnv_eeh_next_error() 1462 if (be16_to_cpu(severity) == OPAL_EEH_SEV_IOC_DEAD) { in pnv_eeh_next_error() 1465 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error() 1474 if (be16_to_cpu(severity) == OPAL_EEH_SEV_PHB_DEAD) { in pnv_eeh_next_error() 1481 } else if (be16_to_cpu(severity) == in pnv_eeh_next_error() 1489 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error()
|
D | opal-hmi.c | 225 switch (hmi_evt->severity) { in print_hmi_event_info() 245 if (hmi_evt->severity != OpalHMI_SEV_NO_ERROR || __ratelimit(&rs)) { in print_hmi_event_info()
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | mce.h | 117 enum MCE_Severity severity:8; 200 enum MCE_Severity severity:8;
|
/Linux-v6.1/arch/x86/include/uapi/asm/ |
D | mce.h | 23 __u8 severity; /* Error severity */ member
|
/Linux-v6.1/Documentation/scsi/ |
D | scsi_eh.rst | 207 severity. Some actions are performed by issuing SCSI commands and 219 Higher-severity actions are taken only when lower-severity actions 221 highest-severity action means EH failure and results in offlining of 234 - Higher severity actions are taken iff eh_work_q is not empty after 235 lower severity actions are complete. 332 causes higher-severity recovery to be taken for the scmd. 360 higher-severity actions.
|