Searched refs:frequency (Results 76 - 100 of 441) sorted by relevance

1234567891011>>

/linux-master/drivers/cpufreq/
H A Dpxa2xx-cpufreq.c91 MODULE_PARM_DESC(pxa255_turbo_table, "Selects the frequency table (0 = run table, !0 = turbo table)");
170 pr_info("PXA CPU 27x max frequency not defined (pxa27x_maxfreq), assuming pxa271 with %dkHz maxfreq\n",
198 pr_debug("Changing CPU frequency from %d Mhz to %d Mhz\n",
210 * Even if voltage setting fails, we don't report it, as the frequency
242 pxa255_run_freq_table[i].frequency = pxa255_run_freqs[i].khz;
245 pxa255_run_freq_table[i].frequency = CPUFREQ_TABLE_END;
249 pxa255_turbo_freq_table[i].frequency =
253 pxa255_turbo_freq_table[i].frequency = CPUFREQ_TABLE_END;
262 pxa27x_freq_table[i].frequency = freq;
266 pxa27x_freq_table[i].frequency
[all...]
H A Dsparc-us2e-cpufreq.c2 /* us2e_cpufreq.c: UltraSPARC-IIe cpu frequency support
280 table[0].frequency = clock_tick / 1;
282 table[1].frequency = clock_tick / 2;
284 table[2].frequency = clock_tick / 4;
286 table[2].frequency = clock_tick / 6;
288 table[2].frequency = clock_tick / 8;
290 table[3].frequency = CPUFREQ_TABLE_END;
H A Dmediatek-cpufreq-hw.c70 if (data->table[i].frequency < *KHz)
75 *KHz = data->table[i].frequency;
108 return data->table[index].frequency;
121 return policy->freq_table[index].frequency;
145 data->table[i].frequency = freq;
147 dev_dbg(dev, "index=%d freq=%d\n", i, data->table[i].frequency);
152 data->table[i].frequency = CPUFREQ_TABLE_END;
H A Dp4-clockmod.c122 pr_warn_once("Warning: EST-capable CPU detected. The acpi-cpufreq module offers voltage scaling in addition to frequency scaling. You should use that instead of p4-clockmod, if possible.\n");
141 /* on P-4s, the TSC runs with constant frequency independent whether
146 pr_warn("Warning: Pentium 4-M detected. The speedstep-ich or acpi cpufreq modules offer voltage scaling in addition of frequency scaling. You should use either one instead of p4-clockmod, if possible.\n");
178 /* switch to maximum frequency and measure result */
182 /* get max frequency */
188 for (i = 1; (p4clockmod_table[i].frequency != CPUFREQ_TABLE_END); i++) {
190 p4clockmod_table[i].frequency = CPUFREQ_ENTRY_INVALID;
192 p4clockmod_table[i].frequency = (stock_freq * i)/8;
H A Dspear-cpufreq.c110 newfreq = spear_cpufreq.freq_tbl[index].frequency * 1000;
116 * different clock source for different frequency of cpu clk.
206 freq_tbl[i].frequency = be32_to_cpup(val++);
208 freq_tbl[i].frequency = CPUFREQ_TABLE_END;
/linux-master/drivers/media/tuners/
H A Dtda18212.c51 "delivery_system=%d frequency=%d bandwidth_hz=%d\n",
52 c->delivery_system, c->frequency,
131 buf[4] = ((c->frequency / 1000) >> 16) & 0xff;
132 buf[5] = ((c->frequency / 1000) >> 8) & 0xff;
133 buf[6] = ((c->frequency / 1000) >> 0) & 0xff;
154 static int tda18212_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
158 *frequency = dev->if_frequency;
H A Dmt2266.c31 u32 frequency; member in struct:mt2266_priv
130 freq = priv->frequency / 1000; /* Hz -> kHz */
134 priv->frequency = c->frequency;
255 static int mt2266_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
258 *frequency = priv->frequency;
H A Dfc0011.c62 u32 frequency; member in struct:fc0011_priv
169 u32 freq = p->frequency / 1000;
206 /* Calc XIN. The PLL reference frequency is 18 MHz. */
433 priv->frequency = p->frequency;
439 static int fc0011_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
443 *frequency = priv->frequency;
448 static int fc0011_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
450 *frequency
[all...]
H A Dmxl5007t.c155 u32 frequency; member in struct:mxl5007t_state
409 /* Convert RF frequency into 16 bits =>
598 u32 freq = c->frequency;
644 state->frequency = freq;
697 static int mxl5007t_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
700 *frequency = state->frequency;
711 static int mxl5007t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
715 *frequency = 0;
719 *frequency
[all...]
H A Dsi2157.c454 "delivery_system=%d frequency=%u bandwidth_hz=%u\n",
455 c->delivery_system, c->frequency, c->bandwidth_hz);
529 /* set digital if frequency if needed */
543 /* set digital frequency */
545 cmd.args[4] = (c->frequency >> 0) & 0xff;
546 cmd.args[5] = (c->frequency >> 8) & 0xff;
547 cmd.args[6] = (c->frequency >> 16) & 0xff;
548 cmd.args[7] = (c->frequency >> 24) & 0xff;
556 dev->frequency = c->frequency;
766 si2157_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
786 si2157_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dstb6000.c28 u32 frequency; member in struct:stb6000_priv
82 freq_mhz = p->frequency / 1000;
161 priv->frequency = freq_mhz * 1000;
168 static int stb6000_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
171 *frequency = priv->frequency;
H A Dstb6100.c298 static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
315 *frequency = state->frequency = fvco >> (odiv + 1);
318 "frequency = %u kHz, odiv = %u, psd2 = %u, fxtal = %u kHz, fvco = %u kHz, N(I) = %u, N(F) = %u",
319 state->frequency, odiv, psd2, state->reference, fvco, nint, nfrac);
324 static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) argument
357 if (frequency <= 1075000)
367 (ptr->val_high != 0) && !CHKRANGE(frequency, ptr->val_low, ptr->val_high);
371 printk(KERN_ERR "%s: frequency out of range: %u kHz\n", __func__, frequency);
[all...]
H A Dstv6110x.c108 static int stv6110x_set_frequency(struct dvb_frontend *fe, u32 frequency) argument
117 if (frequency <= 1023000) {
121 } else if (frequency <= 1300000) {
125 } else if (frequency <= 2046000) {
144 divider = (frequency * R_DIV(rDivOpt) * pVal) / REFCLOCK_kHz;
169 static int stv6110x_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
176 *frequency = (MAKEWORD16(STV6110x_GETFIELD(TNG1_N_DIV_11_8, stv6110x->regs[STV6110x_TNG1]),
179 *frequency /= (1 << (STV6110x_GETFIELD(TNG1_R_DIV, stv6110x->regs[STV6110x_TNG1]) +
182 *frequency >>= 2;
H A Dstv6110.c223 static int stv6110_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
243 *frequency = freq;
248 static int stv6110_set_frequency(struct dvb_frontend *fe, u32 frequency) argument
256 frequency, priv->mclk);
267 if (frequency <= 1023000) {
270 } else if (frequency <= 1300000) {
273 } else if (frequency <= 2046000) {
300 divider = (((frequency * 1000) + (ref >> 1)) / ref);
341 stv6110_set_frequency(fe, c->frequency);
H A Dcx24113.c83 u32 frequency; member in struct:cx24113_state
296 s32 freq_hz = state->frequency * 1000;
304 if (state->frequency >= 1100000)
309 if (state->frequency >= 1165000)
330 cx_err("strange frequency: N < 6\n");
379 static int cx24113_set_frequency(struct cx24113_state *state, u32 frequency) argument
391 state->frequency = frequency;
393 dprintk("tuning to frequency: %d\n", frequency);
509 cx24113_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
[all...]
/linux-master/arch/powerpc/boot/dts/fsl/
H A Dmpc8569si-post.dtsi50 clock-frequency = <33333333>;
99 bus-frequency = <0>; // Filled out by uboot.
197 brg-frequency = <0>;
198 bus-frequency = <0>;
219 clock-frequency = <0>;
/linux-master/drivers/thermal/
H A Dcpufreq_cooling.c29 * Cooling state <-> CPUFreq frequency
34 * Highest cooling state corresponds to lowest possible frequency.
85 * get_level: Find the level for a particular frequency
89 * Return: level corresponding to the frequency.
100 if (freq > table[i].frequency)
118 if (freq > table[i].frequency)
146 freq = table[i].frequency;
196 * @freq: current frequency
217 * the requested power, but it's hard to get the frequency that
222 * We use the current frequency an
481 unsigned int frequency; local
[all...]
/linux-master/drivers/clk/
H A Dclk-si514.c164 /* Calculate divider settings for a given frequency */
166 unsigned long frequency)
173 if ((frequency < SI514_MIN_FREQ) || (frequency > SI514_MAX_FREQ))
177 ls_freq = frequency;
178 if (frequency >= (FVCO_MIN / HS_DIV_MAX))
184 if ((frequency * tmp) >= FVCO_MIN)
190 ls_freq = frequency << res;
196 /* M = LS_DIV x HS_DIV x frequency / F_XO (in fixed-point) */
205 /* Calculate resulting frequency give
165 si514_calc_muldiv(struct clk_si514_muldiv *settings, unsigned long frequency) argument
[all...]
/linux-master/drivers/net/
H A Dsb1000.c118 int* frequency);
120 int frequency);
576 /* get SB1000 frequency */
578 sb1000_get_frequency(const int ioaddr[], const char* name, int* frequency) argument
590 *frequency = ((st[1] << 8 | st[2]) << 8 | st[3]) << 8 | st[4];
594 /* set SB1000 frequency */
596 sb1000_set_frequency(const int ioaddr[], const char* name, int frequency) argument
605 if (frequency < FrequencyLowerLimit || frequency > FrequencyUpperLimit) {
606 printk(KERN_ERR "%s: frequency chose
1001 int ioaddr[2], status, frequency; local
[all...]
/linux-master/include/linux/
H A Dcpufreq.h107 * guarantee that frequency can be changed on any CPU sharing the
110 * frequency switching with the help of cpufreq_enable_fast_switch().
122 * Set if inefficient frequencies were found in the frequency table.
130 * the driver to set the frequency for this policy. To be set by the
147 /* Cached frequency lookup from cpufreq_driver_resolve_freq. */
151 /* Synchronization for frequency transitions */
174 * frequency table.
285 #define CPUFREQ_RELATION_L 0 /* lowest frequency at or above target */
286 #define CPUFREQ_RELATION_H 1 /* highest frequency below or at target */
287 #define CPUFREQ_RELATION_C 2 /* closest frequency t
692 unsigned int frequency; /* kHz - doesn't need to be in ascending member in struct:cpufreq_frequency_table
1082 cpufreq_table_set_inefficient(struct cpufreq_policy *policy, unsigned int frequency) argument
1173 cpufreq_table_set_inefficient(struct cpufreq_policy *policy, unsigned int frequency) argument
[all...]
/linux-master/drivers/media/pci/mantis/
H A Dmantis_vp2040.c51 u32 div = (p->frequency + CU1216_IF + TUNER_MUL / 2) / TUNER_MUL;
56 buf[3] = (p->frequency < 150000000 ? 0x01 :
57 p->frequency < 445000000 ? 0x02 : 0x04);
H A Dmantis_vp2033.c69 u32 div = (p->frequency + CU1216_IF + TUNER_MUL / 2) / TUNER_MUL;
74 buf[3] = (p->frequency < 150000000 ? 0x01 :
75 p->frequency < 445000000 ? 0x02 : 0x04);
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-mci.h123 u32 frequency; member in struct:mci_command::__anon911::__anon912
146 u32 frequency; member in struct:mci_command::__anon911::__anon914
180 /* actual frequency in Hz */
181 u32 frequency; member in struct:mci_result::__anon918::__anon919
/linux-master/drivers/crypto/intel/qat/qat_c62x/
H A Dadf_c62x_hw_data.c66 u32 frequency; local
69 ret = adf_dev_measure_clock(accel_dev, &frequency, ADF_C62X_MIN_AE_FREQ,
74 accel_dev->hw_device->clock_frequency = frequency;
/linux-master/drivers/crypto/intel/qat/qat_c3xxx/
H A Dadf_c3xxx_hw_data.c66 u32 frequency; local
69 ret = adf_dev_measure_clock(accel_dev, &frequency, ADF_C3XXX_MIN_AE_FREQ,
74 accel_dev->hw_device->clock_frequency = frequency;

Completed in 189 milliseconds

1234567891011>>