Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ntfs3/
Dupcase.c40 int diff2; in ntfs_cmp_names() local
59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) - in ntfs_cmp_names()
61 if (diff2) in ntfs_cmp_names()
62 return diff2; in ntfs_cmp_names()
65 diff2 = l1 - l2; in ntfs_cmp_names()
66 return diff2 ? diff2 : diff1; in ntfs_cmp_names()
78 int diff2; in ntfs_cmp_names_cpu() local
96 diff2 = upcase_unicode_char(upcase, *s1) - in ntfs_cmp_names_cpu()
98 if (diff2) in ntfs_cmp_names_cpu()
99 return diff2; in ntfs_cmp_names_cpu()
[all …]
Dindex.c677 int diff2; in hdr_find_e() local
708 diff2 = (*cmp)(key, key_len, e + 1, e_key_len, ctx); in hdr_find_e()
709 if (diff2 > 0) { in hdr_find_e()
721 } else if (diff2 < 0) { in hdr_find_e()
/linux-6.1.9/drivers/mtd/nand/raw/
Ds3c2410.c512 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
519 diff2 = read_ecc[2] ^ calc_ecc[2]; in s3c2410_nand_correct_data()
523 diff0, diff1, diff2); in s3c2410_nand_correct_data()
525 if (diff0 == 0 && diff1 == 0 && diff2 == 0) in s3c2410_nand_correct_data()
541 ((diff2 ^ (diff2 >> 1)) & 0x55) == 0x55) { in s3c2410_nand_correct_data()
544 bit = ((diff2 >> 3) & 1) | in s3c2410_nand_correct_data()
545 ((diff2 >> 4) & 2) | in s3c2410_nand_correct_data()
546 ((diff2 >> 5) & 4); in s3c2410_nand_correct_data()
550 byte = ((diff2 << 7) & 0x100) | in s3c2410_nand_correct_data()
572 diff0 |= (diff2 << 16); in s3c2410_nand_correct_data()
/linux-6.1.9/drivers/video/fbdev/aty/
Datyfb_base.c2479 int diff1, diff2; in aty_init() local
2481 diff2 = 510 * 29 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2484 if (diff2 < 0) in aty_init()
2485 diff2 = -diff2; in aty_init()
2486 if (diff2 < diff1) { in aty_init()
/linux-6.1.9/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()