Searched refs:flip_bits (Results 1 – 5 of 5) sorted by relevance
64 struct umc_flip_bits *flip_bits) in __get_nps_pa_flip_bits() argument69 flip_bits->flip_bits_in_pa[0] = UMC_V12_0_PA_C2_BIT; in __get_nps_pa_flip_bits()70 flip_bits->flip_bits_in_pa[1] = UMC_V12_0_PA_C3_BIT; in __get_nps_pa_flip_bits()71 flip_bits->flip_bits_in_pa[2] = UMC_V12_0_PA_C4_BIT; in __get_nps_pa_flip_bits()72 flip_bits->flip_bits_in_pa[3] = UMC_V12_0_PA_R13_BIT; in __get_nps_pa_flip_bits()73 flip_bits->flip_row_bit = 13; in __get_nps_pa_flip_bits()74 flip_bits->bit_num = 4; in __get_nps_pa_flip_bits()75 flip_bits->r13_in_pa = UMC_V12_0_PA_R13_BIT; in __get_nps_pa_flip_bits()78 flip_bits->flip_bits_in_pa[0] = UMC_V12_0_PA_CH5_BIT; in __get_nps_pa_flip_bits()79 flip_bits->flip_bits_in_pa[1] = UMC_V12_0_PA_C2_BIT; in __get_nps_pa_flip_bits()[all …]
181 struct amdgpu_umc_flip_bits *flip_bits = &(adev->umc.flip_bits); in umc_v12_0_get_retire_flip_bits() local187 flip_bits->flip_bits_in_pa[0] = UMC_V12_0_PA_C2_BIT; in umc_v12_0_get_retire_flip_bits()188 flip_bits->flip_bits_in_pa[1] = UMC_V12_0_PA_C3_BIT; in umc_v12_0_get_retire_flip_bits()189 flip_bits->flip_bits_in_pa[2] = UMC_V12_0_PA_C4_BIT; in umc_v12_0_get_retire_flip_bits()190 flip_bits->flip_bits_in_pa[3] = UMC_V12_0_PA_R13_BIT; in umc_v12_0_get_retire_flip_bits()191 flip_bits->flip_row_bit = 13; in umc_v12_0_get_retire_flip_bits()192 flip_bits->bit_num = 4; in umc_v12_0_get_retire_flip_bits()193 flip_bits->r13_in_pa = UMC_V12_0_PA_R13_BIT; in umc_v12_0_get_retire_flip_bits()196 flip_bits->flip_bits_in_pa[0] = UMC_V12_0_PA_CH5_BIT; in umc_v12_0_get_retire_flip_bits()197 flip_bits->flip_bits_in_pa[1] = UMC_V12_0_PA_C2_BIT; in umc_v12_0_get_retire_flip_bits()[all …]
149 struct amdgpu_umc_flip_bits flip_bits; member
261 int flip_bits = nilfs->ns_sbwcount & 0x0FL; in nilfs_sb_will_flip() local263 return (flip_bits != 0x08 && flip_bits != 0x0F); in nilfs_sb_will_flip()
1192 int flip_bits = 0, i; in erased_sector_bitflips() local1195 flip_bits += hweight8(~data[i]); in erased_sector_bitflips()1196 if (flip_bits > info->nand.ecc.strength) in erased_sector_bitflips()1201 flip_bits += hweight8(~oob[i]); in erased_sector_bitflips()1202 if (flip_bits > info->nand.ecc.strength) in erased_sector_bitflips()1210 if (flip_bits) { in erased_sector_bitflips()1215 return flip_bits; in erased_sector_bitflips()