Home
last modified time | relevance | path

Searched full:ecc_table (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/edac/
H A Dfsl_ddr_edac.c184 static unsigned int ecc_table[16] = { variable
210 mask_high = ecc_table[i * 2]; in calculate_ecc()
211 mask_low = ecc_table[i * 2 + 1]; in calculate_ecc()
238 * ecc_table depending on if 'bit' is in the upper or lower half of in syndrome_from_bit()
242 syndrome |= ((ecc_table[i] >> (bit % 32)) & 1) << (i / 2); in syndrome_from_bit()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_0_ppt.c518 smu_table->ecc_table = kzalloc(tables[SMU_TABLE_ECCINFO].size, GFP_KERNEL); in smu_v13_0_0_tables_init()
519 if (!smu_table->ecc_table) in smu_v13_0_0_tables_init()
2998 EccInfoTable_t *ecc_table = NULL; in smu_v13_0_0_get_ecc_info() local
3010 smu_table->ecc_table, in smu_v13_0_0_get_ecc_info()
3017 ecc_table = (EccInfoTable_t *)smu_table->ecc_table; in smu_v13_0_0_get_ecc_info()
3019 for (i = 0; i < ARRAY_SIZE(ecc_table->EccInfo); i++) { in smu_v13_0_0_get_ecc_info()
3022 ecc_table->EccInfo[i].ce_count_lo_chip; in smu_v13_0_0_get_ecc_info()
3024 ecc_table->EccInfo[i].ce_count_hi_chip; in smu_v13_0_0_get_ecc_info()
3026 ecc_table->EccInfo[i].mca_umc_status; in smu_v13_0_0_get_ecc_info()
3028 ecc_table->EccInfo[i].mca_umc_addr; in smu_v13_0_0_get_ecc_info()