Home
last modified time | relevance | path

Searched refs:severity (Results 1 – 25 of 83) sorted by relevance

1234

/linux-6.6.21/drivers/regulator/
Dbd9576-regulator.c239 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 …]
Dmax5970-regulator.c35 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 …]
Drt5759-regulator.c114 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()
Dbd718x7-regulator.c438 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-6.6.21/arch/powerpc/platforms/pseries/
Dras.c571 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.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c407 int severity; in print_health_info() local
420 severity = mlx5_health_get_severity(rfr_severity); in print_health_info()
421 mlx5_log(dev, severity, "Health issue observed, %s, severity(%d) %s:\n", in print_health_info()
422 hsynd_str(ioread8(&h->synd)), severity, mlx5_loglevel_str(severity)); in print_health_info()
425 mlx5_log(dev, severity, "assert_var[%d] 0x%08x\n", i, in print_health_info()
428 mlx5_log(dev, severity, "assert_exit_ptr 0x%08x\n", ioread32be(&h->assert_exit_ptr)); in print_health_info()
429 mlx5_log(dev, severity, "assert_callra 0x%08x\n", ioread32be(&h->assert_callra)); in print_health_info()
430 mlx5_log(dev, severity, "fw_ver %d.%d.%d", fw_rev_maj(dev), fw_rev_min(dev), in print_health_info()
432 mlx5_log(dev, severity, "time %u\n", ioread32be(&h->time)); in print_health_info()
433 mlx5_log(dev, severity, "hw_id 0x%08x\n", ioread32be(&h->hw_id)); in print_health_info()
[all …]
/linux-6.6.21/drivers/pci/pcie/
Daer.c626 switch (info->severity) { in pci_dev_aer_stats_incr()
682 if (info->severity == AER_CORRECTABLE) { in __aer_print_error()
709 aer_error_severity_string[info->severity]); in aer_print_error()
713 layer = AER_GET_LAYER_ERROR(info->severity, info->status); in aer_print_error()
714 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error()
716 level = (info->severity == AER_CORRECTABLE) ? KERN_WARNING : KERN_ERR; in aer_print_error()
719 aer_error_severity_string[info->severity], in aer_print_error()
735 info->severity, info->tlp_header_valid, &info->tlp); in aer_print_error()
745 aer_error_severity_string[info->severity], in aer_print_port_info()
784 info.severity = aer_severity; in cper_print_aer()
[all …]
/linux-6.6.21/include/ras/
Dras_event.h301 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.6.21/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst12 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.6.21/drivers/firmware/efi/
Dcper.c65 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()
531 __u16 severity; in cper_estatus_print_section() local
537 severity = gdata->error_severity; in cper_estatus_print_section()
539 cper_severity_str(severity)); in cper_estatus_print_section()
632 __u16 severity; in cper_estatus_print() local
634 severity = estatus->error_severity; in cper_estatus_print()
635 if (severity == CPER_SEV_CORRECTED) in cper_estatus_print()
639 printk("%s""event severity: %s\n", pfx, cper_severity_str(severity)); in cper_estatus_print()
/linux-6.6.21/arch/powerpc/kernel/
Dmce_power.c145 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.6.21/arch/x86/kernel/cpu/mce/
Dapei.c29 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()
Dcore.c588 if (mce->severity != MCE_AO_SEVERITY && in uc_decode_notifier()
589 mce->severity != MCE_DEFERRED_SEVERITY) in uc_decode_notifier()
747 m.severity = mce_severity(&m, NULL, NULL, false); in machine_check_poll()
1009 if (mtmp->severity > global_worst) { in mce_reign()
1010 global_worst = mtmp->severity; in mce_reign()
1254 int severity, i, taint = 0; in __mc_scan_banks() local
1283 severity = mce_severity(m, regs, NULL, true); in __mc_scan_banks()
1289 if ((severity == MCE_KEEP_SEVERITY || in __mc_scan_banks()
1290 severity == MCE_UCNA_SEVERITY) && !no_way_out) in __mc_scan_banks()
1296 if (severity == MCE_NO_SEVERITY) in __mc_scan_banks()
[all …]
DMakefile2 obj-y = core.o severity.o genpool.o
Dseverity.c38 static struct severity { struct
374 struct severity *s; in mce_severity_intel()
433 struct severity *ser = data; in s_show()
/linux-6.6.21/include/linux/
Dcompiler-clang.h110 #define __diag_clang(version, severity, s) \ argument
111 __diag_clang_ ## version(__diag_clang_ ## severity s)
Dcompiler-gcc.h142 #define __diag_GCC(version, severity, s) \ argument
143 __diag_GCC_ ## version(__diag_GCC_ ## severity s)
Daer.h58 int severity, struct aer_capability_regs *aer_regs);
/linux-6.6.21/include/linux/regulator/
Ddriver.h179 int severity, bool enable);
181 int severity, bool enable);
183 int severity, bool enable);
185 int severity, bool enable);
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c77 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-6.6.21/arch/powerpc/platforms/powernv/
Deeh-powernv.c1132 static int pnv_eeh_get_log(struct eeh_pe *pe, int severity, in pnv_eeh_get_log() argument
1412 __be16 err_type, severity; in pnv_eeh_next_error() local
1434 &frozen_pe_no, &err_type, &severity); in pnv_eeh_next_error()
1444 be16_to_cpu(severity) == OPAL_EEH_SEV_NO_ERROR) { in pnv_eeh_next_error()
1457 be16_to_cpu(severity), be64_to_cpu(frozen_pe_no), in pnv_eeh_next_error()
1461 if (be16_to_cpu(severity) == OPAL_EEH_SEV_IOC_DEAD) { in pnv_eeh_next_error()
1464 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error()
1473 if (be16_to_cpu(severity) == OPAL_EEH_SEV_PHB_DEAD) { in pnv_eeh_next_error()
1480 } else if (be16_to_cpu(severity) == in pnv_eeh_next_error()
1488 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) { in pnv_eeh_next_error()
Dopal-hmi.c225 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-6.6.21/arch/powerpc/include/asm/
Dmce.h117 enum MCE_Severity severity:8; member
200 enum MCE_Severity severity:8; member
/linux-6.6.21/arch/x86/include/uapi/asm/
Dmce.h23 __u8 severity; /* Error severity */ member
/linux-6.6.21/Documentation/scsi/
Dscsi_eh.rst210 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.

1234