Home
last modified time | relevance | path

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

12

/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()
110 ret = voltdm->scale(voltdm, volt); in voltdm_scale()
265 voltdm->scale = omap_vc_bypass_scale; in omap_voltage_late_init()
270 voltdm->scale = omap_vp_forceupdate_scale; in omap_voltage_late_init()
Dvoltage.h86 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.c1011 u64 scale; in time_init() local
1043 scale = res.result_low; in time_init()
1045 scale = (scale >> 1) | (res.result_high << 63); in time_init()
1048 tb_to_ns_scale = scale; in time_init()
/arch/mips/alchemy/common/
Dclock.c369 int scale, int maxdiv, unsigned long *rv) in alchemy_calc_div() argument
377 if (scale == 2) { /* only div-by-multiple-of-2 possible */ in alchemy_calc_div()
382 div2 = (div1 / scale) - 1; /* value to write to register */ in alchemy_calc_div()
389 div1 = ((div2 + 1) * scale); in alchemy_calc_div()
395 int scale, int maxdiv) in alchemy_clk_fgcs_detr() argument
429 tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, NULL); in alchemy_clk_fgcs_detr()
450 for (j = (maxdiv == 4) ? 1 : scale; j <= maxdiv; j += scale) { in alchemy_clk_fgcs_detr()
456 tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, in alchemy_clk_fgcs_detr()
705 int scale, maxdiv; in alchemy_clk_fgv2_detr() local
708 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.c356 int i, scale; in apbt_quick_calibrate() local
398 scale = (int)div_u64((t2 - t1), loop >> shift); in apbt_quick_calibrate()
399 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/events/intel/
Drapl.c459 RAPL_EVENT_ATTR_STR(energy-cores.scale, rapl_cores_scale, "2.3283064365386962890625e-10");
460 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
461 RAPL_EVENT_ATTR_STR(energy-ram.scale, rapl_ram_scale, "2.3283064365386962890625e-10");
462 RAPL_EVENT_ATTR_STR(energy-gpu.scale, rapl_gpu_scale, "2.3283064365386962890625e-10");
463 RAPL_EVENT_ATTR_STR(energy-psys.scale, rapl_psys_scale, "2.3283064365386962890625e-10");
Dcqm.c1440 EVENT_ATTR_STR(llc_occupancy.scale, intel_cqm_llc_scale, NULL);
1446 EVENT_ATTR_STR(total_bytes.scale, intel_cqm_total_bytes_scale, "1e-6");
1451 EVENT_ATTR_STR(local_bytes.scale, intel_cqm_local_bytes_scale, "1e-6");
1680 char *str = NULL, scale[20]; in intel_cqm_init() local
1728 snprintf(scale, sizeof(scale), "%u", cqm_l3_scale); in intel_cqm_init()
1729 str = kstrdup(scale, GFP_KERNEL); in intel_cqm_init()
Duncore_snb.c265 INTEL_UNCORE_EVENT_DESC(data_reads.scale, "6.103515625e-5"),
269 INTEL_UNCORE_EVENT_DESC(data_writes.scale, "6.103515625e-5"),
Dcore.c267 EVENT_ATTR_STR_HT(topdown-total-slots.scale, td_total_slots_scale, "4", "2");
277 EVENT_ATTR_STR_HT(topdown-recovery-bubbles.scale, td_recovery_bubbles_scale,
1401 EVENT_ATTR_STR(topdown-total-slots.scale, td_total_slots_scale_slm, "2");
1405 EVENT_ATTR_STR(topdown-fetch-bubbles.scale, td_fetch_bubbles_scale_slm, "2");
Duncore_snbep.c590 INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"),
593 INTEL_UNCORE_EVENT_DESC(cas_count_write.scale, "6.103515625e-5"),
2718 INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"),
2721 INTEL_UNCORE_EVENT_DESC(cas_count_write.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
/arch/x86/events/amd/
Dpower.c186 EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3");
/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/kvm/
Demulate.c1212 int index_reg, base_reg, scale; in decode_modrm() local
1305 scale = sib >> 6; in decode_modrm()
1318 modrm_ea += reg_read(ctxt, index_reg) << scale; in decode_modrm()

12