/linux-6.12.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 | max5970-regulator.c | 162 static int max597x_uvp_ovp_check_mode(struct regulator_dev *rdev, int severity) in max597x_uvp_ovp_check_mode() argument 172 if (severity == REGULATOR_SEVERITY_PROT) { in max597x_uvp_ovp_check_mode() 184 static int max597x_set_vp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_vp() argument 192 if (severity == REGULATOR_SEVERITY_WARN) { in max597x_set_vp() 200 if (severity == REGULATOR_SEVERITY_WARN) { in max597x_set_vp() 226 static int max597x_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_uvp() argument 238 ret = max597x_uvp_ovp_check_mode(rdev, severity); in max597x_set_uvp() 242 return max597x_set_vp(rdev, lim_uV, severity, enable, false); in max597x_set_uvp() 245 static int max597x_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, in max597x_set_ovp() argument 257 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 | 439 int severity) in bd718x7_xvp_sanity_check() argument 445 if (severity != REGULATOR_SEVERITY_PROT) { in bd718x7_xvp_sanity_check() 462 int severity, bool enable) in bd718x7_set_ldo_uvp() argument 467 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_ldo_uvp() 524 int severity, bool enable) in bd718x7_set_buck_uvp() argument 528 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_uvp() 544 int severity, in bd718x7_set_buck_ovp() argument 549 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity); in bd718x7_set_buck_ovp()
|
/linux-6.12.1/drivers/pci/pcie/ |
D | aer.c | 626 switch (info->severity) { in pci_dev_aer_stats_incr() 681 if (info->severity == AER_CORRECTABLE) { in __aer_print_error() 708 aer_error_severity_string[info->severity]); in aer_print_error() 712 layer = AER_GET_LAYER_ERROR(info->severity, info->status); in aer_print_error() 713 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error() 715 level = (info->severity == AER_CORRECTABLE) ? KERN_WARNING : KERN_ERR; in aer_print_error() 718 aer_error_severity_string[info->severity], in aer_print_error() 734 info->severity, info->tlp_header_valid, &info->tlp); in aer_print_error() 744 aer_error_severity_string[info->severity], in aer_print_port_info() 784 info.severity = aer_severity; in pci_print_aer() [all …]
|
/linux-6.12.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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | health.c | 417 int severity; in print_health_info() local 430 severity = mlx5_health_get_severity(rfr_severity); in print_health_info() 431 mlx5_log(dev, severity, "Health issue observed, %s, severity(%d) %s:\n", in print_health_info() 432 hsynd_str(ioread8(&h->synd)), severity, mlx5_loglevel_str(severity)); in print_health_info() 435 mlx5_log(dev, severity, "assert_var[%d] 0x%08x\n", i, in print_health_info() 438 mlx5_log(dev, severity, "assert_exit_ptr 0x%08x\n", ioread32be(&h->assert_exit_ptr)); in print_health_info() 439 mlx5_log(dev, severity, "assert_callra 0x%08x\n", ioread32be(&h->assert_callra)); in print_health_info() 440 mlx5_log(dev, severity, "fw_ver %d.%d.%d", fw_rev_maj(dev), fw_rev_min(dev), in print_health_info() 442 mlx5_log(dev, severity, "time %u\n", ioread32be(&h->time)); in print_health_info() 443 mlx5_log(dev, severity, "hw_id 0x%08x\n", ioread32be(&h->hw_id)); in print_health_info() [all …]
|
/linux-6.12.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-6.12.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-6.12.1/drivers/firmware/efi/ |
D | cper.c | 65 const char *cper_severity_str(unsigned int severity) in cper_severity_str() argument 67 return severity < ARRAY_SIZE(severity_strs) ? in cper_severity_str() 68 severity_strs[severity] : "unknown"; in cper_severity_str() 547 __u16 severity; in cper_estatus_print_section() local 553 severity = gdata->error_severity; in cper_estatus_print_section() 555 cper_severity_str(severity)); in cper_estatus_print_section() 656 __u16 severity; in cper_estatus_print() local 658 severity = estatus->error_severity; in cper_estatus_print() 659 if (severity == CPER_SEV_CORRECTED) in cper_estatus_print() 663 printk("%s""event severity: %s\n", pfx, cper_severity_str(severity)); in cper_estatus_print()
|
/linux-6.12.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-6.12.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 | 606 if (mce->severity != MCE_AO_SEVERITY && in uc_decode_notifier() 607 mce->severity != MCE_DEFERRED_SEVERITY) in uc_decode_notifier() 772 m.severity = mce_severity(&m, NULL, NULL, false); in machine_check_poll() 1032 if (mtmp->severity > global_worst) { in mce_reign() 1033 global_worst = mtmp->severity; in mce_reign() 1277 int severity, i, taint = 0; in __mc_scan_banks() local 1306 severity = mce_severity(m, regs, NULL, true); in __mc_scan_banks() 1312 if ((severity == MCE_KEEP_SEVERITY || in __mc_scan_banks() 1313 severity == MCE_UCNA_SEVERITY) && !no_way_out) in __mc_scan_banks() 1319 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 385 struct severity *s; in mce_severity_intel() 444 struct severity *ser = data; in s_show()
|
/linux-6.12.1/include/linux/ |
D | compiler-clang.h | 105 #define __diag_clang(version, severity, s) \ argument 106 __diag_clang_ ## version(__diag_clang_ ## severity s)
|
D | compiler-gcc.h | 124 #define __diag_GCC(version, severity, s) \ argument 125 __diag_GCC_ ## version(__diag_GCC_ ## severity s)
|
D | aer.h | 57 int severity, struct aer_capability_regs *aer_regs);
|
/linux-6.12.1/include/linux/regulator/ |
D | driver.h | 174 int severity, bool enable); 176 int severity, bool enable); 178 int severity, bool enable); 180 int severity, bool enable);
|
/linux-6.12.1/drivers/cxl/core/ |
D | pci.c | 852 int *severity) in cxl_rch_get_aer_severity() argument 856 *severity = AER_FATAL; in cxl_rch_get_aer_severity() 858 *severity = AER_NONFATAL; in cxl_rch_get_aer_severity() 863 *severity = AER_CORRECTABLE; in cxl_rch_get_aer_severity() 875 int severity; in cxl_handle_rdport_errors() local 885 if (!cxl_rch_get_aer_severity(&aer_regs, &severity)) in cxl_handle_rdport_errors() 888 pci_print_aer(pdev, severity, &aer_regs); in cxl_handle_rdport_errors() 890 if (severity == AER_CORRECTABLE) in cxl_handle_rdport_errors()
|
/linux-6.12.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() 122 } else if (h->severity || fw_status != BNXT_FW_STATUS_HEALTHY) { in bnxt_fw_diagnose() 123 if (!h->severity) { in bnxt_fw_diagnose() 124 h->severity = SEVERITY_FATAL; in bnxt_fw_diagnose() 137 bnxt_health_severity_str(h->severity)); in bnxt_fw_diagnose() 139 if (h->severity) { in bnxt_fw_diagnose() 200 if (bp->fw_health->severity == SEVERITY_FATAL) in bnxt_fw_recover() 264 fw_health->severity = SEVERITY_RECOVERABLE; in bnxt_devlink_health_fw_report() 280 fw_health->severity = SEVERITY_NORMAL; in bnxt_dl_health_fw_status_update() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 1131 static int pnv_eeh_get_log(struct eeh_pe *pe, int severity, in pnv_eeh_get_log() argument 1411 __be16 err_type, severity; in pnv_eeh_next_error() local 1433 &frozen_pe_no, &err_type, &severity); in pnv_eeh_next_error() 1443 be16_to_cpu(severity) == OPAL_EEH_SEV_NO_ERROR) { in pnv_eeh_next_error() 1456 be16_to_cpu(severity), be64_to_cpu(frozen_pe_no), in pnv_eeh_next_error() 1460 if (be16_to_cpu(severity) == OPAL_EEH_SEV_IOC_DEAD) { in pnv_eeh_next_error() 1463 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error() 1472 if (be16_to_cpu(severity) == OPAL_EEH_SEV_PHB_DEAD) { in pnv_eeh_next_error() 1479 } else if (be16_to_cpu(severity) == in pnv_eeh_next_error() 1487 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error()
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | mce.h | 117 enum MCE_Severity severity:8; member 200 enum MCE_Severity severity:8; member
|
/linux-6.12.1/arch/x86/include/uapi/asm/ |
D | mce.h | 23 __u8 severity; /* Error severity */ member
|
/linux-6.12.1/Documentation/scsi/ |
D | scsi_eh.rst | 210 severity. Some actions are performed by issuing SCSI commands and 222 Higher-severity actions are taken only when lower-severity actions 224 highest-severity action means EH failure and results in offlining of 237 - Higher severity actions are taken iff eh_work_q is not empty after 238 lower severity actions are complete. 335 causes higher-severity recovery to be taken for the scmd. 363 higher-severity actions.
|