Home
last modified time | relevance | path

Searched refs:ecc_table (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c260 if (!smu_table->ecc_table) { in aldebaran_tables_init()
1807 EccInfoTable_t *ecc_table = NULL; in aldebaran_get_ecc_info() local
1820 smu_table->ecc_table, in aldebaran_get_ecc_info()
1827 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in aldebaran_get_ecc_info()
1833 ecc_table->EccInfo[i].ce_count_lo_chip; in aldebaran_get_ecc_info()
1835 ecc_table->EccInfo[i].ce_count_hi_chip; in aldebaran_get_ecc_info()
1837 ecc_table->EccInfo[i].mca_umc_status; in aldebaran_get_ecc_info()
1839 ecc_table->EccInfo[i].mca_umc_addr; in aldebaran_get_ecc_info()
1849 ecc_table->EccInfo_V2[i].mca_umc_status; in aldebaran_get_ecc_info()
1851 ecc_table->EccInfo_V2[i].mca_umc_addr; in aldebaran_get_ecc_info()
[all …]
H A Dsmu_v13_0_0_ppt.c523 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in smu_v13_0_0_tables_init()
524 if (!smu_table->ecc_table) in smu_v13_0_0_tables_init()
3054 EccInfoTable_t *ecc_table = NULL; in smu_v13_0_0_get_ecc_info() local
3066 smu_table->ecc_table, in smu_v13_0_0_get_ecc_info()
3073 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in smu_v13_0_0_get_ecc_info()
3075 for (i = 0; i < ARRAY_SIZE(ecc_table->EccInfo); i++) { in smu_v13_0_0_get_ecc_info()
3078 ecc_table->EccInfo[i].ce_count_lo_chip; in smu_v13_0_0_get_ecc_info()
3080 ecc_table->EccInfo[i].ce_count_hi_chip; in smu_v13_0_0_get_ecc_info()
3082 ecc_table->EccInfo[i].mca_umc_status; in smu_v13_0_0_get_ecc_info()
3084 ecc_table->EccInfo[i].mca_umc_addr; in smu_v13_0_0_get_ecc_info()
H A Dsmu_v13_0.c520 kfree(smu_table->ecc_table); in smu_v13_0_fini_smc_tables()
523 smu_table->ecc_table = NULL; in smu_v13_0_fini_smc_tables()
/linux-6.15/drivers/edac/
H A Dfsl_ddr_edac.c185 static unsigned int ecc_table[16] = { variable
211 mask_high = ecc_table[i * 2]; in calculate_ecc()
212 mask_low = ecc_table[i * 2 + 1]; in calculate_ecc()
243 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsienna_cichlid_ppt.c572 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in sienna_cichlid_tables_init()
573 if (!smu_table->ecc_table) in sienna_cichlid_tables_init()
584 kfree(smu_table->ecc_table); in sienna_cichlid_tables_init()
2855 EccInfoTable_t *ecc_table = NULL; in sienna_cichlid_get_ecc_info() local
2867 smu_table->ecc_table, in sienna_cichlid_get_ecc_info()
2874 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in sienna_cichlid_get_ecc_info()
2879 ecc_table->EccInfo[i].ce_count_lo_chip; in sienna_cichlid_get_ecc_info()
2881 ecc_table->EccInfo[i].ce_count_hi_chip; in sienna_cichlid_get_ecc_info()
2883 ecc_table->EccInfo[i].mca_umc_status; in sienna_cichlid_get_ecc_info()
2885 ecc_table->EccInfo[i].mca_umc_addr; in sienna_cichlid_get_ecc_info()
H A Dsmu_v11_0.c449 kfree(smu_table->ecc_table); in smu_v11_0_fini_smc_tables()
453 smu_table->ecc_table = NULL; in smu_v11_0_fini_smc_tables()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c509 kfree(smu_table->ecc_table); in smu_v14_0_fini_smc_tables()
512 smu_table->ecc_table = NULL; in smu_v14_0_fini_smc_tables()
H A Dsmu_v14_0_2_ppt.c453 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in smu_v14_0_2_tables_init()
454 if (!smu_table->ecc_table) in smu_v14_0_2_tables_init()
/linux-6.15/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h341 void *ecc_table; member