Home
last modified time | relevance | path

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

/linux/drivers/cpufreq/
A Dpmac32-cpufreq.c55 static unsigned int cur_freq; variable
359 return cur_freq; in pmac_cpufreq_get_speed()
408 sleep_freq = cur_freq; in pmac_cpufreq_suspend()
420 cur_freq = 0; in pmac_cpufreq_resume()
558 hi_freq = cur_freq; in pmac_cpufreq_init_7447A()
559 low_freq = cur_freq/2; in pmac_cpufreq_init_7447A()
578 hi_freq = cur_freq; in pmac_cpufreq_init_750FX()
645 hi_freq = cur_freq; in pmac_cpufreq_setup()
652 hi_freq = cur_freq; in pmac_cpufreq_setup()
662 if (cur_freq < 350000 || cur_freq > 550000) in pmac_cpufreq_setup()
[all …]
A Dacpi-cpufreq.c397 unsigned int cur_freq; in check_freqs() local
401 cur_freq = extract_freq(policy, get_cur_val(mask, data)); in check_freqs()
402 if (cur_freq == freq) in check_freqs()
A Dcpufreq.c744 unsigned int cur_freq = __cpufreq_get(policy); in show_cpuinfo_cur_freq() local
746 if (cur_freq) in show_cpuinfo_cur_freq()
747 return sprintf(buf, "%u\n", cur_freq); in show_cpuinfo_cur_freq()
/linux/sound/pci/lola/
A Dlola_clock.c89 chip->clock.cur_freq)) in lola_set_granularity()
168 chip->clock.cur_freq = 48000; in lola_init_clock_widget()
254 chip->clock.cur_freq = lola_sample_rate_convert(val & 0x7f); in lola_update_ext_clock_freq()
267 freq = chip->clock.cur_freq; in lola_set_clock()
288 chip->clock.cur_freq = freq; in lola_set_clock()
298 if (chip->clock.cur_freq == rate && chip->clock.cur_valid) in lola_set_sample_rate()
A Dlola.h247 unsigned int cur_freq; member
/linux/drivers/gpu/drm/i915/gt/
A Dintel_rps.c738 val > rps->cur_freq) in gen6_rps_set_thresholds()
744 val < rps->cur_freq) in gen6_rps_set_thresholds()
747 val > rps->cur_freq) in gen6_rps_set_thresholds()
753 val < rps->cur_freq) in gen6_rps_set_thresholds()
863 clamp(rps->cur_freq, in intel_rps_unpark()
930 rps->cur_freq = max_t(int, rps->cur_freq + adj, rps->min_freq); in intel_rps_park()
991 rps->cur_freq = val; in intel_rps_set()
1056 rps->cur_freq = rps->min_freq; in rps_reset()
1693 new_freq = rps->cur_freq; in rps_work()
1821 new_freq = rps->cur_freq; in gen5_rps_irq_handler()
[all …]
A Dintel_rps_types.h69 u8 cur_freq; /* Current frequency (cached, may not == HW) */ member
A Dintel_gt_pm_debugfs.c326 intel_gpu_freq(rps, rps->cur_freq)); in intel_gt_pm_frequency_dump()
498 intel_gpu_freq(rps, rps->cur_freq)); in intel_gt_pm_frequency_dump()
615 intel_gpu_freq(rps, rps->cur_freq), in rps_boost_show()
A Dselftest_rps.c953 if (rps->cur_freq != rps->min_freq) { in __rps_up_interrupt()
997 if (rps->cur_freq != rps->max_freq) { in __rps_down_interrupt()
1266 rps->cur_freq = rps->min_freq; in live_rps_dynamic()
/linux/drivers/gpu/drm/panfrost/
A Dpanfrost_devfreq.c89 unsigned long cur_freq; in panfrost_devfreq_init() local
128 cur_freq = clk_get_rate(pfdev->clock); in panfrost_devfreq_init()
130 opp = devfreq_recommended_opp(dev, &cur_freq, 0); in panfrost_devfreq_init()
134 panfrost_devfreq_profile.initial_freq = cur_freq; in panfrost_devfreq_init()
/linux/drivers/gpu/drm/lima/
A Dlima_devfreq.c112 unsigned long cur_freq; in lima_devfreq_init() local
138 cur_freq = clk_get_rate(ldev->clk_gpu); in lima_devfreq_init()
140 opp = devfreq_recommended_opp(dev, &cur_freq, 0); in lima_devfreq_init()
144 lima_devfreq_profile.initial_freq = cur_freq; in lima_devfreq_init()
/linux/drivers/devfreq/
A Dtegra30-devfreq.c188 unsigned long cur_freq; member
268 u32 val = tegra->cur_freq * tegra->devfreq->profile->polling_ms; in tegra_devfreq_update_wmark()
412 tegra->cur_freq = data->new_rate / KHZ; in tegra_actmon_clk_notify_cb()
505 dev->target_freq = tegra->cur_freq; in tegra_actmon_configure_device()
507 dev->avg_count = tegra->cur_freq * tegra->devfreq->profile->polling_ms; in tegra_actmon_configure_device()
567 tegra->cur_freq = clk_get_rate(tegra->emc_clock) / KHZ; in tegra_actmon_resume()
660 unsigned long cur_freq; in tegra_devfreq_get_dev_status() local
662 cur_freq = READ_ONCE(tegra->cur_freq); in tegra_devfreq_get_dev_status()
668 stat->current_frequency = cur_freq * KHZ; in tegra_devfreq_get_dev_status()
679 stat->total_time = tegra->devfreq->profile->polling_ms * cur_freq; in tegra_devfreq_get_dev_status()
A Ddevfreq.c354 unsigned long cur_freq; in devfreq_set_target() local
358 devfreq->profile->get_cur_freq(devfreq->dev.parent, &cur_freq); in devfreq_set_target()
360 cur_freq = devfreq->previous_freq; in devfreq_set_target()
362 freqs.old = cur_freq; in devfreq_set_target()
368 freqs.new = cur_freq; in devfreq_set_target()
378 if (trace_devfreq_frequency_enabled() && new_freq != cur_freq) in devfreq_set_target()
379 trace_devfreq_frequency(devfreq, new_freq, cur_freq); in devfreq_set_target()
1545 static DEVICE_ATTR_RO(cur_freq);
1918 unsigned long cur_freq, min_freq, max_freq; in devfreq_summary_show() local
1957 cur_freq = devfreq->previous_freq; in devfreq_summary_show()
[all …]
/linux/drivers/media/pci/saa7146/
A Dmxb.c159 struct v4l2_frequency cur_freq; /* current frequency the tuner is tuned to */ member
362 mxb->cur_freq.tuner = 0; in mxb_init_done()
363 mxb->cur_freq.type = V4L2_TUNER_ANALOG_TV; in mxb_init_done()
364 mxb->cur_freq.frequency = freq; in mxb_init_done()
365 tuner_call(mxb, tuner, s_frequency, &mxb->cur_freq); in mxb_init_done()
581 *f = mxb->cur_freq; in vidioc_g_frequency()
583 DEB_EE("VIDIOC_G_FREQ: freq:0x%08x\n", mxb->cur_freq.frequency); in vidioc_g_frequency()
599 DEB_EE("VIDIOC_S_FREQUENCY: freq:0x%08x\n", mxb->cur_freq.frequency); in vidioc_s_frequency()
604 mxb->cur_freq = *f; in vidioc_s_frequency()
605 tuner_call(mxb, tuner, g_frequency, &mxb->cur_freq); in vidioc_s_frequency()
/linux/sound/soc/img/
A Dimg-i2s-in.c189 unsigned int bclk_freq, cur_freq; in img_i2s_in_check_rate() local
193 cur_freq = clk_get_rate(i2s->clk_sys); in img_i2s_in_check_rate()
195 if (cur_freq >= bclk_freq * 8) { in img_i2s_in_check_rate()
198 } else if (cur_freq >= bclk_freq * 7) { in img_i2s_in_check_rate()
201 } else if (cur_freq >= bclk_freq * 6) { in img_i2s_in_check_rate()
207 cur_freq, sample_rate); in img_i2s_in_check_rate()
/linux/drivers/base/
A Darch_topology.c125 void topology_set_freq_scale(const struct cpumask *cpus, unsigned long cur_freq, in topology_set_freq_scale() argument
131 if (WARN_ON_ONCE(!cur_freq || !max_freq)) in topology_set_freq_scale()
142 scale = (cur_freq << SCHED_CAPACITY_SHIFT) / max_freq; in topology_set_freq_scale()
/linux/tools/testing/selftests/cpufreq/
A Dgovernor.sh105 cur_freq=find_current_freq
/linux/include/linux/
A Darch_topology.h33 void topology_set_freq_scale(const struct cpumask *cpus, unsigned long cur_freq,
A Dcpufreq.h1200 unsigned long cur_freq, in arch_set_freq_scale() argument
/linux/Documentation/ABI/testing/
A Dsysfs-class-devfreq24 What: /sys/class/devfreq/.../cur_freq
28 The /sys/class/devfreq/.../cur_freq shows the current
/linux/drivers/net/wireless/marvell/libertas_tf/
A Dmain.c345 if (conf->chandef.chan->center_freq != priv->cur_freq) { in lbtf_op_config()
346 priv->cur_freq = conf->chandef.chan->center_freq; in lbtf_op_config()
506 stats.freq = priv->cur_freq; in lbtf_rx()
A Dlibertas_tf.h235 int cur_freq; member
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A Dgm20b.c575 u32 cur_freq; in gm20b_clk_prog() local
601 cur_freq = nvkm_clk_read(&clk->base.base, nv_clk_src_gpc); in gm20b_clk_prog()
602 if (cur_freq > clk->safe_fmax_vmin) { in gm20b_clk_prog()
/linux/drivers/gpu/drm/i915/
A Di915_debugfs.c451 intel_gpu_freq(rps, rps->cur_freq), in i915_rps_boost_info()
A Di915_pmu.c402 val = rps->cur_freq; in frequency_sample()

Completed in 65 milliseconds