Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c259 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in aldebaran_tables_init()
260 if (!smu_table->ecc_table) in aldebaran_tables_init()
1832 EccInfoTable_t *ecc_table = NULL; in aldebaran_get_ecc_info() local
1845 smu_table->ecc_table, in aldebaran_get_ecc_info()
1852 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in aldebaran_get_ecc_info()
1858 ecc_table->EccInfo[i].ce_count_lo_chip; in aldebaran_get_ecc_info()
1860 ecc_table->EccInfo[i].ce_count_hi_chip; in aldebaran_get_ecc_info()
1862 ecc_table->EccInfo[i].mca_umc_status; in aldebaran_get_ecc_info()
1864 ecc_table->EccInfo[i].mca_umc_addr; in aldebaran_get_ecc_info()
1870 ecc_table->EccInfo_V2[i].ce_count_lo_chip; in aldebaran_get_ecc_info()
[all …]
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()
2576 EccInfoTable_t *ecc_table = NULL; in smu_v13_0_0_get_ecc_info() local
2588 smu_table->ecc_table, in smu_v13_0_0_get_ecc_info()
2595 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in smu_v13_0_0_get_ecc_info()
2597 for (i = 0; i < ARRAY_SIZE(ecc_table->EccInfo); i++) { in smu_v13_0_0_get_ecc_info()
2600 ecc_table->EccInfo[i].ce_count_lo_chip; in smu_v13_0_0_get_ecc_info()
2602 ecc_table->EccInfo[i].ce_count_hi_chip; in smu_v13_0_0_get_ecc_info()
2604 ecc_table->EccInfo[i].mca_umc_status; in smu_v13_0_0_get_ecc_info()
2606 ecc_table->EccInfo[i].mca_umc_addr; in smu_v13_0_0_get_ecc_info()
Dsmu_v13_0.c523 kfree(smu_table->ecc_table); in smu_v13_0_fini_smc_tables()
526 smu_table->ecc_table = NULL; in smu_v13_0_fini_smc_tables()
/Linux-v6.6/drivers/edac/
Dfsl_ddr_edac.c173 static unsigned int ecc_table[16] = { variable
199 mask_high = ecc_table[i * 2]; in calculate_ecc()
200 mask_low = ecc_table[i * 2 + 1]; in calculate_ecc()
231 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsienna_cichlid_ppt.c568 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in sienna_cichlid_tables_init()
569 if (!smu_table->ecc_table) in sienna_cichlid_tables_init()
580 kfree(smu_table->ecc_table); in sienna_cichlid_tables_init()
4073 EccInfoTable_t *ecc_table = NULL; in sienna_cichlid_get_ecc_info() local
4085 smu_table->ecc_table, in sienna_cichlid_get_ecc_info()
4092 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in sienna_cichlid_get_ecc_info()
4097 ecc_table->EccInfo[i].ce_count_lo_chip; in sienna_cichlid_get_ecc_info()
4099 ecc_table->EccInfo[i].ce_count_hi_chip; in sienna_cichlid_get_ecc_info()
4101 ecc_table->EccInfo[i].mca_umc_status; in sienna_cichlid_get_ecc_info()
4103 ecc_table->EccInfo[i].mca_umc_addr; in sienna_cichlid_get_ecc_info()
Dsmu_v11_0.c451 kfree(smu_table->ecc_table); in smu_v11_0_fini_smc_tables()
455 smu_table->ecc_table = NULL; in smu_v11_0_fini_smc_tables()
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h336 void *ecc_table; member