/linux-master/drivers/media/v4l2-core/ |
H A D | tuner-core.c | 113 * analog stage with a saw filter for the audio IF frequency. The 483 trying to set a frequency here will just fail 729 * two stages: the PLL to tune into a frequency and the 813 * select a TV frequency. So, t_mode = T_ANALOG_TV could actually 859 * set_freq - Set the tuner to the desired frequency. 861 * @freq: frequency to set (0 means to use the current frequency) 883 * set_tv_freq - Set tuner frequency, freq in Units of 62.5 kHz = 1/16MHz 886 * @freq: frequency 918 params.frequency [all...] |
/linux-master/drivers/media/pci/saa7164/ |
H A D | saa7164-encoder.c | 343 f->frequency = port->freq; 367 .frequency = f->frequency 371 dprintk(DBGLVL_ENC, "%s() frequency=%d tuner=%d\n", __func__, 372 f->frequency, f->tuner); 377 port->freq = clamp(f->frequency,
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | lgdt3305.c | 675 lg_dbg("(%d, %d)\n", p->frequency, p->modulation); 683 state->current_frequency = p->frequency; 743 lg_dbg("(%d, %d)\n", p->frequency, p->modulation); 751 state->current_frequency = p->frequency; 809 p->frequency = state->current_frequency;
|
H A D | dib0070.c | 253 u32 max_freq; /* for every frequency less than or equal to that field: this information is correct */ 264 u32 max_freq; /* for every frequency less than or equal to that field: this information is correct */ 331 u8 band = (u8)BAND_OF_FREQUENCY(fe->dtv_property_cache.frequency/1000); 332 u32 freq = fe->dtv_property_cache.frequency/1000 + (band == BAND_VHF ? state->cfg->freq_offset_khz_vhf : state->cfg->freq_offset_khz_uhf); 460 } else { /* we are already tuned to this frequency - the configuration is correct */ 627 u32 freq = fe->dtv_property_cache.frequency/1000; 708 static int dib0070_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 712 *frequency = 1000 * state->current_rf;
|
H A D | m88rs2000.c | 628 offset = (s16)((s32)tuner_freq - c->frequency); 634 if (((c->frequency % 192857) >= (192857 - 3000)) || 635 (c->frequency % 192857) <= 3000) 697 state->tuner_frequency = c->frequency; 708 c->frequency = state->tuner_frequency;
|
H A D | s5h1409.c | 627 dprintk("%s(frequency=%d)\n", __func__, p->frequency); 631 state->current_frequency = p->frequency; 644 newly tuned frequency */ 921 p->frequency = state->current_frequency;
|
H A D | mt312.c | 542 dprintk("%s: Freq %d\n", __func__, p->frequency); 544 if ((p->frequency < fe->ops.info.frequency_min_hz / kHz) 545 || (p->frequency > fe->ops.info.frequency_max_hz / kHz))
|
H A D | tda10023.c | 469 p->frequency = ((p->frequency + 31250) / 62500) * 62500; 472 p->frequency -= ((s32)p->symbol_rate * afc) >> 10;
|
H A D | tda10021.c | 279 /*printk("tda10021: set frequency to %d qam=%d symrate=%d\n", p->frequency,qam,p->symbol_rate);*/ 408 p->frequency = ((p->frequency + 31250) / 62500) * 62500; 411 p->frequency -= ((s32)p->symbol_rate * afc) >> 10;
|
/linux-master/drivers/media/tuners/ |
H A D | xc5000.c | 662 dprintk(1, "*** Horizontal sync frequency = %d Hz\n", hsync_freq_hz); 731 u32 freq = fe->dtv_property_cache.frequency; 739 dprintk(1, "%s() frequency=%d (Hz)\n", __func__, freq); 811 dprintk(1, "%s() frequency=%d (compensated to %d)\n", 842 dprintk(1, "%s() frequency=%d (in units of 62.5khz)\n", 843 __func__, params->frequency); 850 /* params->frequency is in units of 62.5khz */ 851 priv->freq_hz = params->frequency * 62500; 954 dprintk(1, "%s() frequency=%d (in units of khz)\n", 955 __func__, params->frequency); [all...] |
/linux-master/drivers/media/radio/ |
H A D | radio-cadet.c | 172 * Convert to actual frequency 184 freq -= 10700000; /* IF frequency is 10.7 MHz */ 418 f->frequency = dev->curfreq; 431 f->frequency >= (bands[0].rangehigh + bands[1].rangelow) / 2; 432 cadet_setfreq(dev, f->frequency);
|
H A D | radio-tea5777.c | 348 f->frequency = tea->freq; 360 if (tea->has_am && f->frequency < (20000 * 16)) 365 tea->freq = f->frequency;
|
H A D | tea575x.c | 331 f->frequency = tea->freq; 343 if (tea->has_am && f->frequency < (20000 * 16)) 350 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, 392 /* clear the frequency, HW will fill it in */ 413 /* Found a frequency, wait until it can be read */
|
H A D | radio-ma901.c | 5 * only deals with initialization, frequency setting, volume. 92 /* set a frequency, freq is defined by v4l's TUNER_LOW, i.e. 1/16th kHz */ 243 /* vidioc_s_frequency - set tuner radio frequency */ 252 return ma901radio_set_freq(radio, clamp_t(unsigned, f->frequency, 256 /* vidioc_g_frequency - get tuner radio frequency */ 264 f->frequency = radio->curfreq; 410 * setups frequency and starts playing without any initialization.
|
H A D | radio-keene.c | 69 /* Set frequency (if non-0), PA, mute and turn on/off the FM transmitter. */ 80 /* If bit 4 is set, then tune to the frequency. 206 unsigned freq = f->frequency; 222 f->frequency = radio->curfreq;
|
/linux-master/tools/power/cpupower/lib/ |
H A D | cpufreq.c | 382 if (sscanf(one_value, "%lu", ¤t->frequency) != 1) 438 if (sscanf(one_value, "%lu", ¤t->frequency) != 1) 747 ¤t->frequency,
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-sdr-cap.c | 365 vf->frequency = dev->sdr_adc_freq; 369 vf->frequency = dev->sdr_fm_freq; 381 unsigned freq = vf->frequency;
|
/linux-master/drivers/media/common/siano/ |
H A D | smsdvb-debugfs.c | 60 n += sysfs_emit_at(buf, n, "frequency = %d\n", p->frequency); 121 n += sysfs_emit_at(buf, n, "frequency = %d Hz\n", p->frequency); 185 n += sysfs_emit_at(buf, n, "frequency = %d Hz\n", p->frequency);
|
/linux-master/drivers/cpufreq/ |
H A D | brcmstb-avs-cpufreq.c | 2 * CPU frequency scaling for Broadcom SoCs with AVS firmware that 30 * The Broadcom STB AVS CPUfreq driver provides voltage and frequency 36 * Actual voltage and frequency scaling is done solely by the AVS 37 * firmware. This driver does not change frequency or voltage itself. 423 * and reading back what frequency we are running at for each P-state. 450 table[i].frequency = brcm_avs_get_frequency(priv->base); 453 table[i].frequency = CPUFREQ_TABLE_END; 632 dev_err(dev, "Couldn't determine frequency table (%d).\n", ret); 647 policy->cur = freq_table[pstate].frequency;
|
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_frontend.c | 396 u32 original_frequency = c->frequency; 467 c->frequency += fepriv->lnb_drift; 479 c->frequency = original_frequency; 495 "Frontend requested software zigzag, but didn't set the frequency step size\n"); 916 "DVB: adapter %i frontend %u frequency limits undefined - fix the driver\n", 919 dev_dbg(fe->dvb->device, "frequency interval: tuner: %u...%u, frontend: %u...%u", 970 /* range check: frequency */ 972 if ((freq_min && c->frequency < freq_min) || 973 (freq_max && c->frequency > freq_max)) { 974 dev_warn(fe->dvb->device, "DVB: adapter %i frontend %i frequency [all...] |
/linux-master/drivers/staging/pi433/ |
H A D | rf69.c | 243 * frequency deviation must exceed 600 Hz but not exceed 281 int rf69_set_frequency(struct spi_device *spi, u32 frequency) argument 298 if (frequency > f_max) { 304 f_reg = frequency * factor;
|
/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 961 f->frequency = dev->freq; 987 dev->freq = f->frequency; 1021 .frequency = f->frequency 1024 dev->freq = f->frequency; 1035 dprintk(1, "%s() frequency=%d tuner=%d std=0x%llx\n", __func__, 1036 params.frequency, f->tuner, params.std);
|
/linux-master/net/nfc/nci/ |
H A D | core.c | 256 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; 264 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; 273 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; 281 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; 289 cmd.disc_configs[cmd.num_disc_configs].frequency = 1; 293 cmd.disc_configs[cmd.num_disc_configs].frequency = 1;
|
/linux-master/drivers/sh/clk/ |
H A D | cpg.c | 125 return clk->freq_table[idx].frequency; 250 clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END; 305 /* Rebuild the frequency table */ 358 /* Rebiuld the frequency table */
|
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-dvb.c | 173 /* set frequency (mt2050) */ 176 f.frequency = c->frequency / 1000 * 16 / 1000; 280 tuner_frequency = c->frequency + 36166000; 305 if (c->frequency < 49000000) 307 else if (c->frequency < 161000000) 309 else if (c->frequency < 444000000) 311 else if (c->frequency < 861000000) 337 tuner_frequency = (((c->frequency / 1000) * 6) + 217496) / 1000;
|