Searched refs:ecc_table (Results 1 – 7 of 7) sorted by relevance
260 if (!smu_table->ecc_table) { in aldebaran_tables_init()1835 EccInfoTable_t *ecc_table = NULL; in aldebaran_get_ecc_info() local1848 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 …]
523 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() local2560 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()
523 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()
173 static unsigned int ecc_table[16] = { variable199 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()
568 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() local4085 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()
451 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()
336 void *ecc_table; member