Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/drivers/video/fbdev/aty/
Datyfb_base.c2438 int diff1, diff2; in aty_init() local
2440 diff2 = 510 * 29 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2443 if (diff2 < 0) in aty_init()
2444 diff2 = -diff2; in aty_init()
2445 if (diff2 < diff1) { in aty_init()
/Linux-v5.4/drivers/net/hyperv/
Dnetvsc_drv.c1054 struct ethtool_link_ksettings diff2 = {}; in netvsc_validate_ethtool_ss_cmd() local
1062 diff2.base.port = PORT_OTHER; in netvsc_validate_ethtool_ss_cmd()
1064 return !memcmp(&diff1, &diff2, sizeof(diff1)); in netvsc_validate_ethtool_ss_cmd()
/Linux-v5.4/drivers/net/
Dvirtio_net.c2174 struct ethtool_link_ksettings diff2 = {}; in virtnet_validate_ethtool_cmd() local
2180 diff2.base.port = PORT_OTHER; in virtnet_validate_ethtool_cmd()
2186 return !memcmp(&diff1.base, &diff2.base, sizeof(diff1.base)) && in virtnet_validate_ethtool_cmd()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c5161 u32 msb1, msb2, val1, val2, diff1, diff2; in wlc_lcnphy_rx_signal_power() local
5177 diff2 = (val2 - power); in wlc_lcnphy_rx_signal_power()
5178 if (diff1 < diff2) in wlc_lcnphy_rx_signal_power()