Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ntfs3/
Dupcase.c39 int diff1 = 0; in ntfs_cmp_names() local
47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2); in ntfs_cmp_names()
48 if (diff1) { in ntfs_cmp_names()
52 return diff1; in ntfs_cmp_names()
66 return diff2 ? diff2 : diff1; in ntfs_cmp_names()
77 int diff1 = 0; in ntfs_cmp_names_cpu() local
84 diff1 = *s1 - le16_to_cpu(*s2); in ntfs_cmp_names_cpu()
85 if (diff1) { in ntfs_cmp_names_cpu()
89 return diff1; in ntfs_cmp_names_cpu()
103 return diff2 ? diff2 : diff1; in ntfs_cmp_names_cpu()
/linux-6.12.1/drivers/mtd/nand/raw/
Ds3c2410.c505 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local
511 diff1 = read_ecc[1] ^ calc_ecc[1]; 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()
533 ((diff1 ^ (diff1 >> 1)) & 0x55) == 0x55 && in s3c2410_nand_correct_data()
544 ((diff1 << 0) & 0x80) | in s3c2410_nand_correct_data()
545 ((diff1 << 1) & 0x40) | in s3c2410_nand_correct_data()
546 ((diff1 << 2) & 0x20) | in s3c2410_nand_correct_data()
547 ((diff1 << 3) & 0x10) | in s3c2410_nand_correct_data()
564 diff0 |= (diff1 << 8); in s3c2410_nand_correct_data()
/linux-6.12.1/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c1356 u64 diff0, diff1; in megasas_get_best_arm_pd() local
1390 diff1 = ABS_DIFF(block, lbInfo->last_accessed_block[pd1]); in megasas_get_best_arm_pd()
1391 bestArm = (diff0 <= diff1 ? arm : arm ^ 1); in megasas_get_best_arm_pd()
/linux-6.12.1/drivers/video/fbdev/aty/
Datyfb_base.c2476 int diff1, diff2; in aty_init() local
2477 diff1 = 510 * 14 / pll_ref_div - par->pll_limits.pll_max; in aty_init()
2479 if (diff1 < 0) in aty_init()
2480 diff1 = -diff1; 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
5105 diff1 = (power - val1); in wlc_lcnphy_rx_signal_power()
5107 if (diff1 < diff2) in wlc_lcnphy_rx_signal_power()