Lines Matching refs:a
189 int i, j, a; in nand_init_ecc() local
196 a = 0; in nand_init_ecc()
200 a ^= 0x04; in nand_init_ecc()
202 a ^= 0x10; in nand_init_ecc()
204 a ^= 0x40; in nand_init_ecc()
207 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc()
213 int i, j, a; in nand_compute_ecc() local
226 a = (bits[3] << 6) + (bits[2] << 4) + (bits[1] << 2) + bits[0]; in nand_compute_ecc()
227 ecc[0] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc()
229 a = (bits[7] << 6) + (bits[6] << 4) + (bits[5] << 2) + bits[4]; in nand_compute_ecc()
230 ecc[1] = ~(a ^ (a<<1) ^ (parity[par] ? 0xaa : 0)); in nand_compute_ecc()