cur_freq 26 drivers/base/arch_topology.c void arch_set_freq_scale(struct cpumask *cpus, unsigned long cur_freq, cur_freq 32 drivers/base/arch_topology.c scale = (cur_freq << SCHED_CAPACITY_SHIFT) / max_freq; cur_freq 393 drivers/cpufreq/acpi-cpufreq.c unsigned int cur_freq; cur_freq 397 drivers/cpufreq/acpi-cpufreq.c cur_freq = extract_freq(policy, get_cur_val(mask, data)); cur_freq 398 drivers/cpufreq/acpi-cpufreq.c if (cur_freq == freq) cur_freq 152 drivers/cpufreq/cpufreq.c __weak void arch_set_freq_scale(struct cpumask *cpus, unsigned long cur_freq, cur_freq 731 drivers/cpufreq/cpufreq.c unsigned int cur_freq = __cpufreq_get(policy); cur_freq 733 drivers/cpufreq/cpufreq.c if (cur_freq) cur_freq 734 drivers/cpufreq/cpufreq.c return sprintf(buf, "%u\n", cur_freq); cur_freq 55 drivers/cpufreq/pmac32-cpufreq.c static unsigned int cur_freq; cur_freq 352 drivers/cpufreq/pmac32-cpufreq.c cur_freq = (speed_mode == CPUFREQ_HIGH) ? hi_freq : low_freq; cur_freq 359 drivers/cpufreq/pmac32-cpufreq.c return cur_freq; cur_freq 369 drivers/cpufreq/pmac32-cpufreq.c ppc_proc_freq = cur_freq * 1000ul; cur_freq 408 drivers/cpufreq/pmac32-cpufreq.c sleep_freq = cur_freq; cur_freq 409 drivers/cpufreq/pmac32-cpufreq.c if (cur_freq == low_freq && !is_pmu_based) cur_freq 418 drivers/cpufreq/pmac32-cpufreq.c cur_freq = get_speed_proc(); cur_freq 420 drivers/cpufreq/pmac32-cpufreq.c cur_freq = 0; cur_freq 429 drivers/cpufreq/pmac32-cpufreq.c ppc_proc_freq = cur_freq * 1000ul; cur_freq 514 drivers/cpufreq/pmac32-cpufreq.c cur_freq = (rc & 0x01) ? hi_freq : low_freq; cur_freq 559 drivers/cpufreq/pmac32-cpufreq.c hi_freq = cur_freq; cur_freq 560 drivers/cpufreq/pmac32-cpufreq.c low_freq = cur_freq/2; cur_freq 563 drivers/cpufreq/pmac32-cpufreq.c cur_freq = dfs_get_cpu_speed(); cur_freq 579 drivers/cpufreq/pmac32-cpufreq.c hi_freq = cur_freq; cur_freq 595 drivers/cpufreq/pmac32-cpufreq.c cur_freq = cpu_750fx_get_cpu_speed(); cur_freq 628 drivers/cpufreq/pmac32-cpufreq.c cur_freq = (*value) / 1000; cur_freq 646 drivers/cpufreq/pmac32-cpufreq.c hi_freq = cur_freq; cur_freq 652 drivers/cpufreq/pmac32-cpufreq.c else if (of_machine_is_compatible("PowerBook3,3") && cur_freq == 550000) { cur_freq 653 drivers/cpufreq/pmac32-cpufreq.c hi_freq = cur_freq; cur_freq 663 drivers/cpufreq/pmac32-cpufreq.c if (cur_freq < 350000 || cur_freq > 550000) cur_freq 665 drivers/cpufreq/pmac32-cpufreq.c hi_freq = cur_freq; cur_freq 680 drivers/cpufreq/pmac32-cpufreq.c ppc_proc_freq = cur_freq * 1000ul; cur_freq 684 drivers/cpufreq/pmac32-cpufreq.c low_freq/1000, hi_freq/1000, cur_freq/1000); cur_freq 293 drivers/devfreq/devfreq.c unsigned long cur_freq; cur_freq 297 drivers/devfreq/devfreq.c devfreq->profile->get_cur_freq(devfreq->dev.parent, &cur_freq); cur_freq 299 drivers/devfreq/devfreq.c cur_freq = devfreq->previous_freq; cur_freq 301 drivers/devfreq/devfreq.c freqs.old = cur_freq; cur_freq 307 drivers/devfreq/devfreq.c freqs.new = cur_freq; cur_freq 322 drivers/devfreq/devfreq.c devfreq->resume_freq = cur_freq; cur_freq 1251 drivers/devfreq/devfreq.c static DEVICE_ATTR_RO(cur_freq); cur_freq 158 drivers/devfreq/tegra30-devfreq.c unsigned long cur_freq; cur_freq 223 drivers/devfreq/tegra30-devfreq.c u32 val = tegra->cur_freq * ACTMON_SAMPLING_PERIOD; cur_freq 370 drivers/devfreq/tegra30-devfreq.c tegra->cur_freq = data->new_rate / KHZ; cur_freq 388 drivers/devfreq/tegra30-devfreq.c dev->target_freq = tegra->cur_freq; cur_freq 390 drivers/devfreq/tegra30-devfreq.c dev->avg_count = tegra->cur_freq * ACTMON_SAMPLING_PERIOD; cur_freq 487 drivers/devfreq/tegra30-devfreq.c unsigned long cur_freq; cur_freq 489 drivers/devfreq/tegra30-devfreq.c cur_freq = READ_ONCE(tegra->cur_freq); cur_freq 495 drivers/devfreq/tegra30-devfreq.c stat->current_frequency = cur_freq * KHZ; cur_freq 506 drivers/devfreq/tegra30-devfreq.c stat->total_time = ACTMON_SAMPLING_PERIOD * cur_freq; cur_freq 640 drivers/devfreq/tegra30-devfreq.c tegra->cur_freq = clk_get_rate(tegra->emc_clock) / KHZ; cur_freq 814 drivers/gpu/drm/i915/i915_debugfs.c intel_gpu_freq(dev_priv, rps->cur_freq)); cur_freq 970 drivers/gpu/drm/i915/i915_debugfs.c intel_gpu_freq(dev_priv, rps->cur_freq)); cur_freq 1715 drivers/gpu/drm/i915/i915_debugfs.c u32 act_freq = rps->cur_freq; cur_freq 1737 drivers/gpu/drm/i915/i915_debugfs.c intel_gpu_freq(dev_priv, rps->cur_freq), cur_freq 562 drivers/gpu/drm/i915/i915_drv.h u8 cur_freq; /* Current frequency (cached, may not == HW) */ cur_freq 1196 drivers/gpu/drm/i915/i915_irq.c new_delay = rps->cur_freq; cur_freq 1215 drivers/gpu/drm/i915/i915_irq.c if (rps->cur_freq > rps->efficient_freq) cur_freq 1217 drivers/gpu/drm/i915/i915_irq.c else if (rps->cur_freq > rps->min_freq_softlimit) cur_freq 234 drivers/gpu/drm/i915/i915_pmu.c val = i915->gt_pm.rps.cur_freq; cur_freq 248 drivers/gpu/drm/i915/i915_pmu.c intel_gpu_freq(i915, i915->gt_pm.rps.cur_freq), cur_freq 291 drivers/gpu/drm/i915/i915_sysfs.c dev_priv->gt_pm.rps.cur_freq)); cur_freq 384 drivers/gpu/drm/i915/i915_sysfs.c val = clamp_t(int, rps->cur_freq, cur_freq 436 drivers/gpu/drm/i915/i915_sysfs.c val = clamp_t(int, rps->cur_freq, cur_freq 6651 drivers/gpu/drm/i915/intel_pm.c val > rps->cur_freq) cur_freq 6657 drivers/gpu/drm/i915/intel_pm.c val < rps->cur_freq) cur_freq 6660 drivers/gpu/drm/i915/intel_pm.c val > rps->cur_freq) cur_freq 6666 drivers/gpu/drm/i915/intel_pm.c val < rps->cur_freq) cur_freq 6727 drivers/gpu/drm/i915/intel_pm.c if (val != rps->cur_freq) { cur_freq 6749 drivers/gpu/drm/i915/intel_pm.c rps->cur_freq = val; cur_freq 6765 drivers/gpu/drm/i915/intel_pm.c if (val != dev_priv->gt_pm.rps.cur_freq) { cur_freq 6775 drivers/gpu/drm/i915/intel_pm.c dev_priv->gt_pm.rps.cur_freq = val; cur_freq 6794 drivers/gpu/drm/i915/intel_pm.c if (rps->cur_freq <= val) cur_freq 6828 drivers/gpu/drm/i915/intel_pm.c gen6_rps_pm_mask(dev_priv, rps->cur_freq)); cur_freq 6835 drivers/gpu/drm/i915/intel_pm.c freq = max(rps->cur_freq, cur_freq 6898 drivers/gpu/drm/i915/intel_pm.c if (READ_ONCE(rps->cur_freq) < rps->boost_freq) cur_freq 6914 drivers/gpu/drm/i915/intel_pm.c rps->cur_freq = val; cur_freq 7114 drivers/gpu/drm/i915/intel_pm.c u8 freq = rps->cur_freq; cur_freq 7118 drivers/gpu/drm/i915/intel_pm.c rps->cur_freq = -1; cur_freq 8267 drivers/gpu/drm/i915/intel_pm.c pxvid = I915_READ(PXVFREQ(dev_priv->gt_pm.rps.cur_freq)); cur_freq 8694 drivers/gpu/drm/i915/intel_pm.c rps->cur_freq = rps->idle_freq; cur_freq 575 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c u32 cur_freq; cur_freq 601 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c cur_freq = nvkm_clk_read(&clk->base.base, nv_clk_src_gpc); cur_freq 602 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c if (cur_freq > clk->safe_fmax_vmin) { cur_freq 23 drivers/gpu/drm/panfrost/panfrost_devfreq.c unsigned long old_clk_rate = pfdev->devfreq.cur_freq; cur_freq 70 drivers/gpu/drm/panfrost/panfrost_devfreq.c pfdev->devfreq.cur_freq = target_rate; cur_freq 124 drivers/gpu/drm/panfrost/panfrost_devfreq.c *freq = pfdev->devfreq.cur_freq; cur_freq 149 drivers/gpu/drm/panfrost/panfrost_devfreq.c pfdev->devfreq.cur_freq = clk_get_rate(pfdev->clock); cur_freq 151 drivers/gpu/drm/panfrost/panfrost_devfreq.c opp = devfreq_recommended_opp(&pfdev->pdev->dev, &pfdev->devfreq.cur_freq, 0); cur_freq 155 drivers/gpu/drm/panfrost/panfrost_devfreq.c panfrost_devfreq_profile.initial_freq = pfdev->devfreq.cur_freq; cur_freq 96 drivers/gpu/drm/panfrost/panfrost_device.h unsigned long cur_freq; cur_freq 159 drivers/media/pci/saa7146/mxb.c struct v4l2_frequency cur_freq; /* current frequency the tuner is tuned to */ cur_freq 362 drivers/media/pci/saa7146/mxb.c mxb->cur_freq.tuner = 0; cur_freq 363 drivers/media/pci/saa7146/mxb.c mxb->cur_freq.type = V4L2_TUNER_ANALOG_TV; cur_freq 364 drivers/media/pci/saa7146/mxb.c mxb->cur_freq.frequency = freq; cur_freq 365 drivers/media/pci/saa7146/mxb.c tuner_call(mxb, tuner, s_frequency, &mxb->cur_freq); cur_freq 581 drivers/media/pci/saa7146/mxb.c *f = mxb->cur_freq; cur_freq 583 drivers/media/pci/saa7146/mxb.c DEB_EE("VIDIOC_G_FREQ: freq:0x%08x\n", mxb->cur_freq.frequency); cur_freq 599 drivers/media/pci/saa7146/mxb.c DEB_EE("VIDIOC_S_FREQUENCY: freq:0x%08x\n", mxb->cur_freq.frequency); cur_freq 604 drivers/media/pci/saa7146/mxb.c mxb->cur_freq = *f; cur_freq 605 drivers/media/pci/saa7146/mxb.c tuner_call(mxb, tuner, g_frequency, &mxb->cur_freq); cur_freq 235 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h int cur_freq; cur_freq 346 drivers/net/wireless/marvell/libertas_tf/main.c if (conf->chandef.chan->center_freq != priv->cur_freq) { cur_freq 347 drivers/net/wireless/marvell/libertas_tf/main.c priv->cur_freq = conf->chandef.chan->center_freq; cur_freq 507 drivers/net/wireless/marvell/libertas_tf/main.c stats.freq = priv->cur_freq; cur_freq 226 drivers/thermal/clock_cooling.c unsigned long clip_freq, cur_freq; cur_freq 238 drivers/thermal/clock_cooling.c cur_freq = clk_get_rate(ccdev->clk); cur_freq 244 drivers/thermal/clock_cooling.c if (cur_freq > clip_freq) cur_freq 991 include/linux/cpufreq.h extern void arch_set_freq_scale(struct cpumask *cpus, unsigned long cur_freq, cur_freq 247 sound/pci/lola/lola.h unsigned int cur_freq; cur_freq 89 sound/pci/lola/lola_clock.c chip->clock.cur_freq)) cur_freq 168 sound/pci/lola/lola_clock.c chip->clock.cur_freq = 48000; cur_freq 254 sound/pci/lola/lola_clock.c chip->clock.cur_freq = lola_sample_rate_convert(val & 0x7f); cur_freq 267 sound/pci/lola/lola_clock.c freq = chip->clock.cur_freq; cur_freq 288 sound/pci/lola/lola_clock.c chip->clock.cur_freq = freq; cur_freq 298 sound/pci/lola/lola_clock.c if (chip->clock.cur_freq == rate && chip->clock.cur_valid) cur_freq 189 sound/soc/img/img-i2s-in.c unsigned int bclk_freq, cur_freq; cur_freq 193 sound/soc/img/img-i2s-in.c cur_freq = clk_get_rate(i2s->clk_sys); cur_freq 195 sound/soc/img/img-i2s-in.c if (cur_freq >= bclk_freq * 8) { cur_freq 198 sound/soc/img/img-i2s-in.c } else if (cur_freq >= bclk_freq * 7) { cur_freq 201 sound/soc/img/img-i2s-in.c } else if (cur_freq >= bclk_freq * 6) { cur_freq 207 sound/soc/img/img-i2s-in.c cur_freq, sample_rate);