Home
last modified time | relevance | path

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

/arch/blackfin/include/asm/
Ddelay.h33 static inline unsigned long __to_delay(unsigned long scale) in __to_delay() argument
36 return (((scale * HZSCALE) >> 11) * (loops_per_jiffy >> 11)) >> 6; in __to_delay()
/arch/arm/mach-omap2/
Dvoltage.c84 if (!voltdm->scale) { in voltdm_scale()
104 ret = voltdm->scale(voltdm, volt); in voltdm_scale()
246 voltdm->scale = omap_vp_forceupdate_scale; in omap_change_voltscale_method()
249 voltdm->scale = omap_vc_bypass_scale; in omap_change_voltscale_method()
290 voltdm->scale = omap_vc_bypass_scale; in omap_voltage_late_init()
295 voltdm->scale = omap_vp_forceupdate_scale; in omap_voltage_late_init()
Dvoltage.h92 int (*scale) (struct voltagedomain *voltdm, member
/arch/powerpc/kernel/
Dvecemu.c154 static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) in ctsxs() argument
162 exp = exp - 127 + scale; in ctsxs()
167 if (x + (scale << 23) != 0xcf000000) in ctsxs()
176 static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) in ctuxs() argument
185 exp = exp - 127 + scale; in ctuxs()
Dtime.c885 u64 scale; in time_init() local
917 scale = res.result_low; in time_init()
919 scale = (scale >> 1) | (res.result_high << 63); in time_init()
922 tb_to_ns_scale = scale; in time_init()
/arch/mips/alchemy/common/
Dclock.c354 int scale, int maxdiv, unsigned long *rv) in alchemy_calc_div() argument
362 if (scale == 2) { /* only div-by-multiple-of-2 possible */ in alchemy_calc_div()
367 div2 = (div1 / scale) - 1; /* value to write to register */ in alchemy_calc_div()
374 div1 = ((div2 + 1) * scale); in alchemy_calc_div()
381 int scale, int maxdiv) in alchemy_clk_fgcs_detr() argument
415 tdv = alchemy_calc_div(rate, pr, scale, maxdiv, NULL); in alchemy_clk_fgcs_detr()
436 for (j = (maxdiv == 4) ? 1 : scale; j <= maxdiv; j += scale) { in alchemy_clk_fgcs_detr()
442 tdv = alchemy_calc_div(rate, pr, scale, maxdiv, NULL); in alchemy_clk_fgcs_detr()
688 int scale, maxdiv; in alchemy_clk_fgv2_detr() local
691 scale = 1; in alchemy_clk_fgv2_detr()
[all …]
/arch/m68k/math-emu/
Dfp_arith.c658 int scale, oldround; in fp_fscale() local
685 scale = fp_conv_ext2long(src); in fp_fscale()
689 scale += dest->exp; in fp_fscale()
691 if (scale >= 0x7fff) { in fp_fscale()
693 } else if (scale <= 0) { in fp_fscale()
695 fp_denormalize(dest, -scale); in fp_fscale()
697 dest->exp = scale; in fp_fscale()
Dfp_decode.h157 move.w %d2,%d1 | scale factor
/arch/x86/kernel/
Dapb_timer.c377 int i, scale; in apbt_quick_calibrate() local
419 scale = (int)div_u64((t2 - t1), loop >> shift); in apbt_quick_calibrate()
420 khz = (scale * (apbt_freq / 1000)) >> shift; in apbt_quick_calibrate()
/arch/m68k/fpsp040/
DMakefile8 smovecr.o srem_mod.o scale.o \
Dscale.S2 | scale.sa 3.3 7/30/91
15 | Output: The function returns scale(X,Y) to fp0.
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/x86/kernel/cpu/
Dperf_event_intel_rapl.c399 EVENT_ATTR_STR(energy-cores.scale, rapl_cores_scale, "2.3283064365386962890625e-10");
400 EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
401 EVENT_ATTR_STR(energy-ram.scale, rapl_ram_scale, "2.3283064365386962890625e-10");
402 EVENT_ATTR_STR(energy-gpu.scale, rapl_gpu_scale, "2.3283064365386962890625e-10");
Dperf_event_intel_uncore_snb.c153 INTEL_UNCORE_EVENT_DESC(data_reads.scale, "6.103515625e-5"),
157 INTEL_UNCORE_EVENT_DESC(data_writes.scale, "6.103515625e-5"),
/arch/sparc/kernel/
Dvisemul.c479 unsigned long rs1, rs2, gsr, scale, rd_val; in pformat() local
482 scale = (gsr >> 3) & (opf == FPACK16_OPF ? 0xf : 0x1f); in pformat()
492 int scaled = src << scale; in pformat()
515 s64 scaled = src << scale; in pformat()
538 s64 scaled = src << scale; in pformat()
/arch/m68k/ifpsp060/src/
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 #
11642 sub.l %d0,%d1 # add scale factor
12025 # scale_to_zero_src() - scale src exponent to zero #
12043 # sgl/dbl, must scale exponent and perform an "fmove". Check to see #
12284 sub.l %d0,%d1 # add scale factor
[all …]
Disp.S1358 andi.l &0x3,%d2 # extract scale value
1360 lsl.l %d2,%d1 # shift index by scale
Dpfpsp.S4974 andi.l &0x3,%d1 # extract scale value
4976 lsl.l %d1,%d0 # shift index by scale
/arch/x86/crypto/
Dcrct10dif-pcl-asm_64.S74 # adjust the 16-bit initial_crc value, scale it to 32 bits
/arch/x86/math-emu/
Dfpu_trig.c1489 long scale; in fscale() local
1516 scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl; in fscale()
1517 scale += exponent16(st0_ptr); in fscale()
1519 setexponent16(st0_ptr, scale); in fscale()
/arch/arm/mach-w90x900/
Ddev.c446 .scale = 0x04000400,
/arch/x86/include/asm/
Dkvm_host.h759 void (*set_tsc_khz)(struct kvm_vcpu *vcpu, u32 user_tsc_khz, bool scale);
/arch/x86/kvm/
Demulate.c1120 int index_reg, base_reg, scale; in decode_modrm() local
1213 scale = sib >> 6; in decode_modrm()
1222 modrm_ea += reg_read(ctxt, index_reg) << scale; in decode_modrm()
Dsvm.c995 static void svm_set_tsc_khz(struct kvm_vcpu *vcpu, u32 user_tsc_khz, bool scale) in svm_set_tsc_khz() argument
1002 if (!scale) { in svm_set_tsc_khz()
Dvmx.c2185 static void vmx_set_tsc_khz(struct kvm_vcpu *vcpu, u32 user_tsc_khz, bool scale) in vmx_set_tsc_khz() argument
2187 if (!scale) in vmx_set_tsc_khz()