Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c261 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() local
1754 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 …]
H A Dsmu_v13_0_0_ppt.c517 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() local
2982 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()
H A Dsmu_v13_0.c526 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()
/linux/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/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsienna_cichlid_ppt.c573 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() local
2818 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()
H A Dsmu_v11_0.c447 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()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu15/
H A Dsmu_v15_0.c482 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()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c512 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()
H A Dsmu_v14_0_2_ppt.c415 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()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h397 void *ecc_table; member