Searched refs:scale (Results 1 - 25 of 28) sorted by relevance

12

/arch/blackfin/include/asm/
H A Ddelay.h33 static inline unsigned long __to_delay(unsigned long scale) argument
36 return (((scale * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6;
/arch/arm/mach-bcmring/csp/tmr/
H A DtmrHw.c120 uint32_t scale = 0; local
126 scale = tmrHw_LOW_1_RESOLUTION_COUNT;
129 scale = tmrHw_LOW_16_RESOLUTION_COUNT;
132 scale = tmrHw_LOW_256_RESOLUTION_COUNT;
137 count = msec * scale;
145 scale = tmrHw_HIGH_1_RESOLUTION_COUNT;
148 scale = tmrHw_HIGH_16_RESOLUTION_COUNT;
151 scale = tmrHw_HIGH_256_RESOLUTION_COUNT;
156 count = msec * scale;
161 return count / scale;
275 uint32_t scale = 0; local
[all...]
/arch/arm/mach-w90x900/include/mach/
H A Dfb.h67 unsigned int scale; member in struct:nuc900fb_display
/arch/arm/mach-omap2/
H A Dvoltage.c66 * voltdm_scale() - API to scale voltage of a particular voltage domain.
83 if (!voltdm->scale) {
84 pr_err("%s: No voltage scale API registered for vdd_%s\n",
89 ret = voltdm->scale(voltdm, target_volt);
231 voltdm->scale = omap_vp_forceupdate_scale;
234 voltdm->scale = omap_vc_bypass_scale;
275 voltdm->scale = omap_vc_bypass_scale;
280 voltdm->scale = omap_vp_forceupdate_scale;
H A Dvoltage.h61 * @scale: function used to scale the voltage of the voltagedomain
86 int (*scale) (struct voltagedomain *voltdm, member in struct:voltagedomain
/arch/m68k/fpsp040/
H A DMakefile8 smovecr.o srem_mod.o scale.o \
H A Dscale.S2 | scale.sa 3.3 7/30/91
15 | Output: The function returns scale(X,Y) to fp0.
H A Dgen_except.S245 | Only scosh, setox, ssinh, stwotox, and scale can set overflow in
248 | Stwotox, setox, and scale can set underflow in this manner.
/arch/m68k/math-emu/
H A Dfp_arith.c658 int scale, oldround; local
685 scale = fp_conv_ext2long(src);
689 scale += dest->exp;
691 if (scale >= 0x7fff) {
693 } else if (scale <= 0) {
695 fp_denormalize(dest, -scale);
697 dest->exp = scale;
H A Dfp_decode.h157 move.w %d2,%d1 | scale factor
/arch/powerpc/kernel/
H A Dvecemu.c154 static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) argument
162 exp = exp - 127 + scale;
167 if (x + (scale << 23) != 0xcf000000)
176 static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) argument
185 exp = exp - 127 + scale;
H A Dtime.c838 u64 scale; local
860 * Compute scale factor for sched_clock.
866 * giving us the scale factor and shift count to use in
870 scale = res.result_low;
872 scale = (scale >> 1) | (res.result_high << 63);
875 tb_to_ns_scale = scale;
/arch/x86/kernel/
H A Dapb_timer.c383 int i, scale; local
425 scale = (int)div_u64((t2 - t1), loop >> shift);
426 khz = (scale * (apbt_freq / 1000)) >> shift;
H A Dtsc.c610 unsigned long flags, *scale; local
615 scale = &per_cpu(cyc2ns, cpu);
622 *scale = (NSEC_PER_MSEC << CYC2NS_SCALE_FACTOR)/cpu_khz;
623 *offset = ns_now - mult_frac(tsc_now, *scale,
979 * all the scale factors for all CPUs, assuming the same
/arch/sparc/kernel/
H A Dvisemul.c474 unsigned long rs1, rs2, gsr, scale, rd_val; local
477 scale = (gsr >> 3) & (opf == FPACK16_OPF ? 0xf : 0x1f);
487 int scaled = src << scale;
510 s64 scaled = src << scale;
533 s64 scaled = src << scale;
/arch/x86/math-emu/
H A Dfpu_trig.c1489 long scale; local
1516 scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl;
1517 scale += exponent16(st0_ptr);
1519 setexponent16(st0_ptr, scale);
/arch/m68k/ifpsp060/src/
H A Dfpsp.S9573 # fp0 = scale(X,Y) #
10166 # Entry point for scale w/ extended denorm. The function does
10269 # - t_ovfl_sc() is provided for scale() which only sets #
11528 # scale_to_zero_src() - scale src exponent to zero #
11529 # scale_to_zero_dst() - scale dst exponent to zero #
11547 # For norms/denorms, scale the exponents such that a multiply #
11551 # and return the EXOP if exceptions are enabled. Else, scale the #
11596 bsr.l scale_to_zero_src # scale src exponent
11597 mov.l %d0,-(%sp) # save scale factor 1
11599 bsr.l scale_to_zero_dst # scale ds
[all...]
H A Disp.S1358 andi.l &0x3,%d2 # extract scale value
1360 lsl.l %d2,%d1 # shift index by scale
1473 rol.w &0x7,%d2 # rotate scale value into place
1474 andi.l &0x3,%d2 # extract scale value
1476 lsl.l %d2,%d1 # shift index by scale
/arch/arm/mach-w90x900/
H A Ddev.c445 .scale = 0x04000400,
/arch/sparc/lib/
H A Dudiv.S50 ! Ready to divide. Compute size of quotient; scale comparand.
H A Durem.S48 ! Ready to divide. Compute size of quotient; scale comparand.
H A Drem.S64 ! Ready to divide. Compute size of quotient; scale comparand.
H A Dsdiv.S64 ! Ready to divide. Compute size of quotient; scale comparand.
/arch/x86/include/asm/
H A Dkvm_host.h671 void (*set_tsc_khz)(struct kvm_vcpu *vcpu, u32 user_tsc_khz, bool scale);
/arch/x86/kvm/
H A Demulate.c895 int index_reg = 0, base_reg = 0, scale; local
985 scale = sib >> 6;
992 modrm_ea += ctxt->regs[index_reg] << scale;

Completed in 1799 milliseconds

12