Home
last modified time | relevance | path

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

12345678910>>...113

/linux-6.12.1/drivers/media/dvb-frontends/
Dtda665x.c21 u32 frequency; member
57 static int tda665x_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda665x_get_frequency() argument
61 *frequency = state->frequency; in tda665x_get_frequency()
94 u32 frequency, status = 0; in tda665x_set_frequency() local
105 frequency = new_frequency; in tda665x_set_frequency()
107 frequency += config->frequency_offst; in tda665x_set_frequency()
108 frequency *= config->ref_multiplier; in tda665x_set_frequency()
109 frequency += config->ref_divider >> 1; in tda665x_set_frequency()
110 frequency /= config->ref_divider; in tda665x_set_frequency()
112 buf[0] = (u8) ((frequency & 0x7f00) >> 8); in tda665x_set_frequency()
[all …]
Dix2505v.c27 u32 frequency; member
122 u32 frequency = c->frequency; in ix2505v_set_params() local
129 if ((frequency < fe->ops.info.frequency_min_hz / kHz) in ix2505v_set_params()
130 || (frequency > fe->ops.info.frequency_max_hz / kHz)) in ix2505v_set_params()
147 div_factor = (frequency * ref) / 40; /* local osc = 4Mhz */ in ix2505v_set_params()
156 deb_info("Frq=%d x=%d N=%d A=%d\n", frequency, x, N, A); in ix2505v_set_params()
158 if (frequency <= 1065000) in ix2505v_set_params()
160 else if (frequency <= 1170000) in ix2505v_set_params()
162 else if (frequency <= 1300000) in ix2505v_set_params()
164 else if (frequency <= 1445000) in ix2505v_set_params()
[all …]
Dtda8261.c23 u32 frequency; member
74 static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda8261_get_frequency() argument
78 *frequency = state->frequency; in tda8261_get_frequency()
88 u32 frequency, N, status = 0; in tda8261_set_params() local
97 frequency = c->frequency; in tda8261_set_params()
98 if ((frequency < 950000) || (frequency > 2150000)) { in tda8261_set_params()
100 __func__, frequency); in tda8261_set_params()
103 N = (frequency + (div_tab[config->step_size] - 1)) / div_tab[config->step_size]; in tda8261_set_params()
111 if (frequency < 1450000) in tda8261_set_params()
113 else if (frequency < 2000000) in tda8261_set_params()
[all …]
Dhorus3a.c29 u32 frequency; member
169 u32 frequency = p->frequency; in horus3a_set_params() local
180 __func__, frequency, symbol_rate); in horus3a_set_params()
187 frequency = DIV_ROUND_CLOSEST(frequency, 1000) * 1000; in horus3a_set_params()
188 if (frequency <= 1155000) { in horus3a_set_params()
196 ms = DIV_ROUND_CLOSEST((frequency * mixdiv) / 2, 1000); in horus3a_set_params()
199 frequency); in horus3a_set_params()
202 if (frequency < 975000) { in horus3a_set_params()
206 } else if (frequency < 1050000) { in horus3a_set_params()
210 } else if (frequency < 1150000) { in horus3a_set_params()
[all …]
Dzl10036.c36 u32 frequency; member
170 static int zl10036_set_frequency(struct zl10036_state *state, u32 frequency) in zl10036_set_frequency() argument
175 div = (frequency + _FR/2) / _FR; in zl10036_set_frequency()
176 state->frequency = div * _FR; in zl10036_set_frequency()
178 foffset = frequency - state->frequency; in zl10036_set_frequency()
184 frequency, state->frequency, foffset, div); in zl10036_set_frequency()
299 u32 frequency = p->frequency; in zl10036_set_params() local
306 if ((frequency < fe->ops.info.frequency_min_hz / kHz) in zl10036_set_params()
307 || (frequency > fe->ops.info.frequency_max_hz / kHz)) in zl10036_set_params()
324 if (frequency < 950000) in zl10036_set_params()
[all …]
Dtdhd1.h35 div = (p->frequency + 36166666) / 166666; in alps_tdhd1_204a_tuner_set_params()
41 if (p->frequency >= 174000000 && p->frequency <= 230000000) in alps_tdhd1_204a_tuner_set_params()
43 else if (p->frequency >= 470000000 && p->frequency <= 823000000) in alps_tdhd1_204a_tuner_set_params()
45 else if (p->frequency > 823000000 && p->frequency <= 862000000) in alps_tdhd1_204a_tuner_set_params()
Dstb6100_cfg.h13 static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6100_get_frequency() argument
20 err = tuner_ops->get_frequency(fe, frequency); in stb6100_get_frequency()
29 static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) in stb6100_set_frequency() argument
37 c->frequency = frequency; in stb6100_set_frequency()
72 u32 freq = c->frequency; in stb6100_set_bandwidth()
76 c->frequency = 0; /* Don't adjust the frequency */ in stb6100_set_bandwidth()
80 c->frequency = freq; in stb6100_set_bandwidth()
/linux-6.12.1/drivers/cpufreq/
Dfreq_table.c41 freq = pos->frequency; in cpufreq_frequency_table_cpuinfo()
82 freq = pos->frequency; in cpufreq_frequency_table_verify()
124 .frequency = 0, in cpufreq_table_index_unsorted()
128 .frequency = 0, in cpufreq_table_index_unsorted()
140 suboptimal.frequency = ~0; in cpufreq_table_index_unsorted()
144 optimal.frequency = ~0; in cpufreq_table_index_unsorted()
149 freq = pos->frequency; in cpufreq_table_index_unsorted()
160 if (freq >= optimal.frequency) { in cpufreq_table_index_unsorted()
161 optimal.frequency = freq; in cpufreq_table_index_unsorted()
165 if (freq <= suboptimal.frequency) { in cpufreq_table_index_unsorted()
[all …]
Dqoriq-cpufreq.c112 if (freq_table[j].frequency == CPUFREQ_ENTRY_INVALID || in freq_table_redup()
113 freq_table[j].frequency != in freq_table_redup()
114 freq_table[i].frequency) in freq_table_redup()
117 freq_table[i].frequency = CPUFREQ_ENTRY_INVALID; in freq_table_redup()
132 max_freq = freq_table[i].frequency; in freq_table_sort()
135 freq = freq_table[j].frequency; in freq_table_sort()
146 table.frequency = freq_table[i].frequency; in freq_table_sort()
148 freq_table[i].frequency = freq_table[ind].frequency; in freq_table_sort()
150 freq_table[ind].frequency = table.frequency; in freq_table_sort()
196 table[i].frequency = freq / 1000; in qoriq_cpufreq_cpu_init()
[all …]
DKconfig31 bool "CPU frequency transition statistics"
33 Export CPU frequency statistics information through sysfs.
52 the frequency statically to the highest frequency supported by
60 the frequency statically to the lowest frequency supported by
68 you to set the CPU frequency manually or when a userspace
79 you to get a full dynamic frequency capable system by simply
92 you to get a full dynamic frequency capable system by simply
113 This cpufreq governor sets the frequency statically to the
114 highest available CPU frequency.
124 This cpufreq governor sets the frequency statically to the
[all …]
/linux-6.12.1/drivers/platform/x86/intel/uncore-frequency/
DMakefile6 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o
7 intel-uncore-frequency-y := uncore-frequency.o
8 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency-common.o
9 intel-uncore-frequency-common-y := uncore-frequency-common.o
10 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL_TPMI) += intel-uncore-frequency-tpmi.o
11 intel-uncore-frequency-tpmi-y := uncore-frequency-tpmi.o
/linux-6.12.1/arch/arm/boot/dts/intel/axm/
Daxm5516-cpus.dtsi76 clock-frequency = <1400000000>;
84 clock-frequency = <1400000000>;
92 clock-frequency = <1400000000>;
100 clock-frequency = <1400000000>;
108 clock-frequency = <1400000000>;
116 clock-frequency = <1400000000>;
124 clock-frequency = <1400000000>;
132 clock-frequency = <1400000000>;
140 clock-frequency = <1400000000>;
148 clock-frequency = <1400000000>;
[all …]
/linux-6.12.1/Documentation/cpu-freq/
Dcpu-drivers.rst62 frequency while changing CPU frequency.
64 .get - Returns current frequency of the CPU.
66 .bios_limit - Returns HW/BIOS max frequency limitations for the CPU.
106 |policy->cpuinfo.max_freq | the minimum and maximum frequency |
115 |policy->cur | The current operating frequency of |
135 frequency table helpers might be helpful. See the section 2 for more information
147 See section 2 for details on frequency table helpers.
149 You need to make sure that at least one valid frequency (or operating
157 Most cpufreq drivers or even most cpu frequency scaling algorithms
158 only allow the CPU frequency to be set to predefined fixed values. For
[all …]
/linux-6.12.1/arch/arm/mach-sa1100/
Dgeneric.c48 { .frequency = 59000, /* 59.0 MHz */},
49 { .frequency = 73700, /* 73.7 MHz */},
50 { .frequency = 88500, /* 88.5 MHz */},
51 { .frequency = 103200, /* 103.2 MHz */},
52 { .frequency = 118000, /* 118.0 MHz */},
53 { .frequency = 132700, /* 132.7 MHz */},
54 { .frequency = 147500, /* 147.5 MHz */},
55 { .frequency = 162200, /* 162.2 MHz */},
56 { .frequency = 176900, /* 176.9 MHz */},
57 { .frequency = 191700, /* 191.7 MHz */},
[all …]
/linux-6.12.1/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-tuner.c30 u32 frequency; member
300 ret = mxl1x1sf_tune_rf(fe, c->frequency, bw); in mxl111sf_tuner_set_params()
304 state->frequency = c->frequency; in mxl111sf_tuner_set_params()
383 static int mxl111sf_tuner_get_frequency(struct dvb_frontend *fe, u32 *frequency) in mxl111sf_tuner_get_frequency() argument
386 *frequency = state->frequency; in mxl111sf_tuner_get_frequency()
398 u32 *frequency) in mxl111sf_tuner_get_if_frequency() argument
402 *frequency = 0; in mxl111sf_tuner_get_if_frequency()
406 *frequency = 4000000; in mxl111sf_tuner_get_if_frequency()
409 *frequency = 4500000; in mxl111sf_tuner_get_if_frequency()
412 *frequency = 4570000; in mxl111sf_tuner_get_if_frequency()
[all …]
/linux-6.12.1/drivers/devfreq/
DKconfig9 operating frequency based on the device driver's policy.
19 clock frequency of the device, which is also attached
21 responsibility to "interpret" the representative frequency and
37 Chooses frequency based on the recent load on the device. Works
46 Sets the frequency at the maximum available frequency.
47 This governor always returns UINT_MAX as frequency so that
48 the DEVFREQ framework returns the highest frequency available
54 Sets the frequency at the minimum available frequency.
55 This governor always returns 0 as frequency so that
56 the DEVFREQ framework returns the lowest frequency available
[all …]
/linux-6.12.1/drivers/media/tuners/
Dtuner-simple.c117 u32 frequency; member
261 unsigned *frequency, u8 *config, u8 *cb) in simple_config_lookup() argument
267 if (*frequency > t_params->ranges[i].limit) in simple_config_lookup()
273 *frequency, t_params->ranges[i - 1].limit); in simple_config_lookup()
274 *frequency = t_params->ranges[--i].limit; in simple_config_lookup()
280 *frequency / 16, *frequency % 16 * 100 / 16, *frequency, in simple_config_lookup()
583 i = simple_config_lookup(fe, t_params, &params->frequency, in simple_set_tv_freq()
586 div = params->frequency + IFPCoff + offset; in simple_set_tv_freq()
589 params->frequency / 16, params->frequency % 16 * 100 / 16, in simple_set_tv_freq()
673 unsigned int freq = params->frequency; in simple_set_radio_freq()
[all …]
Dit913x.c219 dev->role, c->frequency, c->bandwidth_hz); in it913x_set_params()
226 if (c->frequency <= 74000000) { in it913x_set_params()
229 } else if (c->frequency <= 111000000) { in it913x_set_params()
232 } else if (c->frequency <= 148000000) { in it913x_set_params()
235 } else if (c->frequency <= 222000000) { in it913x_set_params()
238 } else if (c->frequency <= 296000000) { in it913x_set_params()
241 } else if (c->frequency <= 445000000) { in it913x_set_params()
244 } else if (c->frequency <= dev->fn_min) { in it913x_set_params()
247 } else if (c->frequency <= 950000000) { in it913x_set_params()
274 t_cal_freq = (c->frequency / 1000) * n_div * dev->fdiv; in it913x_set_params()
[all …]
/linux-6.12.1/drivers/media/pci/bt8xx/
Ddvb-bt8xx.c153 div = (((c->frequency + 83333) * 3) / 500000) + IF_FREQUENCYx6; in thomson_dtt7579_tuner_calc_regs()
155 if (c->frequency < 542000000) in thomson_dtt7579_tuner_calc_regs()
157 else if (c->frequency < 771000000) in thomson_dtt7579_tuner_calc_regs()
162 if (c->frequency == 0) in thomson_dtt7579_tuner_calc_regs()
164 else if (c->frequency < 443250000) in thomson_dtt7579_tuner_calc_regs()
190 u32 freq = c->frequency; in cx24108_tuner_set_params()
275 div = (36000000 + c->frequency + 83333) / 166666; in microtune_mt7202dtf_tuner_set_params()
278 if (c->frequency < 175000000) in microtune_mt7202dtf_tuner_set_params()
280 else if (c->frequency < 390000000) in microtune_mt7202dtf_tuner_set_params()
282 else if (c->frequency < 470000000) in microtune_mt7202dtf_tuner_set_params()
[all …]
/linux-6.12.1/drivers/clk/
Dclk-si570.c84 u64 frequency; member
158 data->frequency = fout; in si570_get_defaults()
195 static int si570_calc_divs(unsigned long frequency, struct clk_si570 *data, in si570_calc_divs() argument
206 n1 = div_u64(div_u64(FDCO_MIN, hs_div), frequency); in si570_calc_divs()
210 fdco = (u64)frequency * (u64)hs_div * (u64)n1; in si570_calc_divs()
240 return data->frequency; in si570_recalc_rate()
260 if (div64_u64(abs(rate - data->frequency) * 10000LL, in si570_round_rate()
261 data->frequency) < 35) { in si570_round_rate()
263 div64_u64(data->frequency, 2), data->frequency); in si570_round_rate()
287 static int si570_set_frequency(struct clk_si570 *data, unsigned long frequency) in si570_set_frequency() argument
[all …]
/linux-6.12.1/drivers/staging/sm750fb/
Dddk750_chip.c56 static void set_chip_clock(unsigned int frequency) in set_chip_clock() argument
64 if (frequency) { in set_chip_clock()
78 sm750_calc_pll_value(frequency, &pll); in set_chip_clock()
85 static void set_memory_clock(unsigned int frequency) in set_memory_clock() argument
96 if (frequency) { in set_memory_clock()
101 if (frequency > MHz(336)) in set_memory_clock()
102 frequency = MHz(336); in set_memory_clock()
105 divisor = DIV_ROUND_CLOSEST(get_mxclk_freq(), frequency); in set_memory_clock()
137 static void set_master_clock(unsigned int frequency) in set_master_clock() argument
148 if (frequency) { in set_master_clock()
[all …]
/linux-6.12.1/arch/arm/boot/dts/intel/socfpga/
Dsocfpga_vt.dts27 clock-frequency = <10000000>;
45 clock-frequency = <7000000>;
49 clock-frequency = <7000000>;
53 clock-frequency = <7000000>;
57 clock-frequency = <7000000>;
61 clock-frequency = <7372800>;
65 clock-frequency = <7372800>;
/linux-6.12.1/drivers/i2c/busses/
Di2c-pasemi-platform.c25 u32 frequency) in pasemi_platform_i2c_calc_clk_div() argument
32 data->smbus.clk_div = DIV_ROUND_UP(clk_rate, 16 * frequency); in pasemi_platform_i2c_calc_clk_div()
36 frequency); in pasemi_platform_i2c_calc_clk_div()
40 frequency); in pasemi_platform_i2c_calc_clk_div()
50 u32 frequency; in pasemi_platform_i2c_probe() local
66 if (of_property_read_u32(dev->of_node, "clock-frequency", &frequency)) in pasemi_platform_i2c_probe()
67 frequency = I2C_MAX_STANDARD_MODE_FREQ; in pasemi_platform_i2c_probe()
73 error = pasemi_platform_i2c_calc_clk_div(data, frequency); in pasemi_platform_i2c_probe()
/linux-6.12.1/arch/arm64/boot/dts/amd/
Damd-seattle-clks.dtsi11 clock-frequency = <100000000>;
18 clock-frequency = <375000000>;
25 clock-frequency = <333000000>;
32 clock-frequency = <500000000>;
39 clock-frequency = <500000000>;
46 clock-frequency = <250000000>;
53 clock-frequency = <100000000>;
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm11351.dtsi271 clock-frequency = <1000000>;
277 clock-frequency = <32768>;
283 clock-frequency = <32768>;
289 clock-frequency = <13000000>;
295 clock-frequency = <13000000>;
301 clock-frequency = <19500000>;
307 clock-frequency = <26000000>;
313 clock-frequency = <40000000>;
319 clock-frequency = <52000000>;
325 clock-frequency = <52000000>;
[all …]

12345678910>>...113