Home
last modified time | relevance | path

Searched refs:diff2 (Results 1 – 3 of 3) sorted by relevance

/drivers/mtd/nand/
Ds3c2410.c457 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
464 diff2 = read_ecc[2] ^ calc_ecc[2]; in s3c2410_nand_correct_data()
470 diff0, diff1, diff2); in s3c2410_nand_correct_data()
472 if (diff0 == 0 && diff1 == 0 && diff2 == 0) in s3c2410_nand_correct_data()
488 ((diff2 ^ (diff2 >> 1)) & 0x55) == 0x55) { in s3c2410_nand_correct_data()
491 bit = ((diff2 >> 3) & 1) | in s3c2410_nand_correct_data()
492 ((diff2 >> 4) & 2) | in s3c2410_nand_correct_data()
493 ((diff2 >> 5) & 4); in s3c2410_nand_correct_data()
497 byte = ((diff2 << 7) & 0x100) | in s3c2410_nand_correct_data()
519 diff0 |= (diff2 << 16); in s3c2410_nand_correct_data()
/drivers/video/aty/
Datyfb_base.c2467 int diff1, diff2; in aty_init() local
2469 diff2 = 510 * 29 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2472 if (diff2 < 0) in aty_init()
2473 diff2 = -diff2; in aty_init()
2474 if (diff2 < diff1) { in aty_init()
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c5094 u32 msb1, msb2, val1, val2, diff1, diff2; in wlc_lcnphy_rx_signal_power() local
5110 diff2 = (val2 - power); in wlc_lcnphy_rx_signal_power()
5111 if (diff1 < diff2) in wlc_lcnphy_rx_signal_power()