Home
last modified time | relevance | path

Searched refs:freq_step (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/cpufreq/
Dcpufreq_conservative.c27 unsigned int freq_step; member
40 unsigned int freq_step = (cs_tuners->freq_step * policy->max) / 100; in get_freq_step() local
43 if (unlikely(freq_step == 0)) in get_freq_step()
44 freq_step = DEF_FREQUENCY_STEP; in get_freq_step()
46 return freq_step; in get_freq_step()
66 unsigned int freq_step; in cs_dbs_update() local
72 if (cs_tuners->freq_step == 0) in cs_dbs_update()
85 freq_step = get_freq_step(cs_tuners, policy); in cs_dbs_update()
92 unsigned int freq_steps = policy_dbs->idle_periods * freq_step; in cs_dbs_update()
110 requested_freq += freq_step; in cs_dbs_update()
[all …]
/Linux-v6.6/tools/testing/selftests/timers/
Dfreq-step.c146 static int run_test(int calibration, double freq_base, double freq_step) in run_test() argument
160 set_frequency(freq_base + freq_step); in run_test()
190 1e6 * freq_step, in run_test()
240 double freq_base, freq_step; in main() local
252 freq_step = 10e-6 * (1 << (6 * i)); in main()
253 fails += run_test(0, freq_base, freq_step); in main()
/Linux-v6.6/drivers/iio/filter/
Dadmv8818.c125 u64 freq_step; in __admv8818_hpf_select() local
139 freq_step = div_u64((freq_range_hpf[i][1] - in __admv8818_hpf_select()
143 (freq < freq_range_hpf[i][1] + freq_step)) { in __admv8818_hpf_select()
147 if (freq < (freq_range_hpf[i][0] + (freq_step * j))) { in __admv8818_hpf_select()
190 u64 freq_step; in __admv8818_lpf_select() local
205 freq_step = div_u64((freq_range_lpf[i][1] - freq_range_lpf[i][0]), 15); in __admv8818_lpf_select()
208 if (freq < (freq_range_lpf[i][0] + (freq_step * j))) { in __admv8818_lpf_select()
/Linux-v6.6/drivers/media/pci/cx88/
Dcx88-dsp.c138 u32 freq_step; in noise_magnitude() local
147 freq_step = (freq_end - freq_start) / (samples - 1); in noise_magnitude()
151 freq_start += freq_step; in noise_magnitude()
/Linux-v6.6/drivers/media/dvb-frontends/
Dstv0900_sw.c1328 init_freq, freq_step; in stv0900_blind_check_agc2_min_level() local
1353 freq_step = (1000000 << 8) / (intp->mclk >> 8); in stv0900_blind_check_agc2_min_level()
1359 init_freq = init_freq + (freq_step * i); in stv0900_blind_check_agc2_min_level()
1361 init_freq = init_freq - (freq_step * i); in stv0900_blind_check_agc2_min_level()
Dstv090x.c1587 u32 agc2_min = 0xffff, agc2 = 0, freq_init, freq_step, reg; in stv090x_get_agc2_min_level() local
1616 freq_step = (1000000 * 256) / (state->internal->mclk / 256); in stv090x_get_agc2_min_level()
1621 freq_init = freq_init + (freq_step * i); in stv090x_get_agc2_min_level()
1623 freq_init = freq_init - (freq_step * i); in stv090x_get_agc2_min_level()
/Linux-v6.6/Documentation/admin-guide/pm/
Dcpufreq.rst566 ``freq_step``
582 go up (by ``freq_step``). If the load is less than this value (and the