Searched refs:frequency (Results 51 - 75 of 434) sorted by last modified time

1234567891011>>

/linux-master/kernel/power/
H A Denergy_model.c62 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/include/linux/
H A Denergy_model.h16 * @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.
217 * might reflect reduced frequency (due to thermal)
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.
295 #define CPUFREQ_RELATION_L 0 /* lowest frequency at or above target */
296 #define CPUFREQ_RELATION_H 1 /* highest frequency below or at target */
297 #define CPUFREQ_RELATION_C 2 /* closest frequency t
702 unsigned int frequency; /* kHz - doesn't need to be in ascending member in struct:cpufreq_frequency_table
1092 cpufreq_table_set_inefficient(struct cpufreq_policy *policy, unsigned int frequency) argument
1183 cpufreq_table_set_inefficient(struct cpufreq_policy *policy, unsigned int frequency) argument
[all...]
/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
480 unsigned int frequency; local
[all...]
H A Ddevfreq_cooling.c46 * @req_max_freq: PM QoS request for limiting the maximum frequency
107 freq = table[perf_idx].frequency * 1000;
122 * get_perf_idx() - get the performance index corresponding to a frequency
124 * @freq: frequency in kHz
137 if (table[i].frequency != freq)
159 dev_err_ratelimited(dev, "Failed to find OPP for frequency %lu: %ld\n",
169 "Failed to get voltage for frequency %lu\n",
338 * devfreq_cooling_gen_tables() - Generate frequency table.
342 * Generate frequency table which holds the frequencies in descending
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_els.c3906 /* Get rsp signal and frequency capabilities. */
3915 /* Apply the xmt scale to the xmt cycle to get the correct frequency.
3933 /* Choose the least capable frequency. */
3960 /* We are NOT recording signal frequency in congestion info buffer */
4234 * the completion we settle on the higher frequency.
7561 lcb_res->lcb_frequency = lcb_context->frequency;
7731 "type x%x frequency %x duration x%x\n",
7763 lcb_context->frequency = beacon->lcb_frequency;
9407 * higher frequency.
10078 /* Capture FPIN frequency */
[all...]
H A Dlpfc_sli4.h1048 uint8_t frequency; member in struct:lpfc_lcb_context
/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/powercap/
H A Ddtpm_cpu.c62 freq = table[i - 1].frequency;
108 if (table[i].frequency < freq)
235 table[pd->nr_perf_states - 1].frequency);
/linux-master/drivers/crypto/intel/qat/qat_c62x/
H A Dadf_c62x_hw_data.c67 u32 frequency; local
70 ret = adf_dev_measure_clock(accel_dev, &frequency, ADF_C62X_MIN_AE_FREQ,
75 accel_dev->hw_device->clock_frequency = frequency;
/linux-master/drivers/crypto/intel/qat/qat_c3xxx/
H A Dadf_c3xxx_hw_data.c67 u32 frequency; local
70 ret = adf_dev_measure_clock(accel_dev, &frequency, ADF_C3XXX_MIN_AE_FREQ,
75 accel_dev->hw_device->clock_frequency = frequency;
/linux-master/drivers/cpufreq/
H A Dqcom-cpufreq-hw.c117 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 Dmediatek-cpufreq.c35 * When scaling the clock frequency of a CPU clock domain, the clock source
37 * the original PLL becomes stable at target frequency.
229 freq_hz = freq_table[index].frequency * 1000;
486 /* Search a safe voltage for intermediate frequency. */
H A Dcpufreq.c93 * validation process for a new CPU frequency policy; the
333 pr_debug("scaling loops_per_jiffy to %lu for frequency %u kHz\n",
340 * cpufreq_notify_transition - Notify frequency transition and adjust jiffies.
341 * @policy: cpufreq policy to enable fast frequency switching for.
342 * @freqs: contain details of the frequency update.
347 * It is called twice on all CPU frequency changes that have external effects.
362 pr_debug("notification %u of frequency transition to %u kHz\n",
368 * Detect if the driver reported a value as "old frequency"
370 * "old frequency".
373 pr_debug("Warning: CPU frequency i
[all...]
H A Dfreq_table.c41 freq = pos->frequency;
82 freq = pos->frequency;
106 * Generic routine to verify policy & frequency table, requires driver to set
124 .frequency = 0,
128 .frequency = 0,
140 suboptimal.frequency = ~0;
144 optimal.frequency = ~0;
149 freq = pos->frequency;
160 if (freq >= optimal.frequency) {
161 optimal.frequency
[all...]
H A Dcpufreq-dt.c60 unsigned long freq = policy->freq_table[index].frequency;
H A Dbrcmstb-avs-cpufreq.c2 * 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;
635 dev_err(dev, "Couldn't determine frequency table (%d).\n", ret);
650 policy->cur = freq_table[pstate].frequency;
H A Dscmi-cpufreq.c57 u64 freq = policy->freq_table[index].frequency;
142 /* The EM framework specifies the frequency in KHz. */
/linux-master/drivers/memory/
H A Dbrcmstb_memc.c33 u32 frequency; member in struct:brcmstb_memc
75 return sprintf(buf, "%d\n", memc->frequency);
112 static DEVICE_ATTR_RO(frequency);
145 of_property_read_u32(pdev->dev.of_node, "clock-frequency",
146 &memc->frequency);
/linux-master/drivers/platform/x86/amd/pmf/
H A Dpmf.h616 u32 frequency; /* SMU sampling frequency */ member in struct:ta_pmf_init_table
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c339 fv = vf->frequency;
378 vf->frequency = val;
/linux-master/drivers/media/tuners/
H A Dxc4000.c1119 dprintk(1, "*** Horizontal sync frequency = %d Hz\n",
1145 dprintk(1, "%s() frequency=%d (Hz)\n", __func__, c->frequency);
1168 if (c->frequency < 400000000) {
1196 priv->freq_hz = c->frequency - priv->freq_offset;
1198 dprintk(1, "%s() frequency=%d (compensated)\n",
1262 dprintk(1, "%s() frequency=%d (in units of 62.5Hz)\n",
1263 __func__, params->frequency);
1268 priv->freq_hz = params->frequency * 125L / 2;
1281 dprintk(1, "%s() frequency
[all...]
H A Dtda18271-fe.c119 /* frequency dependent parameters */
260 /* frequency dependent parameters */
342 /* frequency dependent parameters */
449 /* downconvert frequency */
587 /* look for optimized calibration frequency */
924 u32 freq = c->frequency;
976 priv->frequency = freq;
990 u32 freq = params->frequency * 125 *
1032 priv->frequency = freq;
1052 static int tda18271_get_frequency(struct dvb_frontend *fe, u32 *frequency) argument
1066 tda18271_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) argument
[all...]
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-video.c961 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/drivers/media/i2c/
H A Dmax2175.c1079 /* Get band from frequency */
1102 vf->frequency, ctx->freq, ctx->mode_resolved);
1107 freq = clamp(vf->frequency, ctx->bands_rf->rangelow,
1134 vf->frequency = ctx->freq;

Completed in 334 milliseconds

1234567891011>>