Home
last modified time | relevance | path

Searched refs:ras_errors (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_sysfs_ras_counters.c22 counter = ADF_RAS_ERR_CTR_READ(accel_dev->ras_errors, ADF_RAS_CORR); in errors_correctable_show()
37 counter = ADF_RAS_ERR_CTR_READ(accel_dev->ras_errors, ADF_RAS_UNCORR); in errors_nonfatal_show()
52 counter = ADF_RAS_ERR_CTR_READ(accel_dev->ras_errors, ADF_RAS_FATAL); in errors_fatal_show()
69 ADF_RAS_ERR_CTR_CLEAR(accel_dev->ras_errors); in reset_error_counters_store()
94 if (!accel_dev->ras_errors.enabled) in adf_sysfs_start_ras()
97 ADF_RAS_ERR_CTR_CLEAR(accel_dev->ras_errors); in adf_sysfs_start_ras()
103 accel_dev->ras_errors.sysfs_added = true; in adf_sysfs_start_ras()
108 if (!accel_dev->ras_errors.enabled) in adf_sysfs_stop_ras()
111 if (accel_dev->ras_errors.sysfs_added) { in adf_sysfs_stop_ras()
113 accel_dev->ras_errors.sysfs_added = false; in adf_sysfs_stop_ras()
[all …]
Dadf_gen4_ras.c361 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_CORR); in adf_gen4_process_errsou0()
382 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_UNCORR); in adf_handle_cpp_aeunc()
405 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_FATAL); in adf_handle_cppcmdparerr()
429 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_UNCORR); in adf_handle_ri_mem_par_err()
436 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_FATAL); in adf_handle_ri_mem_par_err()
460 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_UNCORR); in adf_handle_ti_ci_par_sts()
484 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_UNCORR); in adf_handle_ti_pullfub_par_sts()
505 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_UNCORR); in adf_handle_ti_pushfub_par_sts()
529 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_UNCORR); in adf_handle_ti_cd_par_sts()
552 ADF_RAS_ERR_CTR_INC(accel_dev->ras_errors, ADF_RAS_UNCORR); in adf_handle_ti_trnsb_par_sts()
[all …]
Dadf_sysfs_ras_counters.h15 #define ADF_RAS_ERR_CTR_READ(ras_errors, ERR) \ argument
16 atomic_read(&(ras_errors).counter[ERR])
18 #define ADF_RAS_ERR_CTR_CLEAR(ras_errors) \ argument
21 atomic_set(&(ras_errors).counter[err], 0); \
24 #define ADF_RAS_ERR_CTR_INC(ras_errors, ERR) \ argument
25 atomic_inc(&(ras_errors).counter[ERR])
Dadf_accel_devices.h93 enum ras_errors { enum
491 struct adf_error_counters ras_errors; member
/linux-6.12.1/drivers/crypto/intel/qat/qat_4xxx/
Dadf_drv.c154 accel_dev->ras_errors.enabled = true; in adf_probe()
/linux-6.12.1/drivers/crypto/intel/qat/qat_420xx/
Dadf_drv.c152 accel_dev->ras_errors.enabled = true; in adf_probe()