/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | tda665x.c | 21 u32 frequency; member 61 *frequency = state->frequency; in tda665x_get_frequency() 94 u32 frequency, status = 0; in tda665x_set_frequency() local 105 frequency = new_frequency; in tda665x_set_frequency() 118 frequency = new_frequency; in tda665x_set_frequency() 123 if (frequency < 68000000) in tda665x_set_frequency() 134 if (frequency < 230000000) in tda665x_set_frequency() 136 if (frequency < 300000000) in tda665x_set_frequency() 143 if (frequency < 470000000) in tda665x_set_frequency() 145 if (frequency < 526000000) in tda665x_set_frequency() [all …]
|
H A D | tda8261.c | 23 u32 frequency; member 74 static int tda8261_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda8261_get_frequency() argument 78 *frequency = state->frequency; in tda8261_get_frequency() 88 u32 frequency, N, status = 0; in tda8261_set_params() local 97 frequency = c->frequency; in tda8261_set_params() 98 if ((frequency < 950000) || (frequency > 2150000)) { in tda8261_set_params() 100 __func__, frequency); in tda8261_set_params() 111 if (frequency < 1450000) in tda8261_set_params() 113 else if (frequency < 2000000) in tda8261_set_params() 115 else if (frequency < 2150000) in tda8261_set_params() [all …]
|
H A D | ix2505v.c | 27 u32 frequency; member 122 u32 frequency = c->frequency; in ix2505v_set_params() local 158 if (frequency <= 1065000) in ix2505v_set_params() 160 else if (frequency <= 1170000) in ix2505v_set_params() 162 else if (frequency <= 1300000) in ix2505v_set_params() 164 else if (frequency <= 1445000) in ix2505v_set_params() 166 else if (frequency <= 1607000) in ix2505v_set_params() 168 else if (frequency <= 1778000) in ix2505v_set_params() 170 else if (frequency <= 1942000) in ix2505v_set_params() 233 state->frequency = frequency; in ix2505v_set_params() [all …]
|
H A D | horus3a.c | 29 u32 frequency; member 169 u32 frequency = p->frequency; in horus3a_set_params() local 187 frequency = DIV_ROUND_CLOSEST(frequency, 1000) * 1000; in horus3a_set_params() 188 if (frequency <= 1155000) { in horus3a_set_params() 199 frequency); in horus3a_set_params() 202 if (frequency < 975000) { in horus3a_set_params() 206 } else if (frequency < 1050000) { in horus3a_set_params() 210 } else if (frequency < 1150000) { in horus3a_set_params() 214 } else if (frequency < 1250000) { in horus3a_set_params() 218 } else if (frequency < 1350000) { in horus3a_set_params() [all …]
|
H A D | tdhd1.h | 35 div = (p->frequency + 36166666) / 166666; in alps_tdhd1_204a_tuner_set_params() 41 if (p->frequency >= 174000000 && p->frequency <= 230000000) in alps_tdhd1_204a_tuner_set_params() 43 else if (p->frequency >= 470000000 && p->frequency <= 823000000) in alps_tdhd1_204a_tuner_set_params() 45 else if (p->frequency > 823000000 && p->frequency <= 862000000) in alps_tdhd1_204a_tuner_set_params()
|
H A D | zl10036.c | 36 u32 frequency; member 175 div = (frequency + _FR/2) / _FR; in zl10036_set_frequency() 176 state->frequency = div * _FR; in zl10036_set_frequency() 178 foffset = frequency - state->frequency; in zl10036_set_frequency() 184 frequency, state->frequency, foffset, div); in zl10036_set_frequency() 299 u32 frequency = p->frequency; in zl10036_set_params() local 324 if (frequency < 950000) in zl10036_set_params() 326 else if (frequency < 1250000) in zl10036_set_params() 328 else if (frequency < 1750000) in zl10036_set_params() 330 else if (frequency < 2175000) in zl10036_set_params() [all …]
|
H A D | stb6100_cfg.h | 13 static int stb6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6100_get_frequency() argument 20 err = tuner_ops->get_frequency(fe, frequency); in stb6100_get_frequency() 29 static int stb6100_set_frequency(struct dvb_frontend *fe, u32 frequency) in stb6100_set_frequency() argument 37 c->frequency = frequency; in stb6100_set_frequency() 72 u32 freq = c->frequency; in stb6100_set_bandwidth() 76 c->frequency = 0; /* Don't adjust the frequency */ in stb6100_set_bandwidth() 80 c->frequency = freq; in stb6100_set_bandwidth()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | freq_table.c | 41 freq = pos->frequency; in cpufreq_frequency_table_cpuinfo() 82 freq = pos->frequency; in cpufreq_frequency_table_verify() 124 .frequency = 0, in cpufreq_table_index_unsorted() 128 .frequency = 0, in cpufreq_table_index_unsorted() 140 suboptimal.frequency = ~0; in cpufreq_table_index_unsorted() 144 optimal.frequency = ~0; in cpufreq_table_index_unsorted() 149 freq = pos->frequency; in cpufreq_table_index_unsorted() 206 table[index].frequency); in cpufreq_table_index_unsorted() 313 if (pos->frequency == prev->frequency) { in set_freq_table_sorted() 315 pos->frequency); in set_freq_table_sorted() [all …]
|
H A D | qoriq-cpufreq.c | 112 if (freq_table[j].frequency == CPUFREQ_ENTRY_INVALID || in freq_table_redup() 113 freq_table[j].frequency != in freq_table_redup() 114 freq_table[i].frequency) in freq_table_redup() 117 freq_table[i].frequency = CPUFREQ_ENTRY_INVALID; in freq_table_redup() 132 max_freq = freq_table[i].frequency; in freq_table_sort() 135 freq = freq_table[j].frequency; in freq_table_sort() 146 table.frequency = freq_table[i].frequency; in freq_table_sort() 148 freq_table[i].frequency = freq_table[ind].frequency; in freq_table_sort() 150 freq_table[ind].frequency = table.frequency; in freq_table_sort() 196 table[i].frequency = freq / 1000; in qoriq_cpufreq_cpu_init() [all …]
|
/openbmc/linux/drivers/platform/x86/intel/uncore-frequency/ |
H A D | Makefile | 6 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency.o 7 intel-uncore-frequency-y := uncore-frequency.o 8 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL) += intel-uncore-frequency-common.o 9 intel-uncore-frequency-common-y := uncore-frequency-common.o 10 obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL_TPMI) += intel-uncore-frequency-tpmi.o 11 intel-uncore-frequency-tpmi-y := uncore-frequency-tpmi.o
|
/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
H A D | opencores,i2c-ocores.yaml | 37 clock-frequency: 39 clock-frequency property is meant to control the bus frequency for i2c bus 42 - if clock-frequency is present and neither opencores,ip-clock-frequency nor 43 clocks are, then clock-frequency specifies i2c controller clock frequency. 45 frequency is fixed at 100 KHz. 47 property specifies i2c bus frequency. 49 clock frequency. clock-frequency property specifies i2c bus frequency. 68 opencores,ip-clock-frequency: 82 - opencores,ip-clock-frequency 96 opencores,ip-clock-frequency = <20000000>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/intel/axm/ |
H A D | axm5516-cpus.dtsi | 76 clock-frequency = <1400000000>; 84 clock-frequency = <1400000000>; 92 clock-frequency = <1400000000>; 100 clock-frequency = <1400000000>; 108 clock-frequency = <1400000000>; 116 clock-frequency = <1400000000>; 124 clock-frequency = <1400000000>; 132 clock-frequency = <1400000000>; 140 clock-frequency = <1400000000>; 148 clock-frequency = <1400000000>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | tegra210-p2571.dts | 34 clock-frequency = <100000>; 39 clock-frequency = <100000>; 44 clock-frequency = <100000>; 49 clock-frequency = <100000>; 54 clock-frequency = <400000>; 59 clock-frequency = <400000>; 64 spi-max-frequency = <25000000>; 69 spi-max-frequency = <25000000>; 74 spi-max-frequency = <24000000>; 104 clock-frequency = <32768>;
|
H A D | tegra124-venice2.dts | 35 clock-frequency = <100000>; 40 clock-frequency = <100000>; 45 clock-frequency = <100000>; 50 clock-frequency = <100000>; 55 clock-frequency = <400000>; 60 clock-frequency = <400000>; 65 spi-max-frequency = <25000000>; 70 spi-max-frequency = <25000000>; 107 clock-frequency = <32768>;
|
/openbmc/linux/arch/arm/mach-sa1100/ |
H A D | generic.c | 48 { .frequency = 59000, /* 59.0 MHz */}, 49 { .frequency = 73700, /* 73.7 MHz */}, 50 { .frequency = 88500, /* 88.5 MHz */}, 51 { .frequency = 103200, /* 103.2 MHz */}, 52 { .frequency = 118000, /* 118.0 MHz */}, 53 { .frequency = 132700, /* 132.7 MHz */}, 54 { .frequency = 147500, /* 147.5 MHz */}, 55 { .frequency = 162200, /* 162.2 MHz */}, 56 { .frequency = 176900, /* 176.9 MHz */}, 57 { .frequency = 191700, /* 191.7 MHz */}, [all …]
|
/openbmc/linux/Documentation/cpu-freq/ |
H A D | cpu-drivers.rst | 62 frequency while changing CPU frequency. 64 .get - Returns current frequency of the CPU. 115 |policy->cur | The current operating frequency of | 147 See section 2 for details on frequency table helpers. 170 and ``unsigned int`` index (into the exposed frequency table). 173 actual frequency must be determined by freq_table[index].frequency. 184 actual frequency must be determined using the following rules: 231 to intermediate frequency for some target frequency. In that case core will 245 values in "driver_data", the corresponding frequency in "frequency" and 263 contains the frequency the CPU shall be set to. [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-tuner.c | 30 u32 frequency; member 304 state->frequency = c->frequency; in mxl111sf_tuner_set_params() 386 *frequency = state->frequency; in mxl111sf_tuner_get_frequency() 398 u32 *frequency) in mxl111sf_tuner_get_if_frequency() argument 402 *frequency = 0; in mxl111sf_tuner_get_if_frequency() 406 *frequency = 4000000; in mxl111sf_tuner_get_if_frequency() 409 *frequency = 4500000; in mxl111sf_tuner_get_if_frequency() 412 *frequency = 4570000; in mxl111sf_tuner_get_if_frequency() 415 *frequency = 5000000; in mxl111sf_tuner_get_if_frequency() 418 *frequency = 5380000; in mxl111sf_tuner_get_if_frequency() [all …]
|
/openbmc/linux/drivers/devfreq/ |
H A D | Kconfig | 9 operating frequency based on the device driver's policy. 19 clock frequency of the device, which is also attached 46 Sets the frequency at the maximum available frequency. 47 This governor always returns UINT_MAX as frequency so that 54 Sets the frequency at the minimum available frequency. 55 This governor always returns 0 as frequency so that 62 Sets the frequency at the user specified one. 65 Otherwise, the governor does not change the frequency 71 Sets the frequency based on the frequency of its parent devfreq 99 allows adjusting NIC/NOC frequency. [all …]
|
/openbmc/linux/arch/arm/boot/dts/intel/socfpga/ |
H A D | socfpga_vt.dts | 27 clock-frequency = <10000000>; 45 clock-frequency = <7000000>; 49 clock-frequency = <7000000>; 53 clock-frequency = <7000000>; 57 clock-frequency = <7000000>; 61 clock-frequency = <7372800>; 65 clock-frequency = <7372800>;
|
/openbmc/linux/arch/arm64/boot/dts/amd/ |
H A D | amd-seattle-clks.dtsi | 11 clock-frequency = <100000000>; 18 clock-frequency = <375000000>; 25 clock-frequency = <333000000>; 32 clock-frequency = <500000000>; 39 clock-frequency = <500000000>; 46 clock-frequency = <250000000>; 53 clock-frequency = <100000000>;
|
/openbmc/linux/drivers/media/tuners/ |
H A D | tuner-simple.c | 117 u32 frequency; member 280 *frequency / 16, *frequency % 16 * 100 / 16, *frequency, in simple_config_lookup() 589 params->frequency / 16, params->frequency % 16 * 100 / 16, in simple_set_tv_freq() 782 priv->frequency = params->frequency * 125 / 2; in simple_set_params() 788 priv->frequency = params->frequency * 62500; in simple_set_params() 895 u32 frequency; in simple_dvb_calc_regs() local 901 if (frequency == 0) in simple_dvb_calc_regs() 906 priv->frequency = frequency; in simple_dvb_calc_regs() 919 u32 frequency; in simple_dvb_set_params() local 936 priv->frequency = frequency; in simple_dvb_set_params() [all …]
|
H A D | it913x.c | 226 if (c->frequency <= 74000000) { in it913x_set_params() 229 } else if (c->frequency <= 111000000) { in it913x_set_params() 232 } else if (c->frequency <= 148000000) { in it913x_set_params() 235 } else if (c->frequency <= 222000000) { in it913x_set_params() 238 } else if (c->frequency <= 296000000) { in it913x_set_params() 241 } else if (c->frequency <= 445000000) { in it913x_set_params() 247 } else if (c->frequency <= 950000000) { in it913x_set_params() 287 if (c->frequency <= 440000000) { in it913x_set_params() 290 } else if (c->frequency <= 484000000) { in it913x_set_params() 293 } else if (c->frequency <= 533000000) { in it913x_set_params() [all …]
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | dvb-bt8xx.c | 155 if (c->frequency < 542000000) in thomson_dtt7579_tuner_calc_regs() 162 if (c->frequency == 0) in thomson_dtt7579_tuner_calc_regs() 190 u32 freq = c->frequency; in cx24108_tuner_set_params() 274 if (c->frequency < 175000000) in microtune_mt7202dtf_tuner_set_params() 285 if (c->frequency < 175000000) in microtune_mt7202dtf_tuner_set_params() 349 if (c->frequency < 150000000) in advbt771_samsung_tdtc9251dh0_tuner_calc_regs() 368 if (c->frequency < 150000000) in advbt771_samsung_tdtc9251dh0_tuner_calc_regs() 467 if ((c->frequency >= 47000000) && (c->frequency < 153000000)) in vp3021_alps_tded4_tuner_set_params() 469 else if ((c->frequency >= 153000000) && (c->frequency < 430000000)) in vp3021_alps_tded4_tuner_set_params() 471 else if ((c->frequency >= 430000000) && (c->frequency < 824000000)) in vp3021_alps_tded4_tuner_set_params() [all …]
|
/openbmc/linux/arch/riscv/boot/dts/starfive/ |
H A D | jh7110-starfive-visionfive-2.dtsi | 46 clock-frequency = <74250000>; 50 clock-frequency = <125000000>; 54 clock-frequency = <50000000>; 62 clock-frequency = <50000000>; 70 clock-frequency = <12288000>; 74 clock-frequency = <192000>; 82 clock-frequency = <192000>; 94 clock-frequency = <32768>; 134 clock-frequency = <100000>; 144 clock-frequency = <100000>; [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-si570.c | 74 u64 frequency; member 153 data->frequency = fout; in si570_get_defaults() 205 fdco = (u64)frequency * (u64)hs_div * (u64)n1; in si570_calc_divs() 235 return data->frequency; in si570_recalc_rate() 256 data->frequency) < 35) { in si570_round_rate() 258 div64_u64(data->frequency, 2), data->frequency); in si570_round_rate() 318 unsigned long frequency) in si570_set_frequency_small() argument 326 div_u64(data->frequency, 2), data->frequency); in si570_set_frequency_small() 351 data->frequency) < 35) in si570_set_rate() 359 data->frequency = rate; in si570_set_rate() [all …]
|