Searched refs:frequency (Results 151 - 175 of 441) sorted by relevance

1234567891011>>

/linux-master/drivers/media/dvb-frontends/
H A Dstv0900_priv.h253 u32 frequency;/* Transponder frequency (in KHz) */ member in struct:stv0900_search_params
268 u32 frequency;/* Transponder frequency (in KHz) */ member in struct:stv0900_signal_info
358 extern void stv0900_set_tuner(struct dvb_frontend *fe, u32 frequency,
H A Ds921.c50 * Various tuner defaults need to be established for a given frequency kHz.
266 dprintk("frequency=%i\n", p->frequency);
269 if (p->frequency < s921_bandselect[band].freq_low)
274 rc("%s: frequency out of range\n", __func__);
280 offset = ((u64)p->frequency) * 258;
423 state->currentfreq = p->frequency;
434 p->frequency = state->currentfreq;
H A Dts2020.c33 u32 frequency_div; /* LO output divider switch frequency */
34 u32 frequency_khz; /* actual used LO frequency */
198 unsigned int frequency_khz = c->frequency;
221 pr_debug("frequency=%u offset=%d f_vco_khz=%u pll_n=%u div_ref=%u div_out=%u\n",
222 priv->frequency_khz, priv->frequency_khz - c->frequency,
314 static int ts2020_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
318 *frequency = priv->frequency_khz;
322 static int ts2020_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
324 *frequency = 0; /* Zero-IF */
H A Dtda10086.c28 u32 frequency; member in struct:tda10086_state
427 /* calculate the frequency offset (in *Hz* not kHz) */
428 freqoff = fe_params->frequency - freq;
445 state->frequency = fe_params->frequency;
463 /* calculate the updated frequency (note: we convert from Hz->kHz) */
470 fe_params->frequency = (int) state->frequency + (int) tmp64;
H A Dstv0367_priv.h173 u32 frequency; /* kHz */ member in struct:stv0367_cab_signal_info
/linux-master/drivers/cpufreq/
H A Dspeedstep-smi.c41 * There are only two frequency states for each processor. Values
93 * @low: the low frequency value is placed here
94 * @high: the high frequency value is placed here
145 * @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH)
164 pr_debug("trying to set frequency to state %u "
204 (speedstep_freqs[new_state].frequency / 1000),
244 /* detect low and high frequency */
245 low = &speedstep_freqs[SPEEDSTEP_LOW].frequency;
246 high = &speedstep_freqs[SPEEDSTEP_HIGH].frequency;
H A Dimx6q-cpufreq.c68 new_freq = freq_table[index].frequency;
87 /* scaling up? scale voltage before frequency */
111 * reprogram PLL for frequency scaling. The procedure of reprogramming
113 * For i.MX6UL, it has a secondary clk mux, the cpu frequency change
126 * voltage of 528MHz, so lower the CPU frequency to one
127 * half before changing CPU frequency.
173 /* scaling down? scale voltage after frequency */
416 * Each OPP is a set of tuples consisting of frequency and
428 if (freq_table[j].frequency == freq) {
441 if (freq_table[num - 1].frequency * 100
[all...]
H A Dacpi-cpufreq.c211 return policy->freq_table[i].frequency;
233 return pos->frequency;
234 return policy->freq_table[0].frequency;
384 cached_freq = policy->freq_table[to_perf_data(data)->state].frequency;
388 * The dreaded BIOS frequency change behind our back.
389 * Force set the frequency on next target call.
453 policy->freq_table[index].frequency)) {
474 * Find the closest frequency above target_freq.
483 next_freq = entry->frequency;
553 * in order to determine correct frequency an
[all...]
/linux-master/arch/arm/mach-pxa/
H A Dsleep.S120 @ check that the memory frequency is within limits
144 @ initiate the frequency change...
152 @ just set frequency to 91-MHz... 6*91/13 = 42
/linux-master/drivers/platform/x86/intel/int3472/
H A Dclk_and_regulator.c110 return clk->frequency;
140 int3472->clock.frequency = skl_int3472_get_clk_frequency(int3472);
183 int3472->clock.frequency = skl_int3472_get_clk_frequency(int3472);
/linux-master/drivers/powercap/
H A Ddtpm_cpu.c64 freq = table[i - 1].frequency;
110 if (table[i].frequency < freq)
239 table[pd->nr_perf_states - 1].frequency);
/linux-master/drivers/media/tuners/
H A Dmax2165.c185 /* Set PLL divider according to RF frequency */
258 priv->frequency = c->frequency;
266 dprintk("%s() frequency=%d\n", __func__, c->frequency);
271 ret = max2165_set_rf(priv, priv->frequency);
287 *freq = priv->frequency;
H A Dmt2060.c132 /* The function below calculates the frequency offset between the output frequency if2
152 /* Calculates the frequency offset to add to avoid spurs. Returns 0 if no offset is needed */
185 #define IF2 36150 // IF2 frequency = 36.150 MHz
211 freq = c->frequency / 1000; /* Hz -> kHz */
218 priv->frequency = (f_lo1 - f_lo2 - IF2) * 1000;
320 static int mt2060_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
323 *frequency = priv->frequency;
327 static int mt2060_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
[all...]
H A Dfc2580.c95 "frequency=%u bandwidth=%u f_vco=%llu F_REF=%u div_ref=%u div_n=%u k=%u div_out=%u k_cw=%0x\n",
322 dev->f_frequency = c->frequency;
337 static int fc2580_dvb_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
339 *frequency = 0; /* Zero-IF */
418 f->frequency = dev->f_frequency;
428 dev_dbg(&client->dev, "tuner=%d type=%d frequency=%u\n",
429 f->tuner, f->type, f->frequency);
431 dev->f_frequency = clamp_t(unsigned int, f->frequency,
H A Dmc44s803_priv.h191 u32 frequency; member in struct:mc44s803_priv
H A Dmsi001.c135 * intermediate frequency (Hz)
323 f->frequency = dev->f_tuner;
334 dev_dbg(&spi->dev, "tuner=%d type=%d frequency=%u\n",
335 f->tuner, f->type, f->frequency);
337 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2))
341 dev->f_tuner = clamp_t(unsigned int, f->frequency,
/linux-master/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors_core.c756 int ret, frequency; local
768 frequency = st->resp->sensor_odr.ret;
769 *val = frequency / 1000;
770 *val2 = (frequency % 1000) * 1000;
828 int ret, frequency; local
832 frequency = val * 1000 + val2 / 1000;
834 st->param.sensor_odr.data = frequency;
/linux-master/drivers/media/usb/ttusb-budget/
H A Ddvb-ttusb-budget.c978 div = (p->frequency + 36166667) / 166667;
983 data[3] = p->frequency < 592000000 ? 0x40 : 0x80;
1035 tuner_frequency = p->frequency + 36130000;
1049 if (p->frequency < 49000000)
1051 else if (p->frequency < 159000000)
1053 else if (p->frequency < 444000000)
1055 else if (p->frequency < 861000000)
1082 tuner_frequency = (((p->frequency / 1000) * 6) + 217280) / 1000;
1240 if ((p->frequency < 950000) || (p->frequency > 215000
[all...]
/linux-master/drivers/ptp/
H A Dptp_ocp.c1037 u64 frequency; member in struct:ocp_selector
1058 { .name = "10Mhz", .value = 0x0000, .frequency = 10000000 },
1059 { .name = "PPS1", .value = 0x0001, .frequency = 1 },
1060 { .name = "PPS2", .value = 0x0002, .frequency = 1 },
1061 { .name = "TS1", .value = 0x0004, .frequency = 0 },
1062 { .name = "TS2", .value = 0x0008, .frequency = 0 },
1063 { .name = "IRIG", .value = 0x0010, .frequency = 10000 },
1064 { .name = "DCF", .value = 0x0020, .frequency = 77500 },
1065 { .name = "TS3", .value = 0x0040, .frequency = 0 },
1066 { .name = "TS4", .value = 0x0080, .frequency
4568 ptp_ocp_dpll_frequency_set(const struct dpll_pin *pin, void *pin_priv, const struct dpll_device *dpll, void *dpll_priv, u64 frequency, struct netlink_ext_ack *extack) argument
4590 ptp_ocp_dpll_frequency_get(const struct dpll_pin *pin, void *pin_priv, const struct dpll_device *dpll, void *dpll_priv, u64 *frequency, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/clk/at91/
H A Dclk-main.c39 unsigned long frequency; member in struct:clk_main_rc_osc
258 return osc->frequency;
299 u32 frequency, u32 accuracy)
306 if (!name || !frequency)
321 osc->frequency = frequency;
362 pr_warn("Main crystal frequency not set, using approximate value\n");
297 at91_clk_register_main_rc_osc(struct regmap *regmap, const char *name, u32 frequency, u32 accuracy) argument
/linux-master/drivers/media/common/siano/
H A Dsmsdvb-main.c246 c->frequency = p->frequency;
309 c->frequency = p->frequency;
374 c->frequency = p->frequency;
461 c->frequency = p->frequency;
905 msg.Data[0] = c->frequency;
908 pr_debug("%s: freq %d band %d\n", __func__, c->frequency,
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Ddst_common.h103 u32 frequency; /* intermediate frequency in kHz for QPSK */ member in struct:dst_state
/linux-master/drivers/media/radio/wl128x/
H A Dfmdrv_v4l2.c352 /* Get tuner or modulator radio frequency */
359 ret = fmc_get_freq(fmdev, &freq->frequency);
361 fmerr("Failed to get frequency\n");
366 freq->frequency = (u32) freq->frequency * 16;
371 /* Set tuner or modulator radio frequency */
378 * As V4L2_TUNER_CAP_LOW is set 1 user sends the frequency
381 return fmc_set_freq(fmdev, freq->frequency / 16);
384 /* Set hardware frequency seek. If current mode is NOT RX, set it RX. */
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_pfvf_vf_msg.c119 hw_data->clock_frequency = cap_msg.frequency;
121 dev_info(&GET_DEV(accel_dev), "Could not get frequency");
/linux-master/drivers/platform/x86/intel/
H A DMakefile16 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += uncore-frequency/

Completed in 609 milliseconds

1234567891011>>