Home
last modified time | relevance | path

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

/linux-6.12.1/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.c724 int diff2; in hdr_find_e() local
762 diff2 = (*cmp)(key, key_len, e + 1, e_key_len, ctx); in hdr_find_e()
763 if (diff2 > 0) { in hdr_find_e()
774 } else if (diff2 < 0) { in hdr_find_e()
/linux-6.12.1/drivers/mtd/nand/raw/
Ds3c2410.c505 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
512 diff2 = read_ecc[2] ^ calc_ecc[2]; in s3c2410_nand_correct_data()
516 diff0, diff1, diff2); in s3c2410_nand_correct_data()
518 if (diff0 == 0 && diff1 == 0 && diff2 == 0) in s3c2410_nand_correct_data()
534 ((diff2 ^ (diff2 >> 1)) & 0x55) == 0x55) { in s3c2410_nand_correct_data()
537 bit = ((diff2 >> 3) & 1) | in s3c2410_nand_correct_data()
538 ((diff2 >> 4) & 2) | in s3c2410_nand_correct_data()
539 ((diff2 >> 5) & 4); in s3c2410_nand_correct_data()
543 byte = ((diff2 << 7) & 0x100) | in s3c2410_nand_correct_data()
565 diff0 |= (diff2 << 16); in s3c2410_nand_correct_data()
/linux-6.12.1/drivers/video/fbdev/aty/
Datyfb_base.c2476 int diff1, diff2; in aty_init() local
2478 diff2 = 510 * 29 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2481 if (diff2 < 0) in aty_init()
2482 diff2 = -diff2; in aty_init()
2483 if (diff2 < diff1) { in aty_init()
/linux-6.12.1/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()