Home
last modified time | relevance | path

Searched refs:diff1 (Results 1 – 4 of 4) sorted by relevance

/drivers/mtd/nand/raw/
Ds3c2410.c511 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
517 diff1 = read_ecc[1] ^ calc_ecc[1]; in s3c2410_nand_correct_data()
522 diff0, diff1, diff2); in s3c2410_nand_correct_data()
524 if (diff0 == 0 && diff1 == 0 && diff2 == 0) in s3c2410_nand_correct_data()
539 ((diff1 ^ (diff1 >> 1)) & 0x55) == 0x55 && in s3c2410_nand_correct_data()
550 ((diff1 << 0) & 0x80) | in s3c2410_nand_correct_data()
551 ((diff1 << 1) & 0x40) | in s3c2410_nand_correct_data()
552 ((diff1 << 2) & 0x20) | in s3c2410_nand_correct_data()
553 ((diff1 << 3) & 0x10) | in s3c2410_nand_correct_data()
570 diff0 |= (diff1 << 8); in s3c2410_nand_correct_data()
/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c1356 u64 diff0, diff1; in megasas_get_best_arm_pd() local
1390 diff1 = ABS_DIFF(block, lbInfo->last_accessed_block[pd1]); in megasas_get_best_arm_pd()
1391 bestArm = (diff0 <= diff1 ? arm : arm ^ 1); in megasas_get_best_arm_pd()
/drivers/video/fbdev/aty/
Datyfb_base.c2468 int diff1, diff2; in aty_init() local
2469 diff1 = 510 * 14 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2471 if (diff1 < 0) in aty_init()
2472 diff1 = -diff1; in aty_init()
2475 if (diff2 < diff1) { in aty_init()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c5090 u32 msb1, msb2, val1, val2, diff1, diff2; in wlc_lcnphy_rx_signal_power() local
5105 diff1 = (power - val1); in wlc_lcnphy_rx_signal_power()
5107 if (diff1 < diff2) in wlc_lcnphy_rx_signal_power()