Searched refs:ratio (Results 1 – 11 of 11) sorted by relevance
/arch/x86/kernel/ |
D | tsc_msr.c | 167 u32 lo, hi, ratio, freq, tscref; in cpu_khz_from_msr() local 181 ratio = (lo >> 8) & 0xff; in cpu_khz_from_msr() 184 ratio = (hi >> 8) & 0x1f; in cpu_khz_from_msr() 203 res = DIV_ROUND_CLOSEST(tscref * ratio, md->divider); in cpu_khz_from_msr() 206 res = freq * ratio; in cpu_khz_from_msr()
|
/arch/s390/kernel/ |
D | perf_cpum_sf.c | 435 static unsigned long compute_sfb_extent(unsigned long ratio, unsigned long base) in compute_sfb_extent() argument 442 if (ratio <= 5) in compute_sfb_extent() 444 if (ratio <= 25) in compute_sfb_extent() 446 if (ratio <= 50) in compute_sfb_extent() 448 if (ratio <= 75) in compute_sfb_extent() 450 if (ratio <= 100) in compute_sfb_extent() 452 if (ratio <= 250) in compute_sfb_extent() 461 unsigned long ratio, num; in sfb_account_overflows() local 473 ratio = DIV_ROUND_UP(100 * OVERFLOW_REG(hwc) * cpuhw->sfb.num_sdb, in sfb_account_overflows() 477 num = compute_sfb_extent(ratio, cpuhw->sfb.num_sdb); in sfb_account_overflows() [all …]
|
/arch/ia64/include/asm/uv/ |
D | uv_mmrs.h | 727 unsigned long ratio : 3; /* RW */ member
|
/arch/powerpc/boot/dts/ |
D | virtex440-ml510.dts | 239 xlnx,bus2core-clk-ratio = <0x1>; 325 xlnx,sck-ratio = <0x80>;
|
D | virtex440-ml507.dts | 269 xlnx,bus2core-clk-ratio = <1>;
|
/arch/microblaze/boot/dts/ |
D | system.dts | 215 xlnx,bus2core-clk-ratio = <0x1>;
|
/arch/arm/boot/dts/ |
D | exynos5422-odroid-core.dtsi | 48 exynos,saturation-ratio = <100>;
|
D | r8a7778.dtsi | 511 /* Fixed ratio clocks */
|
/arch/x86/kvm/ |
D | x86.c | 1780 u64 ratio; in set_tsc_khz() local 1801 ratio = mul_u64_u32_div(1ULL << kvm_tsc_scaling_ratio_frac_bits, in set_tsc_khz() 1804 if (ratio == 0 || ratio >= kvm_max_tsc_scaling_ratio) { in set_tsc_khz() 1810 vcpu->arch.tsc_scaling_ratio = ratio; in set_tsc_khz() 1905 static inline u64 __scale_tsc(u64 ratio, u64 tsc) in __scale_tsc() argument 1907 return mul_u64_u64_shr(tsc, ratio, kvm_tsc_scaling_ratio_frac_bits); in __scale_tsc() 1913 u64 ratio = vcpu->arch.tsc_scaling_ratio; in kvm_scale_tsc() local 1915 if (ratio != kvm_default_tsc_scaling_ratio) in kvm_scale_tsc() 1916 _tsc = __scale_tsc(ratio, tsc); in kvm_scale_tsc()
|
D | mmu.c | 6420 unsigned int ratio; in kvm_recover_nx_lpages() local 6427 ratio = READ_ONCE(nx_huge_pages_recovery_ratio); in kvm_recover_nx_lpages() 6428 to_zap = ratio ? DIV_ROUND_UP(kvm->stat.nx_lpage_splits, ratio) : 0; in kvm_recover_nx_lpages()
|
/arch/arm64/boot/dts/exynos/ |
D | exynos5433-tm2-common.dtsi | 171 exynos,saturation-ratio = <10>;
|