/linux-6.3-rc2/drivers/cpufreq/ |
A D | pmac32-cpufreq.c | 55 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() 562 hi_freq = cur_freq; in pmac_cpufreq_init_7447A() 563 low_freq = cur_freq/2; in pmac_cpufreq_init_7447A() 582 hi_freq = cur_freq; in pmac_cpufreq_init_750FX() 649 hi_freq = cur_freq; in pmac_cpufreq_setup() 656 hi_freq = cur_freq; in pmac_cpufreq_setup() 666 if (cur_freq < 350000 || cur_freq > 550000) in pmac_cpufreq_setup() [all …]
|
A D | acpi-cpufreq.c | 402 unsigned int cur_freq; in check_freqs() local 406 cur_freq = extract_freq(policy, get_cur_val(mask, data)); in check_freqs() 407 if (cur_freq == freq) in check_freqs()
|
A D | cpufreq.c | 745 unsigned int cur_freq = __cpufreq_get(policy); in show_cpuinfo_cur_freq() local 747 if (cur_freq) in show_cpuinfo_cur_freq() 748 return sprintf(buf, "%u\n", cur_freq); in show_cpuinfo_cur_freq()
|
/linux-6.3-rc2/drivers/devfreq/ |
A D | governor_passive.c | 103 cpu_cur = parent_cpu_data->cur_freq * HZ_PER_KHZ; in get_target_freq_with_cpufreq() 118 cpu_cur = parent_cpu_data->cur_freq; in get_target_freq_with_cpufreq() 209 unsigned int cur_freq; in cpufreq_passive_notifier_call() local 216 if (!parent_cpu_data || parent_cpu_data->cur_freq == freqs->new) in cpufreq_passive_notifier_call() 219 cur_freq = parent_cpu_data->cur_freq; in cpufreq_passive_notifier_call() 220 parent_cpu_data->cur_freq = freqs->new; in cpufreq_passive_notifier_call() 226 parent_cpu_data->cur_freq = cur_freq; in cpufreq_passive_notifier_call() 312 parent_cpu_data->cur_freq = policy->cur; in cpufreq_passive_register_notifier()
|
A D | tegra30-devfreq.c | 188 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 D | devfreq.c | 351 unsigned long cur_freq; in devfreq_set_target() local 355 devfreq->profile->get_cur_freq(devfreq->dev.parent, &cur_freq); in devfreq_set_target() 357 cur_freq = devfreq->previous_freq; in devfreq_set_target() 359 freqs.old = cur_freq; in devfreq_set_target() 365 freqs.new = cur_freq; in devfreq_set_target() 375 if (trace_devfreq_frequency_enabled() && new_freq != cur_freq) in devfreq_set_target() 376 trace_devfreq_frequency(devfreq, new_freq, cur_freq); in devfreq_set_target() 1551 static DEVICE_ATTR_RO(cur_freq); 1922 unsigned long cur_freq, min_freq, max_freq; in devfreq_summary_show() local 1961 cur_freq = devfreq->previous_freq; in devfreq_summary_show() [all …]
|
A D | governor.h | 70 unsigned int cur_freq; member
|
/linux-6.3-rc2/sound/pci/lola/ |
A D | lola_clock.c | 89 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 D | lola.h | 247 unsigned int cur_freq; member
|
/linux-6.3-rc2/drivers/gpu/drm/lima/ |
A D | lima_devfreq.c | 112 unsigned long cur_freq; in lima_devfreq_init() local 143 cur_freq = clk_get_rate(ldev->clk_gpu); in lima_devfreq_init() 145 opp = devfreq_recommended_opp(dev, &cur_freq, 0); in lima_devfreq_init() 149 lima_devfreq_profile.initial_freq = cur_freq; in lima_devfreq_init()
|
/linux-6.3-rc2/drivers/gpu/drm/panfrost/ |
A D | panfrost_devfreq.c | 89 unsigned long cur_freq; in panfrost_devfreq_init() local 127 cur_freq = clk_get_rate(pfdev->clock); in panfrost_devfreq_init() 129 opp = devfreq_recommended_opp(dev, &cur_freq, 0); in panfrost_devfreq_init() 133 panfrost_devfreq_profile.initial_freq = cur_freq; in panfrost_devfreq_init()
|
/linux-6.3-rc2/drivers/media/pci/saa7146/ |
A D | mxb.c | 159 struct v4l2_frequency cur_freq; /* current frequency the tuner is tuned to */ member 361 mxb->cur_freq.tuner = 0; in mxb_init_done() 362 mxb->cur_freq.type = V4L2_TUNER_ANALOG_TV; in mxb_init_done() 363 mxb->cur_freq.frequency = freq; in mxb_init_done() 364 tuner_call(mxb, tuner, s_frequency, &mxb->cur_freq); in mxb_init_done() 580 *f = mxb->cur_freq; in vidioc_g_frequency() 582 DEB_EE("VIDIOC_G_FREQ: freq:0x%08x\n", mxb->cur_freq.frequency); in vidioc_g_frequency() 598 DEB_EE("VIDIOC_S_FREQUENCY: freq:0x%08x\n", mxb->cur_freq.frequency); in vidioc_s_frequency() 603 mxb->cur_freq = *f; in vidioc_s_frequency() 604 tuner_call(mxb, tuner, g_frequency, &mxb->cur_freq); in vidioc_s_frequency()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | intel_rps.c | 743 val > rps->cur_freq) in gen6_rps_set_thresholds() 749 val < rps->cur_freq) in gen6_rps_set_thresholds() 752 val > rps->cur_freq) in gen6_rps_set_thresholds() 758 val < rps->cur_freq) in gen6_rps_set_thresholds() 869 clamp(rps->cur_freq, in intel_rps_unpark() 936 rps->cur_freq = max_t(int, rps->cur_freq + adj, rps->min_freq); in intel_rps_park() 1075 rps->cur_freq = val; in intel_rps_set() 1210 rps->cur_freq = rps->min_freq; in rps_reset() 1852 new_freq = rps->cur_freq; in rps_work() 1981 new_freq = rps->cur_freq; in gen5_rps_irq_handler() [all …]
|
A D | intel_rps_types.h | 84 u8 cur_freq; /* Current frequency (cached, may not == HW) */ member
|
A D | intel_gt_pm_debugfs.c | 377 intel_gpu_freq(rps, rps->cur_freq)); in intel_gt_pm_frequency_dump() 497 intel_gpu_freq(rps, rps->cur_freq), in rps_boost_show()
|
A D | selftest_rps.c | 951 if (rps->cur_freq != rps->min_freq) { in __rps_up_interrupt() 995 if (rps->cur_freq != rps->max_freq) { in __rps_down_interrupt() 1270 rps->cur_freq = rps->min_freq; in live_rps_dynamic()
|
/linux-6.3-rc2/sound/soc/img/ |
A D | img-i2s-in.c | 189 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-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_ptp_hw.c | 1505 u64 cur_freq, clk_incval, tu_per_sec, uix; in ice_phy_cfg_uix_e822() local 1508 cur_freq = ice_e822_pll_freq(ice_e822_time_ref(hw)); in ice_phy_cfg_uix_e822() 1512 tu_per_sec = (cur_freq * clk_incval) >> 8; in ice_phy_cfg_uix_e822() 1587 u64 cur_freq, clk_incval, tu_per_sec, phy_tus; in ice_phy_cfg_parpcs_e822() local 1600 tu_per_sec = cur_freq * clk_incval; in ice_phy_cfg_parpcs_e822() 1714 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_tx_offset_e822() local 1720 tu_per_sec = cur_freq * clk_incval; in ice_calc_fixed_tx_offset_e822() 1862 u64 cur_freq, clk_incval, tu_per_sec, mult, adj; in ice_phy_calc_pmd_adj_e822() local 1880 tu_per_sec = cur_freq * clk_incval; in ice_phy_calc_pmd_adj_e822() 2013 u64 cur_freq, clk_incval, tu_per_sec, fixed_offset; in ice_calc_fixed_rx_offset_e822() local [all …]
|
/linux-6.3-rc2/tools/testing/selftests/cpufreq/ |
A D | governor.sh | 105 cur_freq=find_current_freq
|
/linux-6.3-rc2/include/linux/ |
A D | arch_topology.h | 37 void topology_set_freq_scale(const struct cpumask *cpus, unsigned long cur_freq,
|
/linux-6.3-rc2/drivers/base/ |
A D | arch_topology.c | 130 void topology_set_freq_scale(const struct cpumask *cpus, unsigned long cur_freq, in topology_set_freq_scale() argument 136 if (WARN_ON_ONCE(!cur_freq || !max_freq)) in topology_set_freq_scale() 147 scale = (cur_freq << SCHED_CAPACITY_SHIFT) / max_freq; in topology_set_freq_scale()
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-class-devfreq | 24 What: /sys/class/devfreq/.../cur_freq 28 The /sys/class/devfreq/.../cur_freq shows the current
|
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas_tf/ |
A D | main.c | 346 if (conf->chandef.chan->center_freq != priv->cur_freq) { in lbtf_op_config() 347 priv->cur_freq = conf->chandef.chan->center_freq; in lbtf_op_config() 508 stats.freq = priv->cur_freq; in lbtf_rx()
|
A D | libertas_tf.h | 235 int cur_freq; member
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | gm20b.c | 575 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()
|