Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 25) sorted by relevance

/arch/x86/math-emu/
Dreg_add_sub.c44 int diff, tag, expa, expb; in FPU_add() local
58 diff = expa - expb; in FPU_add()
59 if (!diff) { in FPU_add()
60 diff = a->sigh - b->sigh; /* This works only if the ms bits in FPU_add()
62 if (!diff) { in FPU_add()
63 diff = a->sigl > b->sigl; in FPU_add()
64 if (!diff) in FPU_add()
65 diff = -(a->sigl < b->sigl); in FPU_add()
69 if (diff > 0) { in FPU_add()
73 } else if (diff < 0) { in FPU_add()
[all …]
Dreg_compare.c25 int diff, exp0, expb; in compare() local
140 diff = exp0 - expb; in compare()
141 if (diff == 0) { in compare()
142 diff = st0_ptr->sigh - b->sigh; /* Works only if ms bits are in compare()
144 if (diff == 0) { in compare()
145 diff = st0_ptr->sigl > b->sigl; in compare()
146 if (diff == 0) in compare()
147 diff = -(st0_ptr->sigl < b->sigl); in compare()
151 if (diff > 0) { in compare()
156 if (diff < 0) { in compare()
/arch/x86/mm/
Dextable.c49 long diff; in search_extable() local
52 diff = mid->insn - value; in search_extable()
53 if (diff == 0) in search_extable()
55 else if (diff < 0) in search_extable()
/arch/sh/mm/
Dextable_64.c56 long diff; in search_extable() local
59 diff = mid->insn - value; in search_extable()
60 if (diff == 0) in search_extable()
62 else if (diff < 0) in search_extable()
/arch/frv/mm/
Dextable.c25 long diff; in search_one_table() local
28 diff = mid->insn - value; in search_one_table()
29 if (diff == 0) in search_one_table()
31 else if (diff < 0) in search_one_table()
/arch/x86/boot/
Dboot.h178 u8 diff; in memcmp() local
180 : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp()
181 return diff; in memcmp()
186 u8 diff; in memcmp_fs() local
188 : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_fs()
189 return diff; in memcmp_fs()
193 u8 diff; in memcmp_gs() local
195 : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp_gs()
196 return diff; in memcmp_gs()
/arch/ia64/mm/
Dextable.c63 long diff; in search_extable() local
68 diff = mid_ip - ip; in search_extable()
69 if (diff == 0) in search_extable()
71 else if (diff < 0) in search_extable()
/arch/powerpc/boot/
Dcuboot-acadia.c51 unsigned short diff; /* smallest diff */ in get_clocks() local
132 diff = 256; /* highest possible */ in get_clocks()
145 } else if (idiff < diff) { in get_clocks()
147 diff = idiff; /* update lowest diff*/ in get_clocks()
/arch/powerpc/platforms/powermac/
Dbacklight.c87 int diff = abs(info->bl_curve[i] - value); in pmac_backlight_curve_lookup() local
88 if (diff < max) { in pmac_backlight_curve_lookup()
89 max = diff; in pmac_backlight_curve_lookup()
/arch/alpha/kernel/
Dtime.c309 long diff; in time_init() local
330 diff = cycle_freq - est_cycle_freq; in time_init()
331 if (diff < 0) in time_init()
332 diff = -diff; in time_init()
333 if ((unsigned long)diff > tolerance) { in time_init()
/arch/um/kernel/
Dum_arch.c259 unsigned long avail, diff; in linux_main() local
304 diff = UML_ROUND_UP(brk_start) - UML_ROUND_UP(&_end); in linux_main()
305 if (diff > 1024 * 1024) { in linux_main()
307 "exec-shield gap\n", diff); in linux_main()
/arch/x86/kernel/cpu/cpufreq/
Dcpufreq-nforce2.c173 int diff; in nforce2_set_fsb() local
202 diff = tfsb - fsb; in nforce2_set_fsb()
204 if (!diff) in nforce2_set_fsb()
208 if (diff < 0) in nforce2_set_fsb()
/arch/m68k/math-emu/
Dfp_arith.c65 int diff; in fp_fadd() local
97 if ((diff = dest->exp - src->exp) > 0) in fp_fadd()
98 fp_denormalize(src, diff); in fp_fadd()
99 else if ((diff = -diff) > 0) in fp_fadd()
100 fp_denormalize(dest, diff); in fp_fadd()
/arch/arm/mach-at91/
Dclock.c502 unsigned i, div = 0, mul = 0, diff = 1 << 30; in at91_pll_calc() local
537 if (diff > diff1) { in at91_pll_calc()
538 diff = diff1; in at91_pll_calc()
541 if (diff == 0) in at91_pll_calc()
545 if (i == 256 && diff > (out_freq >> 5)) in at91_pll_calc()
/arch/parisc/math-emu/
DREADME6 make their 'diff' job easier if our code is relatively unmodified.
/arch/x86/vdso/
DMakefile106 then diff -u $(@D)/.tmp_$(@F) $H; \
108 diff -u - $H; fi &&) : ;\
/arch/powerpc/kernel/
Dtime.c395 int diff; in __delay() local
401 diff = get_rtcl() - start; in __delay()
402 if (diff < 0) in __delay()
403 diff += 1000000000; in __delay()
404 } while (diff < loops); in __delay()
/arch/um/drivers/
Dmconsole_kern.c375 unsigned long long diff; in mem_config() local
396 diff = memparse(str, &ret); in mem_config()
402 diff /= PAGE_SIZE; in mem_config()
405 for (i = 0; i < diff; i++) { in mem_config()
/arch/ia64/kernel/
Dsmpboot.c301 long diff; /* difference between midpoint and master's timestamp */ in ia64_sync_itc() member
345 t[i].diff = delta; in ia64_sync_itc()
355 t[i].rt, t[i].master, t[i].diff, t[i].lat); in ia64_sync_itc()
/arch/sparc/kernel/
Dsbus.c203 unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0; in sysio_imap_to_iclr() local
204 return imap + diff; in sysio_imap_to_iclr()
Dprom_irqtrans.c643 unsigned long diff = SYSIO_ICLR_UNUSED0 - SYSIO_IMAP_SLOT0; in sysio_imap_to_iclr() local
644 return imap + diff; in sysio_imap_to_iclr()
Dsmp_64.c191 long diff; /* difference between midpoint and master's timestamp */ in smp_synchronize_tick_client() member
222 t[i].diff = delta; in smp_synchronize_tick_client()
232 t[i].rt, t[i].master, t[i].diff, t[i].lat); in smp_synchronize_tick_client()
Dldc.c253 unsigned long limit, tail, new_tail, diff; in tx_has_space_for() local
263 diff = limit - new_tail; in tx_has_space_for()
265 diff = (limit + in tx_has_space_for()
267 diff /= LDC_PACKET_SIZE; in tx_has_space_for()
270 if (diff * mss < size) in tx_has_space_for()
/arch/m68k/fpsp040/
Dround.S442 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp
443 cmpw #67,%d0 |if diff > 67 (mant + grs bits)
455 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp
456 cmpw #67,%d0 |if diff > 67 (mant + grs bits)
/arch/cris/include/arch-v32/arch/hwregs/
DMakefile164 diff . $(OFFICIAL_INCDIR)