Searched refs:ecc_table (Results 1 – 10 of 10) sorted by relevance
261 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in aldebaran_tables_init()262 if (!smu_table->ecc_table) { in aldebaran_tables_init()1741 EccInfoTable_t *ecc_table = NULL; in aldebaran_get_ecc_info() local1754 smu_table->ecc_table, in aldebaran_get_ecc_info()1761 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in aldebaran_get_ecc_info()1767 ecc_table->EccInfo[i].ce_count_lo_chip; in aldebaran_get_ecc_info()1769 ecc_table->EccInfo[i].ce_count_hi_chip; in aldebaran_get_ecc_info()1771 ecc_table->EccInfo[i].mca_umc_status; in aldebaran_get_ecc_info()1773 ecc_table->EccInfo[i].mca_umc_addr; in aldebaran_get_ecc_info()1779 ecc_table->EccInfo_V2[i].ce_count_lo_chip; in aldebaran_get_ecc_info()[all …]
517 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in smu_v13_0_0_tables_init()518 if (!smu_table->ecc_table) in smu_v13_0_0_tables_init()2970 EccInfoTable_t *ecc_table = NULL; in smu_v13_0_0_get_ecc_info() local2982 smu_table->ecc_table, in smu_v13_0_0_get_ecc_info()2989 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in smu_v13_0_0_get_ecc_info()2991 for (i = 0; i < ARRAY_SIZE(ecc_table->EccInfo); i++) { in smu_v13_0_0_get_ecc_info()2994 ecc_table->EccInfo[i].ce_count_lo_chip; in smu_v13_0_0_get_ecc_info()2996 ecc_table->EccInfo[i].ce_count_hi_chip; in smu_v13_0_0_get_ecc_info()2998 ecc_table->EccInfo[i].mca_umc_status; in smu_v13_0_0_get_ecc_info()3000 ecc_table->EccInfo[i].mca_umc_addr; in smu_v13_0_0_get_ecc_info()
526 kfree(smu_table->ecc_table); in smu_v13_0_fini_smc_tables()529 smu_table->ecc_table = NULL; in smu_v13_0_fini_smc_tables()
185 static unsigned int ecc_table[16] = { variable211 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()
573 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in sienna_cichlid_tables_init()574 if (!smu_table->ecc_table) in sienna_cichlid_tables_init()585 kfree(smu_table->ecc_table); in sienna_cichlid_tables_init()2806 EccInfoTable_t *ecc_table = NULL; in sienna_cichlid_get_ecc_info() local2818 smu_table->ecc_table, in sienna_cichlid_get_ecc_info()2825 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in sienna_cichlid_get_ecc_info()2830 ecc_table->EccInfo[i].ce_count_lo_chip; in sienna_cichlid_get_ecc_info()2832 ecc_table->EccInfo[i].ce_count_hi_chip; in sienna_cichlid_get_ecc_info()2834 ecc_table->EccInfo[i].mca_umc_status; in sienna_cichlid_get_ecc_info()2836 ecc_table->EccInfo[i].mca_umc_addr; in sienna_cichlid_get_ecc_info()
447 kfree(smu_table->ecc_table); in smu_v11_0_fini_smc_tables()451 smu_table->ecc_table = NULL; in smu_v11_0_fini_smc_tables()
482 kfree(smu_table->ecc_table); in smu_v15_0_fini_smc_tables()485 smu_table->ecc_table = NULL; in smu_v15_0_fini_smc_tables()
512 kfree(smu_table->ecc_table); in smu_v14_0_fini_smc_tables()515 smu_table->ecc_table = NULL; in smu_v14_0_fini_smc_tables()
415 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in smu_v14_0_2_tables_init()416 if (!smu_table->ecc_table) in smu_v14_0_2_tables_init()
397 void *ecc_table; member