Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c260 if (!smu_table->ecc_table) { in aldebaran_tables_init()
1835 EccInfoTable_t *ecc_table = NULL; in aldebaran_get_ecc_info() local
1848 smu_table->ecc_table, in aldebaran_get_ecc_info()
1855 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in aldebaran_get_ecc_info()
1861 ecc_table->EccInfo[i].ce_count_lo_chip; in aldebaran_get_ecc_info()
1863 ecc_table->EccInfo[i].ce_count_hi_chip; in aldebaran_get_ecc_info()
1865 ecc_table->EccInfo[i].mca_umc_status; in aldebaran_get_ecc_info()
1867 ecc_table->EccInfo[i].mca_umc_addr; in aldebaran_get_ecc_info()
1877 ecc_table->EccInfo_V2[i].mca_umc_status; in aldebaran_get_ecc_info()
1879 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()
2548 EccInfoTable_t *ecc_table = NULL; in smu_v13_0_0_get_ecc_info() local
2560 smu_table->ecc_table, in smu_v13_0_0_get_ecc_info()
2567 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in smu_v13_0_0_get_ecc_info()
2569 for (i = 0; i < ARRAY_SIZE(ecc_table->EccInfo); i++) { in smu_v13_0_0_get_ecc_info()
2572 ecc_table->EccInfo[i].ce_count_lo_chip; in smu_v13_0_0_get_ecc_info()
2574 ecc_table->EccInfo[i].ce_count_hi_chip; in smu_v13_0_0_get_ecc_info()
2576 ecc_table->EccInfo[i].mca_umc_status; in smu_v13_0_0_get_ecc_info()
2578 ecc_table->EccInfo[i].mca_umc_addr; in smu_v13_0_0_get_ecc_info()
H A 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()
/openbmc/linux/drivers/edac/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A 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()
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h336 void *ecc_table; member