Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 200 of 1640) sorted by relevance

123456789

/linux-4.4.14/arch/arm/mach-s3c24xx/
Dpll-s3c2440-16934400.c24 { .frequency = 78019200, .driver_data = PLLVAL(121, 5, 3), }, /* FVco 624.153600 */
25 { .frequency = 84067200, .driver_data = PLLVAL(131, 5, 3), }, /* FVco 672.537600 */
26 { .frequency = 90115200, .driver_data = PLLVAL(141, 5, 3), }, /* FVco 720.921600 */
27 { .frequency = 96163200, .driver_data = PLLVAL(151, 5, 3), }, /* FVco 769.305600 */
28 { .frequency = 102135600, .driver_data = PLLVAL(185, 6, 3), }, /* FVco 817.084800 */
29 { .frequency = 108259200, .driver_data = PLLVAL(171, 5, 3), }, /* FVco 866.073600 */
30 { .frequency = 114307200, .driver_data = PLLVAL(127, 3, 3), }, /* FVco 914.457600 */
31 { .frequency = 120234240, .driver_data = PLLVAL(134, 3, 3), }, /* FVco 961.873920 */
32 { .frequency = 126161280, .driver_data = PLLVAL(141, 3, 3), }, /* FVco 1009.290240 */
33 { .frequency = 132088320, .driver_data = PLLVAL(148, 3, 3), }, /* FVco 1056.706560 */
[all …]
Dpll-s3c2410.c36 { .frequency = 34000000, .driver_data = PLLVAL(82, 2, 3), },
37 { .frequency = 45000000, .driver_data = PLLVAL(82, 1, 3), },
38 { .frequency = 51000000, .driver_data = PLLVAL(161, 3, 3), },
39 { .frequency = 48000000, .driver_data = PLLVAL(120, 2, 3), },
40 { .frequency = 56000000, .driver_data = PLLVAL(142, 2, 3), },
41 { .frequency = 68000000, .driver_data = PLLVAL(82, 2, 2), },
42 { .frequency = 79000000, .driver_data = PLLVAL(71, 1, 2), },
43 { .frequency = 85000000, .driver_data = PLLVAL(105, 2, 2), },
44 { .frequency = 90000000, .driver_data = PLLVAL(112, 2, 2), },
45 { .frequency = 101000000, .driver_data = PLLVAL(127, 2, 2), },
[all …]
Dpll-s3c2440-12000000.c24 { .frequency = 75000000, .driver_data = PLLVAL(0x75, 3, 3), }, /* FVco 600.000000 */
25 { .frequency = 80000000, .driver_data = PLLVAL(0x98, 4, 3), }, /* FVco 640.000000 */
26 { .frequency = 90000000, .driver_data = PLLVAL(0x70, 2, 3), }, /* FVco 720.000000 */
27 { .frequency = 100000000, .driver_data = PLLVAL(0x5c, 1, 3), }, /* FVco 800.000000 */
28 { .frequency = 110000000, .driver_data = PLLVAL(0x66, 1, 3), }, /* FVco 880.000000 */
29 { .frequency = 120000000, .driver_data = PLLVAL(0x70, 1, 3), }, /* FVco 960.000000 */
30 { .frequency = 150000000, .driver_data = PLLVAL(0x75, 3, 2), }, /* FVco 600.000000 */
31 { .frequency = 160000000, .driver_data = PLLVAL(0x98, 4, 2), }, /* FVco 640.000000 */
32 { .frequency = 170000000, .driver_data = PLLVAL(0x4d, 1, 2), }, /* FVco 680.000000 */
33 { .frequency = 180000000, .driver_data = PLLVAL(0x70, 2, 2), }, /* FVco 720.000000 */
[all …]
/linux-4.4.14/drivers/media/dvb-frontends/
Dtda665x.c33 u32 frequency; member
78 tstate->frequency = state->frequency; in tda665x_get_state()
120 u32 frequency, status = 0; in tda665x_set_state() local
126 frequency = tstate->frequency; in tda665x_set_state()
127 if ((frequency < config->frequency_max) || (frequency > config->frequency_min)) { in tda665x_set_state()
128 printk(KERN_ERR "%s: Frequency beyond limits, frequency=%d\n", __func__, frequency); in tda665x_set_state()
132 frequency += config->frequency_offst; in tda665x_set_state()
133 frequency *= config->ref_multiplier; in tda665x_set_state()
134 frequency += config->ref_divider >> 1; in tda665x_set_state()
135 frequency /= config->ref_divider; in tda665x_set_state()
[all …]
Dix2505v.c40 u32 frequency; member
136 u32 frequency = c->frequency; in ix2505v_set_params() local
143 if ((frequency < fe->ops.info.frequency_min) in ix2505v_set_params()
144 || (frequency > fe->ops.info.frequency_max)) in ix2505v_set_params()
161 div_factor = (frequency * ref) / 40; /* local osc = 4Mhz */ in ix2505v_set_params()
170 deb_info("Frq=%d x=%d N=%d A=%d\n", frequency, x, N, A); in ix2505v_set_params()
172 if (frequency <= 1065000) in ix2505v_set_params()
174 else if (frequency <= 1170000) in ix2505v_set_params()
176 else if (frequency <= 1300000) in ix2505v_set_params()
178 else if (frequency <= 1445000) in ix2505v_set_params()
[all …]
Dtda8261.c35 u32 frequency; member
95 tstate->frequency = state->frequency; in tda8261_get_state()
115 u32 frequency, N, status = 0; in tda8261_set_state() local
125 frequency = tstate->frequency; in tda8261_set_state()
126 if ((frequency < 950000) || (frequency > 2150000)) { in tda8261_set_state()
127 pr_warn("%s: Frequency beyond limits, frequency=%d\n", __func__, frequency); in tda8261_set_state()
130 N = (frequency + (div_tab[config->step_size] - 1)) / div_tab[config->step_size]; in tda8261_set_state()
138 if (frequency < 1450000) in tda8261_set_state()
140 else if (frequency < 2000000) in tda8261_set_state()
142 else if (frequency < 2150000) in tda8261_set_state()
[all …]
Dhorus3a.c38 u32 frequency; member
177 u32 frequency = p->frequency; in horus3a_set_params() local
188 __func__, frequency, symbol_rate); in horus3a_set_params()
195 frequency = DIV_ROUND_CLOSEST(frequency, 1000) * 1000; in horus3a_set_params()
196 if (frequency <= 1155000) { in horus3a_set_params()
204 ms = DIV_ROUND_CLOSEST((frequency * mixdiv) / 2, 1000); in horus3a_set_params()
207 frequency); in horus3a_set_params()
210 if (frequency < 975000) { in horus3a_set_params()
214 } else if (frequency < 1050000) { in horus3a_set_params()
218 } else if (frequency < 1150000) { in horus3a_set_params()
[all …]
Dtda8261_cfg.h20 static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda8261_get_frequency() argument
33 *frequency = t_state.frequency; in tda8261_get_frequency()
34 printk("%s: Frequency=%d\n", __func__, t_state.frequency); in tda8261_get_frequency()
39 static int tda8261_set_frequency(struct dvb_frontend *fe, u32 frequency) in tda8261_set_frequency() argument
46 t_state.frequency = frequency; in tda8261_set_frequency()
55 printk("%s: Frequency=%d\n", __func__, t_state.frequency); in tda8261_set_frequency()
Dtdhd1.h51 div = (p->frequency + 36166666) / 166666; in alps_tdhd1_204a_tuner_set_params()
57 if (p->frequency >= 174000000 && p->frequency <= 230000000) in alps_tdhd1_204a_tuner_set_params()
59 else if (p->frequency >= 470000000 && p->frequency <= 823000000) in alps_tdhd1_204a_tuner_set_params()
61 else if (p->frequency > 823000000 && p->frequency <= 862000000) in alps_tdhd1_204a_tuner_set_params()
Dzl10036.c48 u32 frequency; member
184 static int zl10036_set_frequency(struct zl10036_state *state, u32 frequency) in zl10036_set_frequency() argument
189 div = (frequency + _FR/2) / _FR; in zl10036_set_frequency()
190 state->frequency = div * _FR; in zl10036_set_frequency()
192 foffset = frequency - state->frequency; in zl10036_set_frequency()
198 frequency, state->frequency, foffset, div); in zl10036_set_frequency()
313 u32 frequency = p->frequency; in zl10036_set_params() local
320 if ((frequency < fe->ops.info.frequency_min) in zl10036_set_params()
321 || (frequency > fe->ops.info.frequency_max)) in zl10036_set_params()
338 if (frequency < 950000) in zl10036_set_params()
[all …]
Dtua6100.c42 u32 frequency; member
88 if (c->frequency < 2000000) in tua6100_set_params()
94 if (c->frequency < 1630000) in tua6100_set_params()
101 if (c->frequency >= 1525000) in tua6100_set_params()
107 if (c->frequency < 1455000) in tua6100_set_params()
109 else if (c->frequency < 1630000) in tua6100_set_params()
118 prediv = (c->frequency * _R) / (_ri / 1000); in tua6100_set_params()
123 priv->frequency = ((div * _P) * (_ri / 1000)) / _R; in tua6100_set_params()
153 static int tua6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tua6100_get_frequency() argument
156 *frequency = priv->frequency; in tua6100_get_frequency()
Dstb6100_cfg.h22 static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6100_get_frequency() argument
35 *frequency = t_state.frequency; in stb6100_get_frequency()
40 static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) in stb6100_set_frequency() argument
47 t_state.frequency = frequency; in stb6100_set_frequency()
Ddvb-pll.c40 u32 frequency; member
564 const u32 frequency) in dvb_pll_configure() argument
571 if (frequency && (frequency < desc->min || frequency > desc->max)) in dvb_pll_configure()
575 if (frequency > desc->entries[i].limit) in dvb_pll_configure()
582 frequency, i, desc->count); in dvb_pll_configure()
586 div = (frequency + desc->iffreq + in dvb_pll_configure()
646 u32 frequency = 0; in dvb_pll_set_params() local
651 result = dvb_pll_configure(fe, buf, c->frequency); in dvb_pll_set_params()
655 frequency = result; in dvb_pll_set_params()
663 priv->frequency = frequency; in dvb_pll_set_params()
[all …]
Dascot2e.c38 u32 frequency; member
323 u32 frequency; in ascot2e_set_params() local
329 __func__, p->frequency / 1000); in ascot2e_set_params()
339 frequency = roundup(p->frequency / 1000, 25); in ascot2e_set_params()
362 data[0] = (frequency > 500000) ? 16 : 32; in ascot2e_set_params()
365 data[0] = (frequency > 500000) ? 2 : 4; in ascot2e_set_params()
383 data[5] = (frequency > 500000) ? 0x08 : 0x0c; in ascot2e_set_params()
385 data[5] = (frequency > 500000) ? 0x30 : 0x38; in ascot2e_set_params()
439 data[0] = (u8)(frequency & 0xFF); /* 0x10: FRF_L */ in ascot2e_set_params()
440 data[1] = (u8)((frequency >> 8) & 0xFF); /* 0x11: FRF_M */ in ascot2e_set_params()
[all …]
Dstb6100_proc.h20 static int stb6100_get_freq(struct dvb_frontend *fe, u32 *frequency) in stb6100_get_freq() argument
40 *frequency = state.frequency; in stb6100_get_freq()
46 static int stb6100_set_freq(struct dvb_frontend *fe, u32 frequency) in stb6100_set_freq() argument
53 state.frequency = frequency; in stb6100_set_freq()
Dstb6100.c307 static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6100_get_frequency() argument
324 *frequency = state->frequency = fvco >> (odiv + 1); in stb6100_get_frequency()
328 state->frequency, odiv, psd2, state->reference, fvco, nint, nfrac); in stb6100_get_frequency()
333 static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) in stb6100_set_frequency() argument
366 if (frequency <= 1075000) in stb6100_set_frequency()
376 (ptr->val_high != 0) && !CHKRANGE(frequency, ptr->val_low, ptr->val_high); in stb6100_set_frequency()
380 printk(KERN_ERR "%s: frequency out of range: %u kHz\n", __func__, frequency); in stb6100_set_frequency()
388 if ((frequency > 1075000) && (frequency <= 1325000)) in stb6100_set_frequency()
393 fvco = frequency << (1 + odiv); in stb6100_set_frequency()
444 frequency, srate, (unsigned int)g, (unsigned int)odiv, in stb6100_set_frequency()
[all …]
Dtda826x.c41 u32 frequency; member
87 div = (p->frequency + (1000-1)) / 1000; in tda826x_set_params()
120 priv->frequency = div * 1000; in tda826x_set_params()
125 static int tda826x_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda826x_get_frequency() argument
128 *frequency = priv->frequency; in tda826x_get_frequency()
Dbsru6.h112 if ((p->frequency < 950000) || (p->frequency > 2150000)) in alps_bsru6_tuner_set_params()
115 div = (p->frequency + (125 - 1)) / 125; /* round correctly */ in alps_bsru6_tuner_set_params()
121 if (p->frequency > 1530000) in alps_bsru6_tuner_set_params()
Dstb6000.c41 u32 frequency; member
96 freq_mhz = p->frequency / 1000; in stb6000_set_params()
175 priv->frequency = freq_mhz * 1000; in stb6000_set_params()
182 static int stb6000_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6000_get_frequency() argument
185 *frequency = priv->frequency; in stb6000_get_frequency()
Dcx24113.c97 u32 frequency; member
310 s32 freq_hz = state->frequency * 1000; in cx24113_calc_pll_nf()
318 if (state->frequency >= 1100000) in cx24113_calc_pll_nf()
323 if (state->frequency >= 1165000) in cx24113_calc_pll_nf()
393 static int cx24113_set_frequency(struct cx24113_state *state, u32 frequency) in cx24113_set_frequency() argument
405 state->frequency = frequency; in cx24113_set_frequency()
407 dprintk("tuning to frequency: %d\n", frequency); in cx24113_set_frequency()
493 cx24113_set_frequency(state, c->frequency); in cx24113_set_params()
523 static int cx24113_get_frequency(struct dvb_frontend *fe, u32 *frequency) in cx24113_get_frequency() argument
526 *frequency = state->frequency; in cx24113_get_frequency()
Dstv6110x.c118 static int stv6110x_set_frequency(struct dvb_frontend *fe, u32 frequency) in stv6110x_set_frequency() argument
127 if (frequency <= 1023000) { in stv6110x_set_frequency()
131 } else if (frequency <= 1300000) { in stv6110x_set_frequency()
135 } else if (frequency <= 2046000) { in stv6110x_set_frequency()
154 divider = (frequency * R_DIV(rDivOpt) * pVal) / REFCLOCK_kHz; in stv6110x_set_frequency()
179 static int stv6110x_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stv6110x_get_frequency() argument
186 *frequency = (MAKEWORD16(STV6110x_GETFIELD(TNG1_N_DIV_11_8, stv6110x->regs[STV6110x_TNG1]), in stv6110x_get_frequency()
189 *frequency /= (1 << (STV6110x_GETFIELD(TNG1_R_DIV, stv6110x->regs[STV6110x_TNG1]) + in stv6110x_get_frequency()
192 *frequency >>= 2; in stv6110x_get_frequency()
Dstv6110.c238 static int stv6110_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stv6110_get_frequency() argument
258 *frequency = freq; in stv6110_get_frequency()
263 static int stv6110_set_frequency(struct dvb_frontend *fe, u32 frequency) in stv6110_set_frequency() argument
273 frequency, priv->mclk); in stv6110_set_frequency()
291 if (frequency <= 1023000) { in stv6110_set_frequency()
294 } else if (frequency <= 1300000) { in stv6110_set_frequency()
297 } else if (frequency <= 2046000) { in stv6110_set_frequency()
324 divider = (((frequency * 1000) + (ref >> 1)) / ref); in stv6110_set_frequency()
365 stv6110_set_frequency(fe, c->frequency); in stv6110_set_params()
Dbsbe1.h81 if ((p->frequency < 950000) || (p->frequency > 2150000)) in alps_bsbe1_tuner_set_params()
84 div = p->frequency / 1000; in alps_bsbe1_tuner_set_params()
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-ocores.txt8 Mutually exclusive with opencores,ip-clock-frequency
9 - opencores,ip-clock-frequency: frequency of the controller clock in Hz;
15 - clock-frequency : frequency of bus clock in Hz; see the note below.
22 clock-frequency property is meant to control the bus frequency for i2c bus
24 frequency. So the following rules are set to fix this situation:
25 - if clock-frequency is present and neither opencores,ip-clock-frequency nor
26 clocks are, then clock-frequency specifies i2c controller clock frequency.
28 frequency is fixed at 100 KHz.
29 - if clocks is present it specifies i2c controller clock. clock-frequency
30 property specifies i2c bus frequency.
[all …]
Di2c-mv64xxx.txt21 - clock-frequency : Desired I2C bus clock frequency in Hz. If not set the
22 default frequency is 100kHz
34 clock-frequency = <100000>;
43 clock-frequency = <100000>;
Di2c-rcar.txt19 - clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
20 propoerty indicates the default frequency 100 kHz.
32 clock-frequency = <400000>;
Di2c-axxia.txt14 - clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
15 the default 100 kHz frequency will be used. As only Normal and Fast modes
29 clock-frequency = <400000>;
Di2c-omap.txt11 - clock-frequency : Desired I2C bus clock frequency in Hz. Otherwise
12 the default 100 kHz frequency will be used.
30 clock-frequency = <400000>;
Di2c-nomadik.txt7 - clock-frequency : Maximum bus clock frequency for the device
22 clock-frequency = <400000>;
Di2c-sunxi-p2wi.txt15 - clock-frequency : Desired P2WI bus clock frequency in Hz. If not set the
16 default frequency is 100kHz
32 clock-frequency = <6000000>;
Dbrcm,bcm2835-i2c.txt10 - clock-frequency : desired I2C bus clock frequency in Hz.
19 clock-frequency = <100000>;
Di2c-sirf.txt10 - clock-frequency : Constains desired I2C/HS-I2C bus clock frequency in Hz.
11 The absence of the propoerty indicates the default frequency 100 kHz.
Di2c-xlp9xx.txt9 - clock-frequency : frequency of bus clock in Hz
19 clock-frequency = <400000>;
Di2c-vt8500.txt12 - clock-frequency : desired I2C bus clock frequency in Hz.
23 clock-frequency = <400000>;
Di2c-designware.txt11 - clock-frequency : desired I2C bus clock frequency in Hz.
31 clock-frequency = <400000>;
41 clock-frequency = <400000>;
Di2c-uniphier-f.txt12 - clock-frequency: desired I2C bus frequency in Hz. The maximum supported
24 clock-frequency = <100000>;
Di2c-digicolor.txt12 - clock-frequency: the desired I2C bus clock frequency in Hz; in
22 clock-frequency = <100000>;
Di2c-uniphier.txt12 - clock-frequency: desired I2C bus frequency in Hz. The maximum supported
24 clock-frequency = <100000>;
Di2c-lpc2k.txt12 - clock-frequency: the desired I2C bus clock frequency in Hz; in
26 clock-frequency = <400000>;
Di2c-efm32.txt12 - clock-frequency : maximal I2C bus clock frequency in Hz.
24 clock-frequency = <100000>;
Di2c-riic.txt7 - clock-frequency : frequency of bus clock in Hz
26 clock-frequency = <100000>;
Di2c-img-scb.txt11 - clock-frequency: The I2C bus frequency in Hz
23 clock-frequency = <400000>;
Di2c-mxs.txt7 - clock-frequency: Desired I2C bus clock frequency in Hz.
22 clock-frequency = <100000>;
Di2c-pnx.txt15 - clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz
35 clock-frequency = <100000>;
Di2c-exynos5.txt29 - clock-frequency: Desired operating frequency in Hz of the bus.
33 clock-frequency is >= 1Mhz.
41 clock-frequency = <100000>;
Di2c-jz4780.txt8 - clock-frequency: desired I2C bus clock frequency in Hz.
29 clock-frequency = <100000>;
Dbrcm,kona-i2c.txt18 - clock-frequency: The I2C bus frequency in Hz
32 clock-frequency = <400000>;
Di2c-cadence.txt16 - clock-frequency: Desired operating frequency, in Hz, of the bus.
25 clock-frequency = <400000>;
Di2c-davinci.txt12 - clock-frequency : desired I2C bus clock frequency in Hz.
21 clock-frequency = <100000>;
Di2c-st.txt14 - clock-frequency : Desired I2C bus clock frequency in Hz. If not specified,
15 the default 100 kHz frequency will be used. As only Normal and Fast modes
36 clock-frequency = <400000>;
/linux-4.4.14/drivers/cpufreq/
Dfreq_table.c45 freq = pos->frequency; in cpufreq_frequency_table_cpuinfo()
82 freq = pos->frequency; in cpufreq_frequency_table_verify()
128 .frequency = 0, in cpufreq_frequency_table_target()
132 .frequency = 0, in cpufreq_frequency_table_target()
142 suboptimal.frequency = ~0; in cpufreq_frequency_table_target()
146 optimal.frequency = ~0; in cpufreq_frequency_table_target()
151 freq = pos->frequency; in cpufreq_frequency_table_target()
163 if (freq >= optimal.frequency) { in cpufreq_frequency_table_target()
164 optimal.frequency = freq; in cpufreq_frequency_table_target()
168 if (freq <= suboptimal.frequency) { in cpufreq_frequency_table_target()
[all …]
Dat32ap-cpufreq.c34 new_freq = freq_table[index].frequency; in at32_set_target()
54 unsigned int frequency, rate, min_freq; in at32_cpufreq_driver_init() local
69 frequency = (clk_round_rate(cpuclk, ~0UL) + 500) / 1000; in at32_cpufreq_driver_init()
79 steps = fls(frequency / min_freq) + 1; in at32_cpufreq_driver_init()
88 rate = clk_round_rate(cpuclk, frequency * 1000) / 1000; in at32_cpufreq_driver_init()
90 if (rate != frequency) in at32_cpufreq_driver_init()
91 freq_table[i].frequency = CPUFREQ_ENTRY_INVALID; in at32_cpufreq_driver_init()
93 freq_table[i].frequency = frequency; in at32_cpufreq_driver_init()
95 frequency /= 2; in at32_cpufreq_driver_init()
99 freq_table[steps - 1].frequency = CPUFREQ_TABLE_END; in at32_cpufreq_driver_init()
Dtegra20-cpufreq.c31 { .frequency = 216000 },
32 { .frequency = 312000 },
33 { .frequency = 456000 },
34 { .frequency = 608000 },
35 { .frequency = 760000 },
36 { .frequency = 816000 },
37 { .frequency = 912000 },
38 { .frequency = 1000000 },
39 { .frequency = CPUFREQ_TABLE_END },
60 if ((freq_table[index].frequency == ifreq) || (policy->cur == ifreq)) in tegra_get_intermediate()
[all …]
DKconfig29 tristate "CPU frequency translation statistics"
32 This driver exports CPU frequency statistics information through sysfs
41 bool "CPU frequency translation statistics details"
44 This will show detail CPU frequency translation table in sysfs file
62 the frequency statically to the highest frequency supported by
70 the frequency statically to the lowest frequency supported by
78 you to set the CPU frequency manually or when a userspace
88 you to get a full dynamic frequency capable system by simply
100 you to get a full dynamic frequency capable system by simply
110 This cpufreq governor sets the frequency statically to the
[all …]
Dqoriq-cpufreq.c154 if (freq_table[j].frequency == CPUFREQ_ENTRY_INVALID || in freq_table_redup()
155 freq_table[j].frequency != in freq_table_redup()
156 freq_table[i].frequency) in freq_table_redup()
159 freq_table[i].frequency = CPUFREQ_ENTRY_INVALID; in freq_table_redup()
174 max_freq = freq_table[i].frequency; in freq_table_sort()
177 freq = freq_table[j].frequency; in freq_table_sort()
188 table.frequency = freq_table[i].frequency; in freq_table_sort()
190 freq_table[i].frequency = freq_table[ind].frequency; in freq_table_sort()
192 freq_table[ind].frequency = table.frequency; in freq_table_sort()
255 table[i].frequency = CPUFREQ_ENTRY_INVALID; in qoriq_cpufreq_cpu_init()
[all …]
Ds3c64xx-cpufreq.c64 new_freq = s3c64xx_freq_table[index].frequency; in s3c64xx_cpufreq_set_target()
136 freq->frequency); in s3c64xx_cpufreq_config_regulator()
137 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_config_regulator()
184 r = clk_round_rate(policy->clk, freq->frequency * 1000); in s3c64xx_cpufreq_driver_init()
186 if (r != freq->frequency) { in s3c64xx_cpufreq_driver_init()
188 freq->frequency); in s3c64xx_cpufreq_driver_init()
189 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()
194 if (!vddarm && freq->frequency > clk_get_rate(policy->clk) / 1000) in s3c64xx_cpufreq_driver_init()
195 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()
DKconfig.powerpc2 tristate "CBE frequency scaling"
11 bool "CBE frequency scaling using PMI interface"
23 This adds support for frequency switching on Maple 970FX
30 This adds support for frequency switching on Apple PowerBooks,
38 This adds support for frequency switching on Apple iMac G5,
46 This adds the support for frequency switching on PA Semi
50 tristate "CPU frequency scaling for IBM POWERNV platform"
54 This adds support for CPU frequency switching on IBM POWERNV
Dmaple-cpufreq.c110 ppc_proc_freq = maple_cpu_freqs[speed_mode].frequency * 1000ul; in maple_scom_switch_freq()
139 return maple_cpu_freqs[maple_pmode_cur].frequency; in maple_cpufreq_get_speed()
214 maple_cpu_freqs[0].frequency = max_freq; in maple_cpufreq_init()
215 maple_cpu_freqs[1].frequency = max_freq/2; in maple_cpufreq_init()
227 maple_cpu_freqs[1].frequency/1000, in maple_cpufreq_init()
228 maple_cpu_freqs[0].frequency/1000, in maple_cpufreq_init()
229 maple_cpu_freqs[maple_pmode_cur].frequency/1000); in maple_cpufreq_init()
Dblackfin-cpufreq.c26 .frequency = CPUFREQ_TABLE_END,
30 .frequency = CPUFREQ_TABLE_END,
34 .frequency = CPUFREQ_TABLE_END,
38 .frequency = CPUFREQ_TABLE_END,
81 bfin_freq_table[index].frequency = cclk >> index; in bfin_init_tables()
90 bfin_freq_table[index].frequency, in bfin_init_tables()
145 new_freq = bfin_freq_table[index].frequency; in bfin_target()
Dspeedstep-centrino.c85 .frequency = (mhz) * 1000, \
102 { .frequency = CPUFREQ_TABLE_END }
112 { .frequency = CPUFREQ_TABLE_END }
123 { .frequency = CPUFREQ_TABLE_END }
136 { .frequency = CPUFREQ_TABLE_END }
147 { .frequency = CPUFREQ_TABLE_END }
158 { .frequency = CPUFREQ_TABLE_END }
170 { .frequency = CPUFREQ_TABLE_END }
182 { .frequency = CPUFREQ_TABLE_END }
194 { .frequency = CPUFREQ_TABLE_END }
[all …]
Dpmac64-cpufreq.c188 ppc_proc_freq = g5_cpu_freqs[speed_mode].frequency * 1000ul; in g5_scom_switch_freq()
292 ppc_proc_freq = g5_cpu_freqs[speed_mode].frequency * 1000ul; in g5_pfunc_switch_freq()
320 return g5_cpu_freqs[g5_pmode_cur].frequency; in g5_cpufreq_get_speed()
438 g5_cpu_freqs[0].frequency = max_freq; in g5_neo2_cpufreq_init()
439 g5_cpu_freqs[1].frequency = max_freq/2; in g5_neo2_cpufreq_init()
460 g5_cpu_freqs[1].frequency/1000, in g5_neo2_cpufreq_init()
461 g5_cpu_freqs[0].frequency/1000, in g5_neo2_cpufreq_init()
462 g5_cpu_freqs[g5_pmode_cur].frequency/1000); in g5_neo2_cpufreq_init()
602 g5_cpu_freqs[0].frequency = max_freq; in g5_pm72_cpufreq_init()
603 g5_cpu_freqs[1].frequency = min_freq; in g5_pm72_cpufreq_init()
[all …]
Dexynos5440-cpufreq.c124 pos->frequency * 1000, true); in init_div_table()
129 pos->frequency); in init_div_table()
133 freq = pos->frequency / 1000; /* In MHZ */ in init_div_table()
186 if (pos->frequency == cur_frequency) in exynos_enable_dvfs()
189 if (pos->frequency == CPUFREQ_TABLE_END) { in exynos_enable_dvfs()
193 cur_frequency = pos->frequency; in exynos_enable_dvfs()
220 freqs.new = freq_table[index].frequency; in exynos_target()
256 freqs.new = freq_table[index].frequency; in exynos_cpufreq_work()
295 tmp_freq = freq_tbl[i].frequency; in exynos_sort_descend_freq_table()
296 freq_tbl[i].frequency = freq_tbl[index].frequency; in exynos_sort_descend_freq_table()
[all …]
Ds3c2416-cpufreq.c246 : s3c_freq->freq_table[index].frequency; in s3c2416_cpufreq_set_target()
294 pos->frequency); in s3c2416_cpufreq_cfg_regulator()
295 pos->frequency = CPUFREQ_ENTRY_INVALID; in s3c2416_cpufreq_cfg_regulator()
433 pos->frequency); in s3c2416_cpufreq_driver_init()
434 pos->frequency = CPUFREQ_ENTRY_INVALID; in s3c2416_cpufreq_driver_init()
442 pos->frequency * 1000); in s3c2416_cpufreq_driver_init()
444 if (rate != pos->frequency) { in s3c2416_cpufreq_driver_init()
446 pos->frequency, rate); in s3c2416_cpufreq_driver_init()
447 pos->frequency = CPUFREQ_ENTRY_INVALID; in s3c2416_cpufreq_driver_init()
Dppc_cbe_cpufreq.c107 pos->frequency = max_freq / pos->driver_data; in cbe_cpufreq_cpu_init()
108 pr_debug("%d: %d\n", (int)(pos - cbe_freqs), pos->frequency); in cbe_cpufreq_cpu_init()
118 policy->cur = cbe_freqs[cur_pmode].frequency; in cbe_cpufreq_cpu_init()
135 cbe_freqs[cbe_pmode_new].frequency, in cbe_cpufreq_target()
Darm_big_little.c218 freqs_new = freq_table[cur_cluster][index].frequency; in bL_cpufreq_set_target()
237 for (count = 0; table[count].frequency != CPUFREQ_TABLE_END; count++) in get_table_count()
249 if (pos->frequency < min_freq) in get_table_min()
250 min_freq = pos->frequency; in get_table_min()
260 if (pos->frequency > max_freq) in get_table_max()
261 max_freq = pos->frequency; in get_table_max()
281 for (j = 0; freq_table[i][j].frequency != CPUFREQ_TABLE_END; in merge_cluster_tables()
283 table[k].frequency = VIRT_FREQ(i, in merge_cluster_tables()
284 freq_table[i][j].frequency); in merge_cluster_tables()
286 table[k].frequency); in merge_cluster_tables()
[all …]
Dpasemi-cpufreq.c202 pos->frequency = get_astate_freq(pos->driver_data) * 100000; in pas_cpufreq_cpu_init()
203 pr_debug("%d: %d\n", (int)(pos - pas_freqs), pos->frequency); in pas_cpufreq_cpu_init()
209 policy->cur = pas_freqs[cur_astate].frequency; in pas_cpufreq_cpu_init()
247 pas_freqs[pas_astate_new].frequency, in pas_cpufreq_target()
255 ppc_proc_freq = pas_freqs[pas_astate_new].frequency * 1000ul; in pas_cpufreq_target()
Ds3c24xx-cpufreq.c73 cfg->pll.frequency = fclk; in s3c_cpufreq_getcur()
83 unsigned long pll = cfg->pll.frequency; in s3c_cpufreq_calc()
105 pfx, cfg->pll.frequency, cfg->freq.fclk, cfg->freq.armclk, in s3c_cpufreq_show()
175 cpu_new.freq.fclk = cpu_new.pll.frequency; in s3c_cpufreq_settarget()
209 s3c_cpufreq_updateclk(_clk_mpll, cpu_new.pll.frequency); in s3c_cpufreq_settarget()
302 target_freq, index, ftab[index].frequency); in s3c_cpufreq_target()
303 target_freq = ftab[index].frequency; in s3c_cpufreq_target()
341 __func__, target_freq, pll->frequency); in s3c_cpufreq_target()
343 target_freq = pll->frequency; in s3c_cpufreq_target()
400 suspend_pll.frequency = clk_get_rate(_clk_mpll); in s3c_cpufreq_suspend()
[all …]
Dsparc-us2e-cpufreq.c284 table[0].frequency = clock_tick / 1; in us2e_freq_cpu_init()
286 table[1].frequency = clock_tick / 2; in us2e_freq_cpu_init()
288 table[2].frequency = clock_tick / 4; in us2e_freq_cpu_init()
290 table[2].frequency = clock_tick / 6; in us2e_freq_cpu_init()
292 table[2].frequency = clock_tick / 8; in us2e_freq_cpu_init()
294 table[3].frequency = CPUFREQ_TABLE_END; in us2e_freq_cpu_init()
Dls1x-cpufreq.c52 new_freq = policy->freq_table[index].frequency; in ls1x_cpufreq_target()
96 freq_tbl[i].frequency = CPUFREQ_ENTRY_INVALID; in ls1x_cpufreq_init()
98 freq_tbl[i].frequency = freq; in ls1x_cpufreq_init()
101 freq_tbl[i].frequency); in ls1x_cpufreq_init()
103 freq_tbl[i].frequency = CPUFREQ_TABLE_END; in ls1x_cpufreq_init()
Dpxa2xx-cpufreq.c379 pxa255_run_freq_table[i].frequency = pxa255_run_freqs[i].khz; in pxa_cpufreq_init()
382 pxa255_run_freq_table[i].frequency = CPUFREQ_TABLE_END; in pxa_cpufreq_init()
386 pxa255_turbo_freq_table[i].frequency = in pxa_cpufreq_init()
390 pxa255_turbo_freq_table[i].frequency = CPUFREQ_TABLE_END; in pxa_cpufreq_init()
399 pxa27x_freq_table[i].frequency = freq; in pxa_cpufreq_init()
403 pxa27x_freq_table[i].frequency = CPUFREQ_TABLE_END; in pxa_cpufreq_init()
/linux-4.4.14/arch/arm/boot/dts/
Ddm814x-clocks.dtsi12 clock-frequency = <32768>;
18 clock-frequency = <20000000>;
25 clock-frequency = <27000000>;
31 clock-frequency = <1000000000>;
37 clock-frequency = <222000000>;
43 clock-frequency = <100000000>;
49 clock-frequency = <48000000>;
55 clock-frequency = <32768>;
61 clock-frequency = <125000000>;
67 clock-frequency = <250000000>;
[all …]
Daxm5516-cpus.dtsi80 clock-frequency= <1400000000>;
88 clock-frequency= <1400000000>;
96 clock-frequency= <1400000000>;
104 clock-frequency= <1400000000>;
112 clock-frequency= <1400000000>;
120 clock-frequency= <1400000000>;
128 clock-frequency= <1400000000>;
136 clock-frequency= <1400000000>;
144 clock-frequency= <1400000000>;
152 clock-frequency= <1400000000>;
[all …]
Dexynos5422-cpus.dtsi23 clock-frequency = <1000000000>;
31 clock-frequency = <1000000000>;
39 clock-frequency = <1000000000>;
47 clock-frequency = <1000000000>;
55 clock-frequency = <1800000000>;
63 clock-frequency = <1800000000>;
71 clock-frequency = <1800000000>;
79 clock-frequency = <1800000000>;
Dbcm11351.dtsi283 clock-frequency = <1000000>;
289 clock-frequency = <32768>;
295 clock-frequency = <32768>;
301 clock-frequency = <13000000>;
307 clock-frequency = <13000000>;
313 clock-frequency = <19500000>;
319 clock-frequency = <26000000>;
325 clock-frequency = <40000000>;
331 clock-frequency = <52000000>;
337 clock-frequency = <52000000>;
[all …]
Dsocfpga_vt.dts39 clock-frequency = <10000000>;
58 clock-frequency = <7000000>;
62 clock-frequency = <7000000>;
66 clock-frequency = <7000000>;
70 clock-frequency = <7000000>;
74 clock-frequency = <7372800>;
78 clock-frequency = <7372800>;
Dbcm21664.dtsi211 clock-frequency = <32768>;
217 clock-frequency = <32768>;
223 clock-frequency = <13000000>;
229 clock-frequency = <13000000>;
235 clock-frequency = <19500000>;
241 clock-frequency = <26000000>;
247 clock-frequency = <52000000>;
253 clock-frequency = <52000000>;
259 clock-frequency = <52000000>;
265 clock-frequency = <96000000>;
[all …]
Dtegra124-nyan-blaze-emc.dtsi7 clock-frequency = <12750000>;
8 nvidia,parent-clock-frequency = <408000000>;
13 clock-frequency = <20400000>;
14 nvidia,parent-clock-frequency = <408000000>;
19 clock-frequency = <40800000>;
20 nvidia,parent-clock-frequency = <408000000>;
25 clock-frequency = <68000000>;
26 nvidia,parent-clock-frequency = <408000000>;
31 clock-frequency = <102000000>;
32 nvidia,parent-clock-frequency = <408000000>;
[all …]
Dtegra124-nyan-big-emc.dtsi7 clock-frequency = <12750000>;
8 nvidia,parent-clock-frequency = <408000000>;
13 clock-frequency = <20400000>;
14 nvidia,parent-clock-frequency = <408000000>;
19 clock-frequency = <40800000>;
20 nvidia,parent-clock-frequency = <408000000>;
25 clock-frequency = <68000000>;
26 nvidia,parent-clock-frequency = <408000000>;
31 clock-frequency = <102000000>;
32 nvidia,parent-clock-frequency = <408000000>;
[all …]
Dtegra124-jetson-tk1-emc.dtsi7 clock-frequency = <12750000>;
8 nvidia,parent-clock-frequency = <408000000>;
13 clock-frequency = <20400000>;
14 nvidia,parent-clock-frequency = <408000000>;
19 clock-frequency = <40800000>;
20 nvidia,parent-clock-frequency = <408000000>;
25 clock-frequency = <68000000>;
26 nvidia,parent-clock-frequency = <408000000>;
31 clock-frequency = <102000000>;
32 nvidia,parent-clock-frequency = <408000000>;
[all …]
Dbcm28155-ap.dts34 clock-frequency = <400000>;
39 clock-frequency = <400000>;
44 clock-frequency = <400000>;
49 clock-frequency = <100000>;
58 max-frequency = <48000000>;
65 max-frequency = <48000000>;
Dimx6q-tx6q-1010.dts61 clock-frequency = <25200000>;
77 clock-frequency = <25200000>;
93 clock-frequency = <6413760>;
109 clock-frequency = <9009000>;
125 clock-frequency = <33264000>;
141 clock-frequency = <33264000>;
157 clock-frequency = <6596040>;
Dimx6dl-tx6u-801x.dts61 clock-frequency = <25200000>;
77 clock-frequency = <25200000>;
93 clock-frequency = <6413760>;
109 clock-frequency = <9009000>;
125 clock-frequency = <33264000>;
141 clock-frequency = <33264000>;
157 clock-frequency = <6596040>;
Dpicoxcell-pc3x3.dtsi50 clock-frequency = <200000000>;
58 clock-frequency = <200000000>;
66 clock-frequency = <200000000>;
74 clock-frequency = <200000000>;
82 clock-frequency = <200000000>;
90 clock-frequency = <200000000>;
98 clock-frequency = <200000000>;
106 clock-frequency = <200000000>;
114 clock-frequency = <200000000>;
122 clock-frequency = <200000000>;
[all …]
Dimx6q-tx6q-1020.dts61 clock-frequency = <25200000>;
77 clock-frequency = <25200000>;
93 clock-frequency = <6413760>;
109 clock-frequency = <9009000>;
125 clock-frequency = <33264000>;
141 clock-frequency = <33264000>;
157 clock-frequency = <6596040>;
Dr7s72100-genmai.dts40 clock-frequency = <13330000>;
44 clock-frequency = <48000000>;
53 clock-frequency = <400000>;
72 spi-max-frequency = <5000000>;
Dk2hk-evm.dts24 clock-frequency = <122880000>;
31 clock-frequency = <122880000>;
38 clock-frequency = <125000000>;
45 clock-frequency = <100000000>;
52 clock-frequency = <100000000>;
154 spi-max-frequency = <54000000>;
Dalpine.dtsi44 clock-frequency = <0>; /* Filled by loader */
51 clock-frequency = <0>; /* Filled by loader */
58 clock-frequency = <0>; /* Filled by loader */
65 clock-frequency = <0>; /* Filled by loader */
84 clock-frequency = <0>; /* Filled by loader */
126 clock-frequency = <0>; /* Filled by loader */
135 clock-frequency = <0>; /* Filled by loader */
Duniphier-proxstream2.dtsi88 clock-frequency = <50000000>;
94 clock-frequency = <88900000>;
100 clock-frequency = <50000000>;
179 clock-frequency = <100000>;
192 clock-frequency = <100000>;
205 clock-frequency = <100000>;
218 clock-frequency = <100000>;
229 clock-frequency = <400000>;
240 clock-frequency = <400000>;
251 clock-frequency = <400000>;
Dqcom-msm8960-cdp.dts57 qcom,switch-mode-frequency = <3200000>;
64 qcom,switch-mode-frequency = <1600000>;
71 qcom,switch-mode-frequency = <4800000>;
79 qcom,switch-mode-frequency = <1600000>;
87 qcom,switch-mode-frequency = <3200000>;
95 qcom,switch-mode-frequency = <1600000>;
269 qcom,switch-mode-frequency = <1600000>;
286 spi-max-frequency = <5400000>;
Dimx28-tx28.dts133 clock-frequency = <27000000>;
233 spi-max-frequency = <57600000>;
239 spi-max-frequency = <57600000>;
245 spi-max-frequency = <57600000>;
298 clock-frequency = <400000>;
364 clock-frequency = <25175000>;
381 clock-frequency = <25175000>;
398 clock-frequency = <6500000>;
415 clock-frequency = <9000000>;
432 clock-frequency = <33260000>;
[all …]
Dmpa1600.dts26 clock-frequency = <18432000>;
30 clock-frequency = <32768>;
34 clock-frequency = <18432000>;
Dam3517-evm.dts38 clock-frequency = <400000>;
42 clock-frequency = <400000>;
46 clock-frequency = <400000>;
Duniphier-ph1-pro5.dtsi74 clock-frequency = <50000000>;
80 clock-frequency = <73728000>;
86 clock-frequency = <50000000>;
178 clock-frequency = <100000>;
191 clock-frequency = <100000>;
204 clock-frequency = <100000>;
217 clock-frequency = <100000>;
230 clock-frequency = <400000>;
241 clock-frequency = <400000>;
Duniphier-ph1-pro4.dtsi74 clock-frequency = <50000000>;
80 clock-frequency = <73728000>;
86 clock-frequency = <50000000>;
169 clock-frequency = <100000>;
182 clock-frequency = <100000>;
195 clock-frequency = <100000>;
208 clock-frequency = <100000>;
221 clock-frequency = <400000>;
232 clock-frequency = <400000>;
Dimx53-tx53-x03x.dts42 clock-frequency = <25200000>;
58 clock-frequency = <25200000>;
74 clock-frequency = <6413760>;
90 clock-frequency = <9009000>;
106 clock-frequency = <33264000>;
122 clock-frequency = <33264000>;
138 clock-frequency = <6596040>;
Dtegra30-apalis-eval.dts77 clock-frequency = <100000>;
99 clock-frequency = <400000>;
110 spi-max-frequency = <25000000>;
114 spi-max-frequency = <25000000>;
121 spi-max-frequency = <25000000>;
125 spi-max-frequency = <25000000>;
/linux-4.4.14/arch/arm/mach-sa1100/
Dgeneric.c50 { .frequency = 59000, /* 59.0 MHz */},
51 { .frequency = 73700, /* 73.7 MHz */},
52 { .frequency = 88500, /* 88.5 MHz */},
53 { .frequency = 103200, /* 103.2 MHz */},
54 { .frequency = 118000, /* 118.0 MHz */},
55 { .frequency = 132700, /* 132.7 MHz */},
56 { .frequency = 147500, /* 147.5 MHz */},
57 { .frequency = 162200, /* 162.2 MHz */},
58 { .frequency = 176900, /* 176.9 MHz */},
59 { .frequency = 191700, /* 191.7 MHz */},
[all …]
/linux-4.4.14/Documentation/cpu-freq/
Dcpu-drivers.txt1 CPU frequency and voltage scaling code in the Linux(TM) kernel
75 and _before_ the pre-suspend frequency
84 and target_intermediate Used to switch to stable frequency while
85 changing CPU frequency.
101 policy->cpuinfo.max_freq - the minimum and maximum frequency
109 policy->cur The current operating frequency of
122 frequency table helpers might be helpful. See the section 2 for more information
138 values, a frequency table helper and/or the
141 section 2 for details on frequency table helpers.
143 You need to make sure that at least one valid frequency (or operating
[all …]
Dgovernors.txt1 CPU frequency and voltage scaling code in the Linux(TM) kernel
40 cpu frequency scaling algorithms only offer the CPU to be set to one
41 frequency. In order to offer dynamic frequency scaling, the cpufreq
42 core must be able to tell these drivers of a "target frequency". So
47 How to decide what frequency within the CPUfreq policy should be used?
50 set the frequency statically to the lowest or highest frequency,
53 different theories and models about dynamic frequency scaling
64 consists of frequency limits (policy->{min,max})
75 the limits and the the frequency closest
88 highest frequency within the borders of scaling_min_freq and
[all …]
Dpcc-cpufreq.txt48 performance (ie: frequency) between the platform firmware and the OS.
53 OS utilizes the PCC interface to inform platform firmware what frequency the
55 the requested frequency. If the request for the target frequency could not be
95 the OS is capable of getting/setting the frequency of all the logical CPUs in
100 This command is used by the OSPM to query the running frequency of the
102 indicates the average unhalted frequency of the logical processor expressed as
103 a percentage of the nominal (ie: maximum) CPU frequency. The output buffer
104 also signifies if the CPU frequency is limited by a power budget condition.
109 desired frequency for a logical processor. The output buffer is currently
111 OSPM if the desired frequency was achieved or not.
[all …]
Duser-guide.txt1 CPU frequency and voltage scaling code in the Linux(TM) kernel
113 Some CPU frequency scaling-capable processor switch between various
115 user involvement. This guarantees very fast switching to a frequency
124 frequency limit as well as whether you want more aggressive
151 frequency the processor can run at(in kHz)
153 frequency the processor can run at(in kHz)
162 frequency for a kernel governor or
164 switch the frequency too often
167 used to set the frequency on this CPU
179 cpuinfo_cur_freq : Current frequency of the CPU as obtained from
[all …]
Dcpufreq-stats.txt2 CPU frequency and voltage scaling statistics in the Linux(TM) kernel
20 cpufreq-stats is a driver that provides CPU frequency statistics for each CPU.
39 driver will not have any information about the frequency transitions before
54 this CPU. The cat output will have "<frequency> <time>" pair in each line, which
55 will mean this CPU spent <time> usertime units of time at <frequency>. Output
70 This gives the total number of frequency transitions on this CPU. The cat
71 output will have a single count which is the total number of frequency
80 This will give a fine grained information about all the CPU frequency
106 <*> CPU frequency translation statistics
107 [*] CPU frequency translation statistics details
[all …]
Dintel-pstate.txt21 and reporting frequency to the cpufreq core. In this mode the
25 controlling frequency the driver provides sysfs files for
39 frequency range.
49 For contemporary Intel processors, the frequency is controlled by the
51 performance levels. The idea that frequency can be set to a single
52 frequency is fiction for Intel Core processors. Even if the scaling
53 driver selects a single P state the actual frequency the processor
Dcore.txt1 CPU frequency and voltage scaling code in the Linux(TM) kernel
31 frequency transitions), as well as to "notifiers". These are device
34 frequency changes (ex. timing code) or even need to force certain
36 kernel "constant" loops_per_jiffy is updated on frequency changes
75 max_cpu_freq the maximum supported CPU frequency. This value is given
83 frequency and this change has any external implications.
91 old - old frequency
92 new - new frequency
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-tuner.c43 u32 frequency; member
313 ret = mxl1x1sf_tune_rf(fe, c->frequency, bw); in mxl111sf_tuner_set_params()
317 state->frequency = c->frequency; in mxl111sf_tuner_set_params()
396 static int mxl111sf_tuner_get_frequency(struct dvb_frontend *fe, u32 *frequency) in mxl111sf_tuner_get_frequency() argument
399 *frequency = state->frequency; in mxl111sf_tuner_get_frequency()
411 u32 *frequency) in mxl111sf_tuner_get_if_frequency() argument
415 *frequency = 0; in mxl111sf_tuner_get_if_frequency()
419 *frequency = 4000000; in mxl111sf_tuner_get_if_frequency()
422 *frequency = 4500000; in mxl111sf_tuner_get_if_frequency()
425 *frequency = 4570000; in mxl111sf_tuner_get_if_frequency()
[all …]
/linux-4.4.14/drivers/media/tuners/
Dtuner-simple.c116 u32 frequency; member
260 unsigned *frequency, u8 *config, u8 *cb) in simple_config_lookup() argument
266 if (*frequency > t_params->ranges[i].limit) in simple_config_lookup()
272 *frequency, t_params->ranges[i - 1].limit); in simple_config_lookup()
273 *frequency = t_params->ranges[--i].limit; in simple_config_lookup()
280 *frequency / 16, *frequency % 16 * 100 / 16, *frequency, in simple_config_lookup()
584 i = simple_config_lookup(fe, t_params, &params->frequency, in simple_set_tv_freq()
587 div = params->frequency + IFPCoff + offset; in simple_set_tv_freq()
591 params->frequency / 16, params->frequency % 16 * 100 / 16, in simple_set_tv_freq()
675 unsigned int freq = params->frequency; in simple_set_radio_freq()
[all …]
Dit913x.c228 dev->role, c->frequency, c->bandwidth_hz); in it913x_set_params()
235 if (c->frequency <= 74000000) { in it913x_set_params()
238 } else if (c->frequency <= 111000000) { in it913x_set_params()
241 } else if (c->frequency <= 148000000) { in it913x_set_params()
244 } else if (c->frequency <= 222000000) { in it913x_set_params()
247 } else if (c->frequency <= 296000000) { in it913x_set_params()
250 } else if (c->frequency <= 445000000) { in it913x_set_params()
253 } else if (c->frequency <= dev->fn_min) { in it913x_set_params()
256 } else if (c->frequency <= 950000000) { in it913x_set_params()
283 t_cal_freq = (c->frequency / 1000) * n_div * dev->fdiv; in it913x_set_params()
[all …]
Dmxl5007t.c170 u32 frequency; member
622 u32 freq = c->frequency; in mxl5007t_set_params()
668 state->frequency = freq; in mxl5007t_set_params()
721 static int mxl5007t_get_frequency(struct dvb_frontend *fe, u32 *frequency) in mxl5007t_get_frequency() argument
724 *frequency = state->frequency; in mxl5007t_get_frequency()
735 static int mxl5007t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in mxl5007t_get_if_frequency() argument
739 *frequency = 0; in mxl5007t_get_if_frequency()
743 *frequency = 4000000; in mxl5007t_get_if_frequency()
746 *frequency = 4500000; in mxl5007t_get_if_frequency()
749 *frequency = 4570000; in mxl5007t_get_if_frequency()
[all …]
Dmt20xx.c49 u32 frequency; member
60 static int microtune_get_frequency(struct dvb_frontend *fe, u32 *frequency) in microtune_get_frequency() argument
63 *frequency = priv->frequency; in microtune_get_frequency()
318 mt2032_set_if_freq(fe, params->frequency*62500, in mt2032_set_tv_freq()
339 mt2032_set_if_freq(fe, params->frequency * 125 / 2, in mt2032_set_radio_freq()
354 priv->frequency = params->frequency * 125 / 2; in mt2032_set_params()
359 priv->frequency = params->frequency * 62500; in mt2032_set_params()
519 mt2050_set_if_freq(fe, params->frequency*62500, if2); in mt2050_set_tv_freq()
539 mt2050_set_if_freq(fe, params->frequency * 125 / 2, if2); in mt2050_set_radio_freq()
554 priv->frequency = params->frequency * 125 / 2; in mt2050_set_params()
[all …]
Dtea5761.c25 u32 frequency; member
176 priv->frequency = frq * 125 / 2; in __set_radio_freq()
188 return __set_radio_freq(fe, params->frequency, in set_radio_freq()
198 return __set_radio_freq(fe, priv->frequency, false); in set_radio_sleep()
297 static int tea5761_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tea5761_get_frequency() argument
300 *frequency = priv->frequency; in tea5761_get_frequency()
Dmc44s803.c224 priv->frequency = c->frequency; in mc44s803_set_params()
229 n1 = (c->frequency + MC44S803_IF1 + 500000) / 1000000; in mc44s803_set_params()
232 freq = freq - c->frequency; in mc44s803_set_params()
294 static int mc44s803_get_frequency(struct dvb_frontend *fe, u32 *frequency) in mc44s803_get_frequency() argument
297 *frequency = priv->frequency; in mc44s803_get_frequency()
301 static int mc44s803_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in mc44s803_get_if_frequency() argument
303 *frequency = MC44S803_IF2; /* 36.125 MHz */ in mc44s803_get_if_frequency()
Dtda18212.c65 c->delivery_system, c->frequency, in tda18212_set_params()
144 buf[4] = ((c->frequency / 1000) >> 16) & 0xff; in tda18212_set_params()
145 buf[5] = ((c->frequency / 1000) >> 8) & 0xff; in tda18212_set_params()
146 buf[6] = ((c->frequency / 1000) >> 0) & 0xff; in tda18212_set_params()
167 static int tda18212_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in tda18212_get_if_frequency() argument
171 *frequency = dev->if_frequency; in tda18212_get_if_frequency()
Dmt2266.c40 u32 frequency; member
139 freq = priv->frequency / 1000; /* Hz -> kHz */ in mt2266_set_params()
143 priv->frequency = c->frequency; in mt2266_set_params()
264 static int mt2266_get_frequency(struct dvb_frontend *fe, u32 *frequency) in mt2266_get_frequency() argument
267 *frequency = priv->frequency; in mt2266_get_frequency()
Dfc0012.c137 u32 freq = p->frequency / 1000; in fc0012_set_params()
319 priv->frequency = p->frequency; in fc0012_set_params()
331 static int fc0012_get_frequency(struct dvb_frontend *fe, u32 *frequency) in fc0012_get_frequency() argument
334 *frequency = priv->frequency; in fc0012_get_frequency()
338 static int fc0012_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in fc0012_get_if_frequency() argument
340 *frequency = 0; /* Zero-IF */ in fc0012_get_if_frequency()
Dfc0011.c75 u32 frequency; member
184 u32 freq = p->frequency / 1000; in fc0011_set_params()
450 priv->frequency = p->frequency; in fc0011_set_params()
456 static int fc0011_get_frequency(struct dvb_frontend *fe, u32 *frequency) in fc0011_get_frequency() argument
460 *frequency = priv->frequency; in fc0011_get_frequency()
465 static int fc0011_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in fc0011_get_if_frequency() argument
467 *frequency = 0; in fc0011_get_if_frequency()
Dqt1010.c119 freq = c->frequency; in qt1010_set_params()
124 priv->frequency = freq; in qt1010_set_params()
374 if (!c->frequency) in qt1010_init()
375 c->frequency = 545000000; /* Sigmatek DVB-110 545000000 */ in qt1010_init()
387 static int qt1010_get_frequency(struct dvb_frontend *fe, u32 *frequency) in qt1010_get_frequency() argument
390 *frequency = priv->frequency; in qt1010_get_frequency()
394 static int qt1010_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in qt1010_get_if_frequency() argument
396 *frequency = 36125000; in qt1010_get_if_frequency()
/linux-4.4.14/drivers/media/pci/bt8xx/
Ddvb-bt8xx.c164 div = (((c->frequency + 83333) * 3) / 500000) + IF_FREQUENCYx6; in thomson_dtt7579_tuner_calc_regs()
166 if (c->frequency < 542000000) in thomson_dtt7579_tuner_calc_regs()
168 else if (c->frequency < 771000000) in thomson_dtt7579_tuner_calc_regs()
173 if (c->frequency == 0) in thomson_dtt7579_tuner_calc_regs()
175 else if (c->frequency < 443250000) in thomson_dtt7579_tuner_calc_regs()
201 u32 freq = c->frequency; in cx24108_tuner_set_params()
282 div = (36000000 + c->frequency + 83333) / 166666; in microtune_mt7202dtf_tuner_set_params()
285 if (c->frequency < 175000000) in microtune_mt7202dtf_tuner_set_params()
287 else if (c->frequency < 390000000) in microtune_mt7202dtf_tuner_set_params()
289 else if (c->frequency < 470000000) in microtune_mt7202dtf_tuner_set_params()
[all …]
/linux-4.4.14/arch/arm64/boot/dts/amd/
Damd-seattle-clks.dtsi10 clock-frequency = <100000000>;
17 clock-frequency = <375000000>;
24 clock-frequency = <333000000>;
31 clock-frequency = <500000000>;
38 clock-frequency = <500000000>;
45 clock-frequency = <250000000>;
52 clock-frequency = <100000000>;
/linux-4.4.14/drivers/clk/
Dclk-si570.c83 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 …]
Dclk-mb86s7x.c38 u64 frequency; member
113 cmd.frequency = *rate; in crg_rate_control()
119 cmd.domain, cmd.port, cmd.frequency); in crg_rate_control()
136 cmd.domain, cmd.port, cmd.frequency); in crg_rate_control()
140 cmd.domain, cmd.port, cmd.frequency); in crg_rate_control()
142 *rate = cmd.frequency; in crg_rate_control()
260 u64 frequency; member
273 cmd.frequency = *rate; in mhu_cluster_rate()
282 cmd.cluster_id, cmd.cpu_id, cmd.frequency); in mhu_cluster_rate()
292 cmd.cluster_id, cmd.cpu_id, cmd.frequency); in mhu_cluster_rate()
[all …]
Dclk-si514.c148 unsigned long frequency) in si514_calc_muldiv() argument
155 if ((frequency < SI514_MIN_FREQ) || (frequency > SI514_MAX_FREQ)) in si514_calc_muldiv()
159 ls_freq = frequency; in si514_calc_muldiv()
160 if (frequency >= (FVCO_MIN / HS_DIV_MAX)) in si514_calc_muldiv()
166 if ((frequency * tmp) >= FVCO_MIN) in si514_calc_muldiv()
172 ls_freq = frequency << res; in si514_calc_muldiv()
/linux-4.4.14/drivers/devfreq/
DKconfig8 operating frequency based on the device driver's policy.
18 clock frequency of the device, which is also attached
20 responsibility to "interpret" the representative frequency and
36 Chooses frequency based on the recent load on the device. Works
45 Sets the frequency at the maximum available frequency.
46 This governor always returns UINT_MAX as frequency so that
47 the DEVFREQ framework returns the highest frequency available
53 Sets the frequency at the minimum available frequency.
54 This governor always returns 0 as frequency so that
55 the DEVFREQ framework returns the lowest frequency available
[all …]
/linux-4.4.14/drivers/staging/sm750fb/
Dddk750_chip.c52 static void setChipClock(unsigned int frequency) in setChipClock() argument
61 if (frequency) { in setChipClock()
73 ulActualMxClk = calcPllValue(frequency, &pll); in setChipClock()
80 static void setMemoryClock(unsigned int frequency) in setMemoryClock() argument
88 if (frequency) { in setMemoryClock()
91 if (frequency > MHz(336)) in setMemoryClock()
92 frequency = MHz(336); in setMemoryClock()
95 divisor = roundedDiv(get_mxclk_freq(), frequency); in setMemoryClock()
127 static void setMasterClock(unsigned int frequency) in setMasterClock() argument
135 if (frequency) { in setMasterClock()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dmt9p031.txt12 - input-clock-frequency: Input clock frequency.
14 - pixel-clock-frequency: Pixel clock frequency.
34 input-clock-frequency = <6000000>;
35 pixel-clock-frequency = <96000000>;
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-sc18is602.txt11 - clock-frequency : external oscillator clock frequency. If not
12 specified, the SC18IS602 default frequency (7372000) will be used.
14 The clock-frequency property is relevant and needed only if the chip has an
22 clock-frequency = <14744000>;
Dqcom,spi-qup.txt27 - spi-max-frequency: Specifies maximum SPI clock frequency,
54 spi-max-frequency = <19200000>;
70 spi-max-frequency = <19200000>;
79 spi-max-frequency = <9600000>;
88 spi-max-frequency = <19200000>;
98 spi-max-frequency = <19200000>;
Dspi_oc_tiny.txt7 - clock-frequency : input clock frequency to the core.
11 The clock-frequency and baud-width properties are needed only if the divider
/linux-4.4.14/arch/powerpc/boot/dts/
Diss4xx-mpic.dts38 clock-frequency = <100000000>; // 100Mhz :-)
39 timebase-frequency = <100000000>;
52 clock-frequency = <100000000>; // 100Mhz :-)
53 timebase-frequency = <100000000>;
68 clock-frequency = <100000000>; // 100Mhz :-)
69 timebase-frequency = <100000000>;
84 clock-frequency = <100000000>; // 100Mhz :-)
85 timebase-frequency = <100000000>;
119 clock-frequency = <0>; // Filled in by zImage
129 clock-frequency = <0>; // Filled in by zImage
[all …]
Dstorcenter.dts35 clock-frequency = <200000000>;
36 timebase-frequency = <25000000>;
37 bus-frequency = <0>; /* from bootwrapper */
58 bus-frequency = <0>; /* fixed by loader */
79 clock-frequency = <97553800>; /* Hz */
90 clock-frequency = <97553800>; /* Hz */
117 clock-frequency = <97553800>;
Dtqm8xx.dts39 timebase-frequency = <0>;
40 bus-frequency = <0>;
41 clock-frequency = <0>;
78 bosch,external-clock-frequency = <16000000>;
82 bosch,clock-out-frequency = <16000000>;
90 bosch,external-clock-frequency = <16000000>;
137 brg-frequency = <0>;
157 clock-frequency = <0>;
Dmpc7448hpc2.dts42 timebase-frequency = <0>; // 33 MHz, from uboot
43 clock-frequency = <0>; // From U-Boot
44 bus-frequency = <0>; // From U-Boot
60 bus-frequency = <0>;
121 clock-frequency = <1064000000>;
130 clock-frequency = <1064000000>;
153 clock-frequency = <133333332>;
185 clock-frequency = <0>;
Dsbc8641d.dts46 timebase-frequency = <0>; // From uboot
47 bus-frequency = <0>; // From uboot
48 clock-frequency = <0>; // From uboot
57 timebase-frequency = <0>; // From uboot
58 bus-frequency = <0>; // From uboot
59 clock-frequency = <0>; // From uboot
129 bus-frequency = <0>;
340 clock-frequency = <0>;
350 clock-frequency = <0>;
356 clock-frequency = <0>;
[all …]
Damigaone.dts33 timebase-frequency = <0>; // 33.3 MHz, from U-boot
34 clock-frequency = <0>; // From U-boot
35 bus-frequency = <0>; // From U-boot
47 bus-frequency = <33333333>;
134 clock-frequency = <1843200>;
143 clock-frequency = <1843200>;
Dmpc832x_rdb.dts39 timebase-frequency = <0>;
40 bus-frequency = <0>;
41 clock-frequency = <0>;
57 bus-frequency = <0>;
88 clock-frequency = <0>;
98 clock-frequency = <0>;
230 brg-frequency = <0>;
231 bus-frequency = <198000000>;
266 spi-max-frequency = <50000000>;
361 clock-frequency = <0>;
Dholly.dts33 timebase-frequency = <50000000>;
34 clock-frequency = <600000000>;
35 bus-frequency = <200000000>;
110 clock-frequency = <1067212800>;
121 clock-frequency = <1067212800>;
152 clock-frequency = <133333332>;
185 clock-frequency = <0>;
DkuroboxHG.dts42 clock-frequency = <266000000>; /* Fixed by bootloader */
43 timebase-frequency = <32522240>; /* Fixed by bootloader */
44 bus-frequency = <0>; /* Fixed by bootloader */
89 clock-frequency = <130041000>;
100 clock-frequency = <130041000>;
125 clock-frequency = <133333333>;
DkuroboxHD.dts42 clock-frequency = <200000000>; /* Fixed by bootloader */
43 timebase-frequency = <24391680>; /* Fixed by bootloader */
44 bus-frequency = <0>; /* Fixed by bootloader */
89 clock-frequency = <97553800>;
100 clock-frequency = <97553800>;
125 clock-frequency = <133333333>;
Dgef_sbc610.dts48 timebase-frequency = <0>; // From uboot
49 bus-frequency = <0>; // From uboot
50 clock-frequency = <0>; // From uboot
59 timebase-frequency = <0>; // From uboot
60 bus-frequency = <0>; // From uboot
61 clock-frequency = <0>; // From uboot
171 bus-frequency = <33333333>;
340 clock-frequency = <0>;
350 clock-frequency = <0>;
356 clock-frequency = <0>;
[all …]
Diss4xx.dts36 clock-frequency = <100000000>; // 100Mhz :-)
37 timebase-frequency = <100000000>;
80 clock-frequency = <0>; // Filled in by zImage
90 clock-frequency = <0>; // Filled in by zImage
96 clock-frequency = <11059200>;
Dsam440ep.dts41 clock-frequency = <0>; /* Filled in by zImage */
42 timebase-frequency = <0>; /* Filled in by zImage */
94 clock-frequency = <0>; /* Filled in by zImage */
134 clock-frequency = <0>; /* Filled in by zImage */
141 clock-frequency = <0>; /* Filled in by zImage */
151 clock-frequency = <0>; /* Filled in by zImage */
162 clock-frequency = <0>;
173 clock-frequency = <0>;
184 clock-frequency = <0>;
Dgef_sbc310.dts49 timebase-frequency = <0>; // From uboot
50 bus-frequency = <0>; // From uboot
51 clock-frequency = <0>; // From uboot
60 timebase-frequency = <0>; // From uboot
61 bus-frequency = <0>; // From uboot
62 clock-frequency = <0>; // From uboot
171 bus-frequency = <33333333>;
340 clock-frequency = <0>;
350 clock-frequency = <0>;
356 clock-frequency = <0>;
[all …]
Dep405.dts35 clock-frequency = <200000000>; /* Filled in by zImage */
36 timebase-frequency = <0>; /* Filled in by zImage */
66 clock-frequency = <0>; /* Filled in by zImage */
93 clock-frequency = <0>; /* Filled in by zImage */
100 clock-frequency = <0>; /* Filled in by zImage */
111 clock-frequency = <0>; /* Filled in by zImage */
163 clock-frequency = <0>; /* Filled in by zImage */
Dmpc8349emitxgp.dts38 timebase-frequency = <0>; // from bootloader
39 bus-frequency = <0>; // from bootloader
40 clock-frequency = <0>; // from bootloader
56 bus-frequency = <0>; // from bootloader
193 clock-frequency = <0>; // from bootloader
203 clock-frequency = <0>; // from bootloader
241 clock-frequency = <66666666>;
Dacadia.dts34 clock-frequency = <0>; /* Filled in by wrapper */
35 timebase-frequency = <0>; /* Filled in by wrapper */
65 clock-frequency = <0>; /* Filled in by wrapper */
89 clock-frequency = <0>; /* Filled in by wrapper */
96 clock-frequency = <0>; /* Filled in by wrapper */
106 clock-frequency = <0>; /* Filled in by wrapper */
217 clock-frequency = <0>; /* Filled in by wrapper */
Dmpc866ads.dts32 timebase-frequency = <0>;
33 bus-frequency = <0>;
34 clock-frequency = <0>;
68 bus-frequency = <0>;
105 brg-frequency = <0>;
125 clock-frequency = <0>;
Dtqm5200.dts33 timebase-frequency = <0>; // from bootloader
34 bus-frequency = <0>; // from bootloader
35 clock-frequency = <0>; // from bootloader
50 bus-frequency = <0>; // from bootloader
51 system-frequency = <0>; // from bootloader
204 clock-frequency = <0>; // From boot loader
Dgef_ppc9a.dts48 timebase-frequency = <0>; // From uboot
49 bus-frequency = <0>; // From uboot
50 clock-frequency = <0>; // From uboot
59 timebase-frequency = <0>; // From uboot
60 bus-frequency = <0>; // From uboot
61 clock-frequency = <0>; // From uboot
173 bus-frequency = <33333333>;
342 clock-frequency = <0>;
352 clock-frequency = <0>;
358 clock-frequency = <0>;
[all …]
/linux-4.4.14/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-impedance-analyzer-ad59335 Frequency sweep start frequency in Hz.
12 frequency points along the sweep.
18 Number of frequency points (steps) in the frequency sweep.
20 outY_freq_increment, determines the frequency sweep range
29 after each frequency increment, and before the ADC is triggered
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-clocks.dtsi14 clock-frequency = <7273800>;
21 clock-frequency = <48000000>;
28 clock-frequency = <50000000>;
35 clock-frequency = <100000000>;
42 clock-frequency = <400000000>;
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dsilabs,si570.txt19 - factory-fout: Factory set default frequency. This frequency is part specific.
20 The correct frequency for the part used has to be provided in
28 - clock-frequency: Output frequency to generate. This defines the output
29 frequency set during boot. It can be reprogrammed during
Dnvidia,tegra124-car.txt36 - clock-frequency : Should contain the memory clock rate to which this timing
38 - nvidia,parent-clock-frequency : Should contain the rate at which the current
74 clock-frequency = <112400000>;
81 clock-frequency = <32768>;
94 clock-frequency = <12750000>;
95 nvidia,parent-clock-frequency = <408000000>;
100 clock-frequency = <20400000>;
101 nvidia,parent-clock-frequency = <408000000>;
Dpwm-clock.txt11 - pwms : from common PWM binding; this determines the clock frequency
16 - clock-frequency : Exact output frequency, in case the PWM period
23 clock-frequency = <25000000>;
Dqoriq-clock.txt4 SYSCLK signal. The SYSCLK input (frequency) is multiplied using
51 - clock-frequency: Input system clock frequency (SYSCLK)
52 - clocks: If clock-frequency is not specified, sysclk may be provided
53 as an input clock. Either clock-frequency or clocks must be
76 clock-frequency = <133333333>;
102 It takes parent's clock-frequency as its clock.
104 It takes parent's clock-frequency as its clock.
112 * 0 - equal to the PLL frequency
113 * 1 - equal to the PLL frequency divided by 2
114 * 2 - equal to the PLL frequency divided by 4
[all …]
Dclps711x-clock.txt6 - startup-frequency: Factory set CPU startup frequency in HZ.
18 startup-frequency = <73728000>;
Dfixed-clock.txt10 - clock-frequency : frequency of clock in Hz. Should be a single cell.
21 clock-frequency = <1000000000>;
/linux-4.4.14/arch/nios2/boot/dts/
D10m50_devboard.dts47 clock-frequency = <75000000>;
67 bus-frequency = <75000000>;
82 clock-frequency = <50000000>;
136 clock-frequency = <125000000>;
143 clock-frequency = <25000000>;
150 clock-frequency = <2500000>;
162 clock-frequency = <100000000>;
169 clock-frequency = <50000000>;
176 clock-frequency = <75000000>;
186 clock-frequency = <75000000>;
[all …]
/linux-4.4.14/drivers/media/radio/si4713/
Dsi4713.c551 static int si4713_tx_tune_freq(struct si4713_device *sdev, u16 frequency) in si4713_tx_tune_freq() argument
562 msb(frequency), in si4713_tx_tune_freq()
563 lsb(frequency), in si4713_tx_tune_freq()
575 frequency, val[0]); in si4713_tx_tune_freq()
643 static int si4713_tx_tune_measure(struct si4713_device *sdev, u16 frequency, in si4713_tx_tune_measure() argument
656 msb(frequency), in si4713_tx_tune_measure()
657 lsb(frequency), in si4713_tx_tune_measure()
675 __func__, frequency, antcap, val[0]); in si4713_tx_tune_measure()
695 u16 *frequency, u8 *power, in si4713_tx_tune_status() argument
714 *frequency = compose_u16(val[2], val[3]); in si4713_tx_tune_status()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/
Dexynos_dsim.txt21 - samsung,pll-clock-frequency: specifies frequency of the oscillator clock
48 - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst
50 - samsung,esc-clock-frequency: specifies DSI frequency in escape mode
70 samsung,pll-clock-frequency = <24000000>;
97 samsung,burst-clock-frequency = <500000000>;
98 samsung,esc-clock-frequency = <20000000>;
/linux-4.4.14/Documentation/devicetree/bindings/net/wireless/
Dti,wlcore.txt24 - ref-clock-frequency : ref clock frequency in Hz
25 - tcxo-clock-frequency : tcxo clock frequency in Hz
27 Note: the *-clock-frequency properties assume internal clocks. In case of external
/linux-4.4.14/Documentation/devicetree/bindings/net/can/
Dcc770.txt19 - bosch,external-clock-frequency : frequency of the external oscillator
20 clock in Hz. Note that the internal clock frequency used by the
24 - bosch,clock-out-frequency : slock frequency in Hz on the CLKOUT pin.
52 bosch,external-clock-frequency = <16000000>;
Dsja1000.txt19 - nxp,external-clock-frequency : Frequency of the external oscillator
20 clock in Hz. Note that the internal clock frequency used by the
40 - nxp,clock-out-frequency : clock frequency in Hz on the CLKOUT pin.
55 nxp,external-clock-frequency = <16000000>;
Dfsl-flexcan.txt17 - clock-frequency : The oscillator frequency driving the flexcan device
28 clock-frequency = <200000000>; // filled in by bootloader
/linux-4.4.14/drivers/staging/iio/trigger/
Diio-trig-periodic-rtc.c27 unsigned int frequency; member
37 if (trig_info->frequency == 0 && state) in iio_trig_periodic_rtc_set_state()
40 trig_info->frequency); in iio_trig_periodic_rtc_set_state()
55 return sprintf(buf, "%u\n", trig_info->frequency); in iio_trig_periodic_read_freq()
74 if (ret == 0 && trig_info->state && trig_info->frequency == 0) in iio_trig_periodic_write_freq()
83 trig_info->frequency = val; in iio_trig_periodic_write_freq()
91 static DEVICE_ATTR(frequency, S_IRUGO | S_IWUSR,
/linux-4.4.14/drivers/sh/clk/
Dcore.c67 freq_table[i].frequency = freq; in clk_rate_table_build()
72 freq_table[i].frequency = CPUFREQ_TABLE_END; in clk_rate_table_build()
129 unsigned long freq = freq_table[pos].frequency; in clk_rate_table_iter()
202 if (pos->frequency == rate) in clk_rate_table_find()
573 if (unlikely(freq->frequency / target <= div_min - 1)) { in clk_round_parent()
576 freq_max = (freq->frequency + div_min / 2) / div_min; in clk_round_parent()
584 pr_debug("too low freq %u, error %lu\n", freq->frequency, in clk_round_parent()
593 if (unlikely(freq->frequency / target >= div_max)) { in clk_round_parent()
596 freq_min = (freq->frequency + div_max / 2) / div_max; in clk_round_parent()
604 pr_debug("too high freq %u, error %lu\n", freq->frequency, in clk_round_parent()
[all …]
/linux-4.4.14/drivers/media/pci/pt1/
Dva1j5jf8007s.c146 u32 frequency; member
161 static u8 va1j5jf8007s_lookup_cb(u32 frequency) in va1j5jf8007s_lookup_cb() argument
168 if (frequency < map->frequency) in va1j5jf8007s_lookup_cb()
176 u32 frequency; in va1j5jf8007s_set_frequency_1() local
181 frequency = state->fe.dtv_property_cache.frequency; in va1j5jf8007s_set_frequency_1()
183 word = (frequency + 500) / 1000; in va1j5jf8007s_set_frequency_1()
184 if (frequency < 1072000) in va1j5jf8007s_set_frequency_1()
192 buf[5] = va1j5jf8007s_lookup_cb(frequency); in va1j5jf8007s_set_frequency_1()
227 u32 frequency; in va1j5jf8007s_set_frequency_3() local
231 frequency = state->fe.dtv_property_cache.frequency; in va1j5jf8007s_set_frequency_3()
[all …]
Dva1j5jf8007t.c130 u32 frequency; member
147 static u8 va1j5jf8007t_lookup_cb(u32 frequency) in va1j5jf8007t_lookup_cb() argument
154 if (frequency < map->frequency) in va1j5jf8007t_lookup_cb()
162 u32 frequency; in va1j5jf8007t_set_frequency() local
167 frequency = state->fe.dtv_property_cache.frequency; in va1j5jf8007t_set_frequency()
169 word = (frequency + 71428) / 142857 + 399; in va1j5jf8007t_set_frequency()
175 buf[5] = va1j5jf8007t_lookup_cb(frequency); in va1j5jf8007t_set_frequency()
475 switch (state->config->frequency) { in va1j5jf8007t_prepare()
/linux-4.4.14/Documentation/devicetree/bindings/h8300/
Dcpu.txt6 - clock-frequency: Contains the clock frequency for CPU, in Hz.
12 clock-frequency = <20000000>;
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dgtm.txt11 - clock-frequency : specifies the frequency driving the timer.
21 clock-frequency = <0>;
30 clock-frequency = <0>;
/linux-4.4.14/arch/arc/boot/dts/
Daxs10x_mb.dtsi22 clock-frequency = <50000000>;
28 clock-frequency = <50000000>;
34 clock-frequency = <50000000>;
97 clock-frequency = <33333333>;
107 clock-frequency = <33333333>;
118 clock-frequency = <33333333>;
128 clock-frequency = <400000>;
136 clock-frequency = <400000>;
146 clock-frequency = <400000>;
Dvdk_axs10x_mb.dtsi22 clock-frequency = <50000000>;
50 clock-frequency = <2403200>;
60 clock-frequency = <2403200>;
70 clock-frequency = <2403200>;
81 clock-frequency = <51000000>; /* PGU'clock is initated in init function */
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-iio-frequency-adf43505 Stores channel Y frequency resolution/channel spacing in Hz.
15 Sets channel Y REFin frequency in Hz. In some clock chained
16 applications, the reference frequency used by the PLL may
18 adjust the reference frequency accordingly.
Dsysfs-class-devfreq22 frequency of the corresponding devfreq object. Same as
31 predicted target frequency of the corresponding devfreq object.
63 sets the requested frequency for the devfreq object if
73 by the min/max frequency restrictions.
87 the minimum frequency requested by users. It is 0 if
89 frequency requested by governors.
96 the maximum frequency requested by users. It is 0 if
98 frequency requested by governors and min_freq.
/linux-4.4.14/Documentation/devicetree/bindings/net/
Darc_emac.txt11 The clock frequency is needed to calculate and set polling period of EMAC.
13 - clock-frequency: CPU frequency.
27 clock-frequency = <80000000>;
/linux-4.4.14/drivers/i2c/busses/
Di2c-diolan-u2c.c93 static uint frequency = U2C_I2C_FREQ_STD; /* I2C clock frequency in Hz */ variable
95 module_param(frequency, uint, S_IRUGO | S_IWUSR);
96 MODULE_PARM_DESC(frequency, "I2C clock frequency in hertz");
305 if (frequency >= 200000) { in diolan_init()
307 frequency = U2C_I2C_FREQ_FAST; in diolan_init()
308 } else if (frequency >= 100000 || frequency == 0) { in diolan_init()
310 frequency = U2C_I2C_FREQ_STD; in diolan_init()
312 speed = U2C_I2C_SPEED(frequency); in diolan_init()
315 frequency = U2C_I2C_FREQ(speed); in diolan_init()
320 dev->usb_dev->bus->busnum, dev->usb_dev->devnum, frequency); in diolan_init()
Di2c-efm32.c121 unsigned long frequency; member
315 u32 location, frequency; in efm32_i2c_probe() local
391 ret = of_property_read_u32(np, "clock-frequency", &frequency); in efm32_i2c_probe()
393 dev_dbg(&pdev->dev, "using frequency %u\n", frequency); in efm32_i2c_probe()
395 frequency = 100000; in efm32_i2c_probe()
398 ddata->frequency = frequency; in efm32_i2c_probe()
406 clkdiv = DIV_ROUND_UP(rate, 8 * ddata->frequency) - 1; in efm32_i2c_probe()
410 rate, ddata->frequency); in efm32_i2c_probe()
416 rate, ddata->frequency, (unsigned long)clkdiv); in efm32_i2c_probe()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_rf.c30 u32 frequency; member
64 freq = ch_freq_map[i].frequency; in rtw_ch2freq()
80 if (freq == ch_freq_map[i].frequency) { in rtw_freq2ch()
/linux-4.4.14/Documentation/devicetree/bindings/nios2/
Dtimer.txt9 - clock-frequency : The frequency of the clock that drives the counter, in Hz.
18 clock-frequency = <125000000>;
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/
Dbrg.txt11 - clock-frequency : Specifies the base frequency driving
20 clock-frequency = <d#25000000>;
/linux-4.4.14/Documentation/devicetree/bindings/c6x/
Dclocks.txt19 - clock-frequency: input clock frequency in hz
28 - ti,c64x+pll-lock-delay: CPU cycles to delay after PLL frequency change
35 clock-frequency = <25000000>;
/linux-4.4.14/Documentation/devicetree/bindings/display/
Dcirrus,clps711x-fb.txt12 - ac-prescale : LCD AC bias frequency. This frequency is the required
13 AC bias frequency for a given manufacturer's LCD plate.
44 clock-frequency = <6500000>;
/linux-4.4.14/drivers/media/pci/ttpci/
Dbudget.c216 u32 div = (c->frequency + 479500) / 125; in alps_bsrv2_tuner_set_params()
218 if (c->frequency > 2000000) in alps_bsrv2_tuner_set_params()
220 else if (c->frequency > 1800000) in alps_bsrv2_tuner_set_params()
222 else if (c->frequency > 1600000) in alps_bsrv2_tuner_set_params()
224 else if (c->frequency > 1200000) in alps_bsrv2_tuner_set_params()
226 else if (c->frequency >= 1100000) in alps_bsrv2_tuner_set_params()
259 div = (c->frequency + 35937500 + 31250) / 62500; in alps_tdbe2_tuner_set_params()
264 data[3] = (c->frequency < 174000000 ? 0x88 : c->frequency < 470000000 ? 0x84 : 0x81); in alps_tdbe2_tuner_set_params()
294 div = (36125000 + c->frequency) / 166666; in grundig_29504_401_tuner_set_params()
298 if (c->frequency < 175000000) in grundig_29504_401_tuner_set_params()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Drenesas,mmcif.txt22 - max-frequency: Maximum operating clock frequency, driver uses default clock
23 frequency if it is not set.
35 max-frequency = <97500000>;
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Darc-uart.txt7 - clock-frequency : the input clock frequency for the UART
16 clock-frequency = <80000000>;
/linux-4.4.14/drivers/net/
Dsb1000.c121 int* frequency);
123 int frequency);
578 sb1000_get_frequency(const int ioaddr[], const char* name, int* frequency) in sb1000_get_frequency() argument
590 *frequency = ((st[1] << 8 | st[2]) << 8 | st[3]) << 8 | st[4]; in sb1000_get_frequency()
596 sb1000_set_frequency(const int ioaddr[], const char* name, int frequency) in sb1000_set_frequency() argument
605 if (frequency < FrequencyLowerLimit || frequency > FrequencyUpperLimit) { in sb1000_set_frequency()
607 "[%d,%d] kHz\n", name, frequency, FrequencyLowerLimit, in sb1000_set_frequency()
614 Command0[5] = frequency & 0xff; in sb1000_set_frequency()
615 frequency >>= 8; in sb1000_set_frequency()
616 Command0[4] = frequency & 0xff; in sb1000_set_frequency()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/timer/
Dbrcm,kona-timer.txt12 - clock-frequency: frequency that the clock operates
14 Only one of clocks or clock-frequency should be specified.
Dbrcm,bcm2835-system-timer.txt13 - clock-frequency : The frequency of the clock that drives the counter, in Hz.
21 clock-frequency = <1000000>;
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dusb-nop-xceiv.txt9 This property is required if clock-frequency is specified.
13 - clock-frequency: the clock frequency (in Hz) that the PHY clock must
29 clock-frequency = <19200000>;
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Darch_timer.txt20 - clock-frequency : The frequency of the main counter, in Hz. Should be present
45 clock-frequency = <100000000>;
52 - clock-frequency : The frequency of the main counter, in Hz. Should be present
80 clock-frequency = <50000000>;
/linux-4.4.14/Documentation/devicetree/bindings/iio/
Dsensorhub.txt8 - spi-max-frequency: max SPI clock frequency
19 spi-max-frequency = <5000000>;
/linux-4.4.14/Documentation/devicetree/bindings/iio/dac/
Dad7303.txt6 - spi-max-frequency: Max SPI frequency to use (< 30000000)
19 spi-max-frequency = <10000000>;
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dak4642.txt14 - clock-frequency : common clock binding; frequency of MCKO
34 clock-frequency = <12288000>;
/linux-4.4.14/arch/arm64/boot/dts/xilinx/
Dzynqmp-ep108.dts55 clock-frequency = <400000>;
64 clock-frequency = <400000>;
91 spi-max-frequency = <50000000>;
108 spi-max-frequency = <50000000>;
/linux-4.4.14/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra20-emc.txt52 and they will always be used (based on which frequency is used).
68 the valid frequency for which the table should be used (in kHz).
69 - clock-frequency : the clock frequency for the EMC at which this
72 for operation at the 'clock-frequency' setting.
85 clock-frequency = < 166000 >;
95 clock-frequency = < 333000 >;
/linux-4.4.14/Documentation/devicetree/bindings/staging/iio/adc/
Dspear-adc.txt9 - sampling-frequency: Default sampling frequency
24 sampling-frequency = <5000000>;
/linux-4.4.14/Documentation/devicetree/bindings/iio/frequency/
Dadf4350.txt8 - spi-max-frequency: Max SPI frequency to use (< 20000000)
16 - adi,power-up-frequency: If set in Hz the PLL tunes to
17 the desired frequency on probe.
77 spi-max-frequency = <10000000>;
81 adi,power-up-frequency = <2400000000>;
/linux-4.4.14/Documentation/devicetree/bindings/security/tpm/
Dst33zp24-spi.txt5 - spi-max-frequency: Maximum SPI frequency (<= 10000000).
27 spi-max-frequency = <10000000>;
Dst33zp24-i2c.txt5 - clock-frequency: I²C work frequency.
29 clock-frequency = <400000>;
/linux-4.4.14/Documentation/devicetree/bindings/net/nfc/
Dpn544.txt5 - clock-frequency: I�C work frequency.
27 clock-frequency = <400000>;
Dnxp-nci.txt5 - clock-frequency: I²C work frequency.
27 clock-frequency = <100000>;
/linux-4.4.14/arch/mips/boot/dts/netlogic/
Dxlp_svp.dts25 clock-frequency = <133333333>;
35 clock-frequency = <133333333>;
46 clock-frequency = <32000000>;
57 clock-frequency = <32000000>;

123456789