/linux-master/drivers/cpufreq/ |
H A D | apple-soc-cpufreq.c | 48 * get the frequency. 127 return p->frequency; 129 dev_err(priv->cpu_dev, "could not find frequency for pstate %d\n", 167 return policy->freq_table[policy->cached_resolved_idx].frequency; 258 for (i = 0; freq_table[i].frequency != CPUFREQ_TABLE_END; i++) { 259 unsigned long rate = freq_table[i].frequency * 1000 + 999; 283 policy->suspend_freq = freq_table[0].frequency;
|
H A D | longhaul.c | 12 * LONGHAUL MSR for purpose of both frequency and voltage scaling. 146 /* Change frequency on next halt or sleep */ 168 /* Setup new frequency */ 200 /* Change frequency on next halt or sleep */ 267 /* Voltage transition before frequency transition? */ 348 /* Check if requested frequency is set. */ 350 pr_info("Failed to set requested frequency!\n"); 363 * but it doesn't change frequency. I tried poking various 430 /* Get current frequency */ 488 longhaul_table[k].frequency [all...] |
H A D | qcom-cpufreq-hw.c | 117 unsigned long freq = policy->freq_table[index].frequency; 144 /* Get the frequency requested by the cpufreq core for the CPU */ 162 return policy->freq_table[index].frequency; 197 return policy->freq_table[index].frequency; 255 table[i].frequency = freq; 260 table[i].frequency = CPUFREQ_ENTRY_INVALID; 264 table[i].frequency = CPUFREQ_ENTRY_INVALID; 275 * Only treat the last frequency that might be a boost 276 * as the boost frequency 278 if (prev->frequency [all...] |
H A D | tegra194-cpufreq.c | 145 * actual frequency a core has run at over a period of time. 146 * [63:32] PLLP counter: Counts at fixed frequency (408 MHz) 166 * clock cycles which is known to give a stable value of CPU frequency. 221 * The register provides frequency feedback information to 222 * determine the average actual frequency a core has run at over 224 * [31:0] PLLP counter: Counts at fixed frequency (408 MHz) 256 * clock cycles which is known to give a stable value of CPU frequency. 329 * Reconstruct cpu frequency over an observation/sampling window. 403 * If the reconstructed frequency has acceptable delta from 412 if (abs(pos->frequency [all...] |
H A D | speedstep-ich.c | 50 * There are only two frequency states for each processor. Values 89 * @state: new processor frequency state (SPEEDSTEP_LOW or SPEEDSTEP_HIGH) 248 pr_debug("detected %u kHz as current frequency\n", speed); 255 * @index: index of target frequency 283 &speedstep_freqs[SPEEDSTEP_LOW].frequency, 284 &speedstep_freqs[SPEEDSTEP_HIGH].frequency, 300 /* detect low and high frequency and transition latency */
|
H A D | kirkwood-cpufreq.c | 72 /* Wait-for-Interrupt, while the hardware changes frequency */ 132 kirkwood_freq_table[0].frequency = clk_get_rate(priv.cpu_clk) / 1000; 146 kirkwood_freq_table[1].frequency = clk_get_rate(priv.ddr_clk) / 1000;
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-digicolor.c | 51 unsigned int frequency; member in struct:dc_i2c 267 clocktime = DIV_ROUND_UP(clk_rate, 64 * i2c->frequency); 270 i2c->frequency); 298 if (of_property_read_u32(pdev->dev.of_node, "clock-frequency", 299 &i2c->frequency)) 300 i2c->frequency = I2C_MAX_STANDARD_MODE_FREQ;
|
/linux-master/drivers/media/tuners/ |
H A D | mt2131.c | 95 freq = c->frequency / 1000; /* Hz -> kHz */ 102 priv->frequency = (f_lo1 - f_lo2 - MT2131_IF2) * 1000; 170 static int mt2131_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 174 *frequency = priv->frequency;
|
H A D | qt1010.c | 106 freq = c->frequency; 111 priv->frequency = freq; 125 /* 07 - set frequency: 32 MHz scale */ 132 /* 0a - set frequency: 4 MHz scale (max 28 MHz) */ 146 /* 1a - set frequency: 125 kHz scale (max 3875 kHz)*/ 365 if (!c->frequency) 366 c->frequency = 545000000; /* Sigmatek DVB-110 545000000 */ 377 static int qt1010_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 380 *frequency = priv->frequency; 384 qt1010_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument [all...] |
H A D | fc0013.c | 214 u32 freq = p->frequency / 1000; 299 /* select frequency divider and the frequency of VCO */ 370 /* fix for frequency less than 45 MHz */ 378 /* From VCO frequency determines the XIN ( fractional part of Delta 464 priv->frequency = p->frequency; 475 static int fc0013_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 478 *frequency = priv->frequency; 482 fc0013_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument [all...] |
H A D | tda18218.c | 140 /* low-pass filter cut-off frequency */ 152 LO_Frac = c->frequency + priv->if_frequency; 206 static int tda18218_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument 209 *frequency = priv->if_frequency; 210 dev_dbg(&priv->i2c->dev, "%s: if_frequency=%d\n", __func__, *frequency);
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | stv6111.c | 27 u32 frequency; member in struct:stv 443 u32 frequency = (local_frequency + 500) / 1000; local 452 if (frequency <= 1300000) { 459 fvco = frequency * p; 505 state->frequency = frequency; 520 freq = p->frequency * 1000; 620 if (state->frequency > 0) 622 gain -= ((((s32)(state->frequency / 1000) - 1550) * 2) / 12);
|
H A D | itd1000.c | 229 state->frequency = ((plln * 1000) + (pllf * 1000)/1048576) * 2*FREF; 230 itd_dbg("frequency: %dkHz (wanted) %dkHz (set), PLLF = %d, PLLN = %d\n", freq_khz, state->frequency, pllf, plln); 257 itd1000_set_lo(state, c->frequency); 267 static int itd1000_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument 270 *frequency = state->frequency;
|
H A D | stb6100.h | 78 u32 frequency; member in struct:stb6100_state
|
/linux-master/kernel/power/ |
H A D | energy_model.c | 62 DEFINE_EM_DBG_SHOW(frequency, frequency); 82 freq = table[i].frequency; 89 debugfs_create_file("frequency", 0444, d, &em_dbg[i], 230 * Calculate the performance value for each frequency with 234 fmax = (u64) table[nr_states - 1].frequency; 237 table[i].performance = div64_u64(max_cap * table[i].frequency, 253 ret = cb->get_cost(dev, table[i].frequency, &cost); 270 table[i].frequency); 366 * We expect the driver callback to increase the frequency fo [all...] |
/linux-master/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); 221 printf(_(" boost frequency steps: ")); 223 print_speed(freqs->frequency, no_rounding); 227 print_speed(freqs->frequency, no_rounding); 240 printf(_(" current CPU frequency: ")); 259 printf(_(" current CPU frequency: ")); 318 printf(_(" current policy: frequency should be within ")); 360 printf(_(" CPUs which need to have their frequency coordinated by software: ")); 381 printf(_(" CPUs which run at the same hardware frequency [all...] |
/linux-master/arch/powerpc/boot/dts/fsl/ |
H A D | qoriq-mpic4.3.dtsi | 42 clock-frequency = <0x0>;
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_vp1033.c | 86 div = p->frequency / 250; 93 if (p->frequency < 1531000)
|
/linux-master/samples/bpf/ |
H A D | cpustat_kern.c | 91 static u32 find_cpu_pstate_idx(u32 frequency) argument 96 if (frequency == cpu_opps[i]) 253 * change frequency from OPP3 to OPP1), need recording interval 254 * for previous frequency OPP3 and update timestamp as start 255 * time for new frequency OPP1.
|
/linux-master/drivers/media/radio/ |
H A D | tef6862.c | 95 unsigned freq = f->frequency; 124 f->frequency = state->freq;
|
H A D | radio-raremono.c | 121 /* Set frequency. */ 249 if (f->frequency >= (FM_FREQ_RANGE_LOW + SW_FREQ_RANGE_HIGH) * 8) 251 else if (f->frequency <= (AM_FREQ_RANGE_HIGH + SW_FREQ_RANGE_LOW) * 8) 256 freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh); 268 f->frequency = radio->curfreq * 16;
|
/linux-master/drivers/opp/ |
H A D | cpu.c | 67 freq_table[i].frequency = rate / 1000; 77 freq_table[i].frequency = CPUFREQ_TABLE_END;
|
/linux-master/sound/soc/qcom/ |
H A D | lpass-hdmi.h | 78 struct regmap_field *frequency; member in struct:lpass_dp_metadata_ctl
|
/linux-master/drivers/iio/ |
H A D | Makefile | 31 obj-y += frequency/
|
/linux-master/tools/testing/selftests/kvm/riscv/ |
H A D | arch_timer.c | 97 /* Initialize guest timer frequency. */ 98 vcpu_get_reg(vcpus[0], RISCV_TIMER_REG(frequency), &timer_freq);
|