/linux-master/include/linux/ |
H A D | energy_model.h | 16 * @performance: CPU performance (capacity) at a given frequency 17 * @frequency: The frequency in KHz, for consistency with CPUFreq 21 * energy calculation. Equal to: power * max_frequency / frequency 26 unsigned long frequency; member in struct:em_perf_state 36 * in this em_perf_domain, another performance state with a higher frequency 128 * and frequency. 216 * might reflect reduced frequency (due to thermal)
|
/linux-master/drivers/media/firewire/ |
H A D | firedtv-avc.c | 330 * tuning command for setting the relative LNB frequency 348 c->operand[4] = (p->frequency >> 24) & 0xff; 349 c->operand[5] = (p->frequency >> 16) & 0xff; 350 c->operand[6] = (p->frequency >> 8) & 0xff; 351 c->operand[7] = p->frequency & 0xff; 446 c->operand[11] = (((p->frequency / 4000) >> 16) & 0xff) | (2 << 6); 447 c->operand[12] = ((p->frequency / 4000) >> 8) & 0xff; 448 c->operand[13] = (p->frequency / 4000) & 0xff; 514 c->operand[8] = (p->frequency / 10) >> 24; 515 c->operand[9] = ((p->frequency / 1 [all...] |
/linux-master/drivers/media/radio/ |
H A D | dsbr100.c | 4 * only deals with initialisation and frequency setting, the 80 /* set a frequency, freq is defined by v4l's TUNER_LOW, i.e. 1/16th kHz */ 209 return dsbr100_setfreq(radio, clamp_t(unsigned, f->frequency, 221 f->frequency = radio->curfreq;
|
H A D | radio-sf16fmi.c | 172 fmi->curfreq = f->frequency; 186 f->frequency = fmi->curfreq; 351 /* mute card and set default frequency */
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | as102_fe.c | 60 /* set frequency */ 61 tune_args.freq = c->frequency / 1000; 144 c->frequency,
|
H A D | s5h1432.c | 174 if (p->frequency == state->current_frequency) { 175 /*current_frequency = p->frequency; */ 176 /*state->current_frequency = p->frequency; */ 230 state->current_frequency = p->frequency; 269 /*Set 3.3MHz as default IF frequency */
|
H A D | stv0900_core.c | 304 /*Set the DiseqC frequency to 22KHz */ 507 void stv0900_set_tuner(struct dvb_frontend *fe, u32 frequency, argument 517 if ((tuner_ops->set_frequency(fe, frequency)) < 0) 520 dprintk("%s: Frequency=%d\n", __func__, frequency); 1586 p_search.frequency = c->frequency; 1600 intp->freq[demod] = p_search.frequency; 1608 p_result.frequency = intp->result[demod].frequency; 1859 p->frequency [all...] |
H A D | rtl2832_sdr.c | 803 c->frequency = dev->f_tuner; 806 dev_dbg(&pdev->dev, "frequency=%u bandwidth=%d\n", 807 c->frequency, c->bandwidth_hz); 1049 f->frequency = dev->f_adc; 1057 f->frequency = dev->f_tuner; 1073 dev_dbg(&pdev->dev, "tuner=%d type=%d frequency=%u\n", 1074 f->tuner, f->type, f->frequency); 1081 if (f->frequency < BAND_ADC_0) 1083 else if (f->frequency < BAND_ADC_1) 1088 dev->f_adc = clamp_t(unsigned int, f->frequency, [all...] |
H A D | stv0367.c | 51 u32 freq_khz; /* found frequency (in kHz) */ 64 u32 frequency; member in struct:stv0367ter_state 350 dprintk("%s: frequency=%d\n", __func__, freq); 436 u32 mclk_Hz = 0; /* master clock frequency (Hz) */ 993 ter_state->frequency = p->frequency; 1152 ter_state->frequency += offset; 1333 p->frequency = stv0367_get_tuner_freq(fe); 1334 if ((int)p->frequency < 0) 1335 p->frequency [all...] |
H A D | cx24116.c | 149 u32 frequency; member in struct:cx24116_tuning 1291 state->dnxt.frequency = c->frequency; 1313 dprintk("%s: frequency = %d\n", __func__, state->dcur.frequency); 1341 cmd.args[0x01] = (state->dcur.frequency & 0xff0000) >> 16; 1342 cmd.args[0x02] = (state->dcur.frequency & 0x00ff00) >> 8; 1343 cmd.args[0x03] = (state->dcur.frequency & 0x0000ff);
|
H A D | cx24120.c | 12 Add frequency, fec & pilot to get_frontend 36 #define CX24120_REG_FREQ3 0x34 /* frequency */ 111 u32 frequency; member in struct:cx24120_tuning 1157 state->dnxt.frequency = c->frequency; 1184 "frequency = %d\n", state->dcur.frequency); 1206 cmd.arg[1] = (state->dcur.frequency & 0xff0000) >> 16; 1207 cmd.arg[2] = (state->dcur.frequency & 0x00ff00) >> 8; 1208 cmd.arg[3] = (state->dcur.frequency [all...] |
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | vp702x-fe.c | 140 u32 freq = fep->frequency/1000; 162 fep->frequency, freq, freq, fep->symbol_rate, 174 if (fep->frequency < 1531000)
|
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_gtm.c | 165 static int gtm_set_ref_timer16(struct gtm_timer *tmr, int frequency, argument 181 prescaler = gtm->clock / frequency; 245 /* quite obvious, frequency which is enough for ��Sec precision */ 281 /* quite obvious, frequency which is enough for ��Sec precision */ 285 * We can lower the frequency (and probably power consumption) by 286 * dividing both frequency and usec by 2 until there is no remainder. 394 clock = of_get_property(np, "clock-frequency", &size); 396 pr_err("%pOF: no clock-frequency\n", np);
|
/linux-master/arch/riscv/kvm/ |
H A D | vcpu_timer.c | 176 case KVM_REG_RISCV_TIMER_REG(frequency): 220 case KVM_REG_RISCV_TIMER_REG(frequency):
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_eeprom.c | 4352 /* interpolate to get target power for given frequency */ 4388 /* interpolate to get target power for given frequency */ 4424 /* interpolate to get target power for given frequency */ 4449 /* interpolate to get target power for given frequency */ 4804 int frequency, 4841 if (frequency < 4000) { 4860 temp_slope = ar9003_hw_power_interpolate(frequency, 4862 temp_slope1 = ar9003_hw_power_interpolate(frequency, 4864 temp_slope2 = ar9003_hw_power_interpolate(frequency, 4875 temp_slope = ar9003_hw_power_interpolate((s32) frequency, 4803 ar9003_hw_power_control_override(struct ath_hw *ah, int frequency, int *correction, int *voltage, int *temperature) argument 4957 ar9003_hw_calibration_apply(struct ath_hw *ah, int frequency) argument [all...] |
/linux-master/drivers/staging/media/av7110/ |
H A D | av7110_v4l.c | 155 /* magic number: 614. tuning with the frequency given by v4l2 388 dprintk(2, "VIDIOC_G_FREQ: freq:0x%08x\n", f->frequency); 395 f->frequency = av7110->current_freq; 404 dprintk(2, "VIDIOC_S_FREQUENCY: freq:0x%08x\n", f->frequency); 415 /* tune in desired frequency */ 417 ves1820_set_tv_freq(dev, f->frequency); 419 stv0297_set_tv_freq(dev, f->frequency); 420 av7110->current_freq = f->frequency;
|
/linux-master/drivers/iio/pressure/ |
H A D | zpa2326.c | 44 * Note that hardware sampling frequency is taken into account only when 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 89 * correspond to the highest sampling frequency. 98 /* Return the highest hardware sampling frequency available. */ 120 * @frequency: Current hardware sampling frequency. 132 const struct zpa2326_frequency *frequency; member in struct:zpa2326_private 1354 * frequency. 1366 /* Enable continuous sampling at specified frequency. */ 1369 priv->frequency [all...] |
/linux-master/drivers/media/tuners/ |
H A D | e4000.c | 147 "frequency=%u bandwidth=%u f_vco=%llu F_REF=%u div_n=%u k=%u k_cw=%04x div_out=%u\n", 191 /* frequency band */ 325 f->frequency = dev->f_frequency; 335 dev_dbg(&client->dev, "tuner=%d type=%d frequency=%u\n", 336 f->tuner, f->type, f->frequency); 338 dev->f_frequency = clamp_t(unsigned int, f->frequency, 577 dev->f_frequency = c->frequency; 592 static int e4000_dvb_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument 594 *frequency = 0; /* Zero-IF */
|
H A D | m88rs6000t.c | 365 "actual tune frequency=%d\n", dev->frequency_khz); 394 "frequency=%d symbol_rate=%d\n", 395 c->frequency, c->symbol_rate); 402 realFreq = c->frequency + lpf_offset_KHz; 463 static int m88rs6000t_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 469 *frequency = dev->frequency_khz; 473 static int m88rs6000t_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument 479 *frequency = 0; /* Zero-IF */
|
H A D | mt2063.c | 41 /* Info: Upconverter frequency is out of range (may be reason for MT_UPC_UNLOCK) */ 44 /* Info: Downconverter frequency is out of range (may be reason for MT_DPC_UNLOCK) */ 221 u32 frequency; member in struct:mt2063_state 682 ** Calculate LO frequency settings. 805 * If there is an LO spur in this band, start at the current IF1 frequency 806 * and work out until we find a spur-free frequency or run up against the 881 #define MT2063_MIN_LO_SEP (1000000UL) /* Minimum inter-tuner LO frequency separation */ 884 #define MT2063_MIN_FIN_FREQ (44000000UL) /* Minimum input frequency (in Hz) */ 885 #define MT2063_MAX_FIN_FREQ (1100000000UL) /* Maximum input frequency (in Hz) */ 886 #define MT2063_MIN_FOUT_FREQ (36000000UL) /* Minimum output frequency (i [all...] |
/linux-master/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi_coresight.c | 395 u32 frequency; local 424 frequency = hdev->asic_prop.psoc_timestamp_frequency; 425 if (frequency == 0) 426 frequency = input->frequency; 427 WREG32(base_reg + 0xE8C, frequency);
|
/linux-master/drivers/accel/habanalabs/goya/ |
H A D | goya_coresight.c | 233 u32 frequency; local 266 frequency = hdev->asic_prop.psoc_timestamp_frequency; 267 if (frequency == 0) 268 frequency = input->frequency; 269 WREG32(base_reg + 0xE8C, frequency);
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | sor.c | 39 unsigned long frequency; member in struct:tegra_sor_hdmi_settings 60 .frequency = 54000000, 75 .frequency = 75000000, 90 .frequency = 150000000, 105 .frequency = 300000000, 120 .frequency = 600000000, 139 .frequency = 75000000, 154 .frequency = 150000000, 169 .frequency = 300000000, 184 .frequency 2124 tegra_sor_hdmi_find_settings(struct tegra_sor *sor, unsigned long frequency) argument [all...] |
/linux-master/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 98 * cpufreq_frequency_table for frequency 149 * powernv_pstate_info stores the index of the frequency table for 154 * non-turbo frequency. 177 * frequency in the cpufreq frequency table 181 * corresponding to the nominal frequency. 195 * powernv_freqs for the frequency whose corresponding 198 * If no frequency corresponding to @pstate is found, 200 * frequency. 320 powernv_freqs[i].frequency [all...] |
/linux-master/sound/pci/lx6464es/ |
H A D | lx_core.c | 336 u32 frequency = 0; local 349 frequency = 0; /* unknown */ 351 frequency = 44100; 353 frequency = 48000; 358 *rfreq = frequency * chip->freq_ratio;
|