Home
last modified time | relevance | path

Searched refs:diff0 (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/mtd/nand/raw/
Ds3c2410.c512 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
517 diff0 = read_ecc[0] ^ calc_ecc[0]; in s3c2410_nand_correct_data()
523 diff0, diff1, diff2); in s3c2410_nand_correct_data()
525 if (diff0 == 0 && diff1 == 0 && diff2 == 0) in s3c2410_nand_correct_data()
539 if (((diff0 ^ (diff0 >> 1)) & 0x55) == 0x55 && in s3c2410_nand_correct_data()
555 ((diff0 >> 4) & 0x08) | in s3c2410_nand_correct_data()
556 ((diff0 >> 3) & 0x04) | in s3c2410_nand_correct_data()
557 ((diff0 >> 2) & 0x02) | in s3c2410_nand_correct_data()
558 ((diff0 >> 1) & 0x01); in s3c2410_nand_correct_data()
571 diff0 |= (diff1 << 8); in s3c2410_nand_correct_data()
[all …]
/linux-5.19.10/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c1356 u64 diff0, diff1; in megasas_get_best_arm_pd() local
1389 diff0 = ABS_DIFF(block, lbInfo->last_accessed_block[pd0]); in megasas_get_best_arm_pd()
1391 bestArm = (diff0 <= diff1 ? arm : arm ^ 1); in megasas_get_best_arm_pd()