Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/nand/raw/
Ds3c2410.c511 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
518 diff2 = read_ecc[2] ^ calc_ecc[2]; 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()
540 ((diff2 ^ (diff2 >> 1)) & 0x55) == 0x55) { in s3c2410_nand_correct_data()
543 bit = ((diff2 >> 3) & 1) | in s3c2410_nand_correct_data()
544 ((diff2 >> 4) & 2) | in s3c2410_nand_correct_data()
545 ((diff2 >> 5) & 4); in s3c2410_nand_correct_data()
549 byte = ((diff2 << 7) & 0x100) | in s3c2410_nand_correct_data()
571 diff0 |= (diff2 << 16); in s3c2410_nand_correct_data()
/Linux-v5.10/drivers/video/fbdev/aty/
Datyfb_base.c2468 int diff1, diff2; in aty_init() local
2470 diff2 = 510 * 29 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2473 if (diff2 < 0) in aty_init()
2474 diff2 = -diff2; in aty_init()
2475 if (diff2 < diff1) { in aty_init()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c5090 u32 msb1, msb2, val1, val2, diff1, diff2; in wlc_lcnphy_rx_signal_power() local
5106 diff2 = (val2 - power); in wlc_lcnphy_rx_signal_power()
5107 if (diff1 < diff2) in wlc_lcnphy_rx_signal_power()