Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Ds3c2410.c483 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
490 diff2 = read_ecc[2] ^ calc_ecc[2]; in s3c2410_nand_correct_data()
494 diff0, diff1, diff2); in s3c2410_nand_correct_data()
496 if (diff0 == 0 && diff1 == 0 && diff2 == 0) in s3c2410_nand_correct_data()
512 ((diff2 ^ (diff2 >> 1)) & 0x55) == 0x55) { in s3c2410_nand_correct_data()
515 bit = ((diff2 >> 3) & 1) | in s3c2410_nand_correct_data()
516 ((diff2 >> 4) & 2) | in s3c2410_nand_correct_data()
517 ((diff2 >> 5) & 4); in s3c2410_nand_correct_data()
521 byte = ((diff2 << 7) & 0x100) | in s3c2410_nand_correct_data()
543 diff0 |= (diff2 << 16); in s3c2410_nand_correct_data()
/drivers/video/fbdev/aty/
Datyfb_base.c2460 int diff1, diff2; in aty_init() local
2462 diff2 = 510 * 29 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2465 if (diff2 < 0) in aty_init()
2466 diff2 = -diff2; in aty_init()
2467 if (diff2 < diff1) { in aty_init()
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c5186 u32 msb1, msb2, val1, val2, diff1, diff2; in wlc_lcnphy_rx_signal_power() local
5202 diff2 = (val2 - power); in wlc_lcnphy_rx_signal_power()
5203 if (diff1 < diff2) in wlc_lcnphy_rx_signal_power()