Home
last modified time | relevance | path

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

12

/arch/arm64/include/asm/
A Dtlbflush.h159 __ta |= FIELD_PREP(TLBIR_SCALE_MASK, scale); \
166 #define __TLBI_RANGE_PAGES(num, scale) \ argument
167 ((unsigned long)((num) + 1) << (5 * (scale) + 1))
177 #define __TLBI_RANGE_NUM(pages, scale) \ argument
180 __TLBI_RANGE_PAGES(31, (scale))); \
181 (__pages >> (5 * (scale) + 1)) - 1; \
385 int scale = 3; \
402 num = __TLBI_RANGE_NUM(__flush_pages, scale); \
405 scale, num, tlb_level); \
410 __flush_pages -= __TLBI_RANGE_PAGES(num, scale);\
[all …]
A Dkvm_nested.h238 u64 base, tg, num, scale; in decode_range_tlbi() local
261 scale = FIELD_GET(GENMASK(45, 44), val); in decode_range_tlbi()
263 *range = __TLBI_RANGE_PAGES(num, scale) << shift; in decode_range_tlbi()
/arch/arm64/kernel/
A Dtopology.c222 u64 core_cnt, const_cnt, scale; in amu_scale_freq_tick() local
248 scale = core_cnt - prev_core_cnt; in amu_scale_freq_tick()
249 scale *= this_cpu_read(arch_max_freq_scale); in amu_scale_freq_tick()
250 scale = div64_u64(scale >> SCHED_CAPACITY_SHIFT, in amu_scale_freq_tick()
253 scale = min_t(unsigned long, scale, SCHED_CAPACITY_SCALE); in amu_scale_freq_tick()
254 this_cpu_write(arch_freq_scale, (unsigned long)scale); in amu_scale_freq_tick()
291 u64 scale; in arch_freq_get_on_cpu() local
348 scale = arch_scale_freq_capacity(cpu); in arch_freq_get_on_cpu()
349 freq = scale * arch_scale_freq_ref(cpu); in arch_freq_get_on_cpu()
/arch/arm/mach-omap2/
A Dvoltage.c81 if (!voltdm->scale) { in voltdm_scale()
107 ret = voltdm->scale(voltdm, volt); in voltdm_scale()
262 voltdm->scale = omap_vc_bypass_scale; in omap_voltage_late_init()
267 voltdm->scale = omap_vp_forceupdate_scale; in omap_voltage_late_init()
A Dvoltage.h83 int (*scale) (struct voltagedomain *voltdm, member
/arch/mips/alchemy/common/
A Dclock.c377 int scale, int maxdiv, unsigned long *rv) in alchemy_calc_div() argument
397 div1 = ((div2 + 1) * scale); in alchemy_calc_div()
403 int scale, int maxdiv) in alchemy_clk_fgcs_detr() argument
458 for (j = (maxdiv == 4) ? 1 : scale; j <= maxdiv; j += scale) { in alchemy_clk_fgcs_detr()
464 tdv = alchemy_calc_div(req->rate, pr, scale, maxdiv, in alchemy_clk_fgcs_detr()
713 int scale, maxdiv; in alchemy_clk_fgv2_detr() local
716 scale = 1; in alchemy_clk_fgv2_detr()
719 scale = 2; in alchemy_clk_fgv2_detr()
723 return alchemy_clk_fgcs_detr(hw, req, scale, maxdiv); in alchemy_clk_fgv2_detr()
930 int scale = c->dt[2] == 3 ? 1 : 2; /* au1300 check */ in alchemy_clk_csrc_detr() local
[all …]
/arch/x86/include/asm/
A Dresctrl.h148 unsigned int scale = boot_cpu_data.x86_cache_occ_scale; in resctrl_arch_round_mon_val() local
151 val /= scale; in resctrl_arch_round_mon_val()
152 return val * scale; in resctrl_arch_round_mon_val()
/arch/powerpc/kernel/
A Dvecemu.c157 static int ctsxs(unsigned int x, int scale, unsigned int *vscrp) in ctsxs() argument
165 exp = exp - 127 + scale; in ctsxs()
170 if (x + (scale << 23) != 0xcf000000) in ctsxs()
179 static unsigned int ctuxs(unsigned int x, int scale, unsigned int *vscrp) in ctuxs() argument
188 exp = exp - 127 + scale; in ctuxs()
A Dtime.c940 u64 scale; in time_init() local
969 scale = res.result_low; in time_init()
971 scale = (scale >> 1) | (res.result_high << 63); in time_init()
974 tb_to_ns_scale = scale; in time_init()
/arch/m68k/math-emu/
A Dfp_arith.c641 int scale, oldround; in fp_fscale() local
668 scale = fp_conv_ext2long(src); in fp_fscale()
672 scale += dest->exp; in fp_fscale()
674 if (scale >= 0x7fff) { in fp_fscale()
676 } else if (scale <= 0) { in fp_fscale()
678 fp_denormalize(dest, -scale); in fp_fscale()
680 dest->exp = scale; in fp_fscale()
A Dfp_decode.h157 move.w %d2,%d1 | scale factor
/arch/powerpc/include/asm/
A Dimc-pmu.h56 char *scale; member
/arch/m68k/fpsp040/
A DMakefile9 smovecr.o srem_mod.o scale.o \
A Dscale.S2 | scale.sa 3.3 7/30/91
15 | Output: The function returns scale(X,Y) to fp0.
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/x86/events/
A Drapl.c451 RAPL_EVENT_ATTR_STR(energy-cores.scale, rapl_cores_scale, "2.3283064365386962890625e-10");
452 RAPL_EVENT_ATTR_STR(energy-pkg.scale, rapl_pkg_scale, "2.3283064365386962890625e-10");
453 RAPL_EVENT_ATTR_STR(energy-ram.scale, rapl_ram_scale, "2.3283064365386962890625e-10");
454 RAPL_EVENT_ATTR_STR(energy-gpu.scale, rapl_gpu_scale, "2.3283064365386962890625e-10");
455 RAPL_EVENT_ATTR_STR(energy-psys.scale, rapl_psys_scale, "2.3283064365386962890625e-10");
456 RAPL_EVENT_ATTR_STR(energy-core.scale, rapl_core_scale, "2.3283064365386962890625e-10");
/arch/sparc/kernel/
A Dvisemul.c480 unsigned long rs1, rs2, gsr, scale, rd_val; in pformat() local
483 scale = (gsr >> 3) & (opf == FPACK16_OPF ? 0xf : 0x1f); in pformat()
493 int scaled = src << scale; in pformat()
516 s64 scaled = src << scale; in pformat()
539 s64 scaled = src << scale; in pformat()
/arch/powerpc/perf/
A Dimc-pmu.c152 static int imc_parse_event(struct device_node *np, const char *scale, in imc_parse_event() argument
172 s = scale; in imc_parse_event()
175 event->scale = kstrdup(s, GFP_KERNEL); in imc_parse_event()
176 if (!event->scale) in imc_parse_event()
192 kfree(event->scale); in imc_parse_event()
210 kfree(events[i].scale); in imc_free_events()
309 if (pmu->events[i].scale) { in update_events_in_group()
313 dev_str = device_str_attr_create(ev_scale_str, pmu->events[i].scale); in update_events_in_group()
/arch/x86/events/intel/
A Duncore_snb.c785 INTEL_UNCORE_EVENT_DESC(data_reads.scale, "6.103515625e-5"),
789 INTEL_UNCORE_EVENT_DESC(data_writes.scale, "6.103515625e-5"),
793 INTEL_UNCORE_EVENT_DESC(gt_requests.scale, "6.103515625e-5"),
797 INTEL_UNCORE_EVENT_DESC(ia_requests.scale, "6.103515625e-5"),
801 INTEL_UNCORE_EVENT_DESC(io_requests.scale, "6.103515625e-5"),
1482 INTEL_UNCORE_EVENT_DESC(data_total.scale, "6.103515625e-5"),
1486 INTEL_UNCORE_EVENT_DESC(data_read.scale, "6.103515625e-5"),
1490 INTEL_UNCORE_EVENT_DESC(data_write.scale, "6.103515625e-5"),
A Duncore_snbep.c745 INTEL_UNCORE_EVENT_DESC(cas_count_read.scale, "6.103515625e-5"),
4057 INTEL_UNCORE_EVENT_DESC(bw_in_port0.scale, "3.814697266e-6"),
4060 INTEL_UNCORE_EVENT_DESC(bw_in_port1.scale, "3.814697266e-6"),
4063 INTEL_UNCORE_EVENT_DESC(bw_in_port2.scale, "3.814697266e-6"),
4066 INTEL_UNCORE_EVENT_DESC(bw_in_port3.scale, "3.814697266e-6"),
5251 INTEL_UNCORE_EVENT_DESC(read.scale, "6.103515625e-5"),
5254 INTEL_UNCORE_EVENT_DESC(write.scale, "6.103515625e-5"),
5821 INTEL_UNCORE_EVENT_DESC(read.scale, "6.103515625e-5"),
5824 INTEL_UNCORE_EVENT_DESC(write.scale, "6.103515625e-5"),
5828 INTEL_UNCORE_EVENT_DESC(ddrt_read.scale, "6.103515625e-5"),
[all …]
/arch/m68k/ifpsp060/src/
A Dfpsp.S9573 # fp0 = scale(X,Y) #
11642 sub.l %d0,%d1 # add scale factor
12284 sub.l %d0,%d1 # add scale factor
13064 sub.l %d0,%d1 # add scale factor
13567 sub.l %d0,%d1 # add scale factor
14013 sub.l %d0,%d1 # add scale factor
15853 # d0 = scale amount #
15906 add.w 0x2(%sp),%d0 # scale src exponent by scale factor
15942 add.w 0x2(%sp),%d0 # scale dst exponent by scale factor
15973 # d0 = scale value #
[all …]
/arch/x86/events/amd/
A Dpower.c173 EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3");
/arch/arm/mach-imx/
A Dmmdc.c92 PMU_EVENT_ATTR_STRING(read-bytes.scale, mmdc_pmu_read_bytes_scale, "0.000001");
95 PMU_EVENT_ATTR_STRING(write-bytes.scale, mmdc_pmu_write_bytes_scale, "0.000001");
/arch/arm/boot/dts/nspire/
A Dnspire.dtsi109 * There is some code to scale the clock down by a factor
/arch/x86/math-emu/
A Dfpu_trig.c1495 long scale; in fscale() local
1522 scale = signnegative(st1_ptr) ? -tmp.sigl : tmp.sigl; in fscale()
1523 scale += exponent16(st0_ptr); in fscale()
1525 setexponent16(st0_ptr, scale); in fscale()

Completed in 85 milliseconds

12