| /linux/drivers/media/dvb-frontends/ |
| H A D | tda665x.c | 21 u32 frequency; member 57 static int tda665x_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda665x_get_frequency() argument 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() 107 frequency += config->frequency_offst; in tda665x_set_frequency() 108 frequency *= config->ref_multiplier; in tda665x_set_frequency() 109 frequency += config->ref_divider >> 1; in tda665x_set_frequency() 110 frequency /= config->ref_divider; in tda665x_set_frequency() 112 buf[0] = (u8) ((frequency & 0x7f00) >> 8); in tda665x_set_frequency() [all …]
|
| H A D | ix2505v.c | 27 u32 frequency; member 122 u32 frequency = c->frequency; in ix2505v_set_params() local 129 if ((frequency < fe->ops.info.frequency_min_hz / kHz) in ix2505v_set_params() 130 || (frequency > fe->ops.info.frequency_max_hz / kHz)) in ix2505v_set_params() 147 div_factor = (frequency * ref) / 40; /* local osc = 4Mhz */ in ix2505v_set_params() 156 deb_info("Frq=%d x=%d N=%d A=%d\n", frequency, x, N, A); in ix2505v_set_params() 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() [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() 103 N = (frequency + (div_tab[config->step_size] - 1)) / div_tab[config->step_size]; in tda8261_set_params() 111 if (frequency < 1450000) in tda8261_set_params() 113 else if (frequency < 2000000) in tda8261_set_params() [all …]
|
| H A D | horus3a.c | 29 u32 frequency; member 169 u32 frequency = p->frequency; in horus3a_set_params() local 180 __func__, frequency, symbol_rate); in horus3a_set_params() 187 frequency = DIV_ROUND_CLOSEST(frequency, 1000) * 1000; in horus3a_set_params() 188 if (frequency <= 1155000) { in horus3a_set_params() 196 ms = DIV_ROUND_CLOSEST((frequency * mixdiv) / 2, 1000); 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() [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 | 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()
|
| H A D | tua6100.c | 30 u32 frequency; member 75 if (c->frequency < 2000000) in tua6100_set_params() 81 if (c->frequency < 1630000) in tua6100_set_params() 88 if (c->frequency >= 1525000) in tua6100_set_params() 94 if (c->frequency < 1455000) in tua6100_set_params() 96 else if (c->frequency < 1630000) in tua6100_set_params() 105 prediv = (c->frequency * _R_VAL) / (_ri / 1000); in tua6100_set_params() 110 priv->frequency = ((div * _P_VAL) * (_ri / 1000)) / _R_VAL; in tua6100_set_params() 140 static int tua6100_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tua6100_get_frequency() argument 143 *frequency = priv->frequency; in tua6100_get_frequency()
|
| H A D | stb6100_proc.h | 11 static int stb6100_get_freq(struct dvb_frontend *fe, u32 *frequency) in stb6100_get_freq() argument 21 err = tuner_ops->get_frequency(fe, frequency); in stb6100_get_freq() 34 static int stb6100_set_freq(struct dvb_frontend *fe, u32 frequency) in stb6100_set_freq() argument 42 c->frequency = frequency; in stb6100_set_freq() 92 u32 freq = c->frequency; in stb6100_set_bandw() 96 c->frequency = 0; /* Don't adjust the frequency */ in stb6100_set_bandw() 103 c->frequency = freq; in stb6100_set_bandw()
|
| /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
|
| /linux/Documentation/cpu-freq/ |
| H A D | cpu-drivers.rst | 62 frequency while changing CPU frequency. 64 .get - Returns current frequency of the CPU. 66 .bios_limit - Returns HW/BIOS max frequency limitations for the CPU. 106 |policy->cpuinfo.max_freq | the minimum and maximum frequency | 114 |policy->cur | The current operating frequency of | 134 frequency table helpers might be helpful. See the section 2 for more information 146 See section 2 for details on frequency table helpers. 148 You need to make sure that at least one valid frequency (or operating 156 Most cpufreq drivers or even most cpu frequency scaling algorithms 157 only allow the CPU frequency to be set to predefined fixed values. For [all …]
|
| /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 …]
|
| /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 …]
|
| /linux/drivers/media/usb/dvb-usb-v2/ |
| H A D | mxl111sf-tuner.c | 30 u32 frequency; member 300 ret = mxl1x1sf_tune_rf(fe, c->frequency, bw); in mxl111sf_tuner_set_params() 304 state->frequency = c->frequency; in mxl111sf_tuner_set_params() 383 static int mxl111sf_tuner_get_frequency(struct dvb_frontend *fe, u32 *frequency) in mxl111sf_tuner_get_frequency() argument 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() [all …]
|
| /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 21 responsibility to "interpret" the representative frequency and 37 Chooses frequency based on the recent load on the device. Works 46 Sets the frequency at the maximum available frequency. 47 This governor always returns UINT_MAX as frequency so that 48 the DEVFREQ framework returns the highest frequency available 54 Sets the frequency at the minimum available frequency. 55 This governor always returns 0 as frequency so that 56 the DEVFREQ framework returns the lowest frequency available [all …]
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | dvb-bt8xx.c | 153 div = (((c->frequency + 83333) * 3) / 500000) + IF_FREQUENCYx6; in thomson_dtt7579_tuner_calc_regs() 155 if (c->frequency < 542000000) in thomson_dtt7579_tuner_calc_regs() 157 else if (c->frequency < 771000000) in thomson_dtt7579_tuner_calc_regs() 162 if (c->frequency == 0) in thomson_dtt7579_tuner_calc_regs() 164 else if (c->frequency < 443250000) in thomson_dtt7579_tuner_calc_regs() 190 u32 freq = c->frequency; in cx24108_tuner_set_params() 275 div = (36000000 + c->frequency + 83333) / 166666; in microtune_mt7202dtf_tuner_set_params() 278 if (c->frequency < 175000000) in microtune_mt7202dtf_tuner_set_params() 280 else if (c->frequency < 390000000) in microtune_mt7202dtf_tuner_set_params() 282 else if (c->frequency < 470000000) in microtune_mt7202dtf_tuner_set_params() [all …]
|
| /linux/drivers/clk/ |
| H A D | clk-si570.c | 84 u64 frequency; member 158 data->frequency = fout; in si570_get_defaults() 195 static int si570_calc_divs(unsigned long frequency, struct clk_si570 *data, in si570_calc_divs() argument 206 n1 = div_u64(div_u64(FDCO_MIN, hs_div), frequency); in si570_calc_divs() 210 fdco = (u64)frequency * (u64)hs_div * (u64)n1; in si570_calc_divs() 240 return data->frequency; in si570_recalc_rate() 263 if (div64_u64(abs(req->rate - data->frequency) * 10000LL, in si570_determine_rate() 264 data->frequency) < 35) { in si570_determine_rate() 266 div64_u64(data->frequency, 2), in si570_determine_rate() 267 data->frequency); in si570_determine_rate() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | Kconfig | 31 bool "CPU frequency transition statistics" 33 Export CPU frequency statistics information through sysfs. 52 the frequency statically to the highest frequency supported by 60 the frequency statically to the lowest frequency supported by 68 you to set the CPU frequency manually or when a userspace 79 you to get a full dynamic frequency capable system by simply 92 you to get a full dynamic frequency capable system by simply 113 This cpufreq governor sets the frequency statically to the 114 highest available CPU frequency. 124 This cpufreq governor sets the frequency statically to the [all …]
|
| H A D | s3c64xx-cpufreq.c | 56 unsigned int new_freq = s3c64xx_freq_table[index].frequency; in s3c64xx_cpufreq_set_target() 134 freq->frequency); in s3c64xx_cpufreq_config_regulator() 135 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_config_regulator() 175 r = clk_round_rate(policy->clk, freq->frequency * 1000); in s3c64xx_cpufreq_driver_init() 177 if (r != freq->frequency) { in s3c64xx_cpufreq_driver_init() 179 freq->frequency); in s3c64xx_cpufreq_driver_init() 180 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init() 185 if (!vddarm && freq->frequency > clk_get_rate(policy->clk) / 1000) in s3c64xx_cpufreq_driver_init() 186 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm11351.dtsi | 271 clock-frequency = <1000000>; 277 clock-frequency = <32768>; 283 clock-frequency = <32768>; 289 clock-frequency = <13000000>; 295 clock-frequency = <13000000>; 301 clock-frequency = <19500000>; 307 clock-frequency = <26000000>; 313 clock-frequency = <40000000>; 319 clock-frequency = <52000000>; 325 clock-frequency = <52000000>; [all …]
|
| /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>;
|
| /linux/arch/arm64/boot/dts/xilinx/ |
| H A D | versal-net-clk.dtsi | 15 clock-frequency = <60000000>; 21 clock-frequency = <100000000>; 27 clock-frequency = <125000000>; 33 clock-frequency = <150000000>; 39 clock-frequency = <160000000>; 45 clock-frequency = <200000000>; 51 clock-frequency = <250000000>; 57 clock-frequency = <300000000>; 63 clock-frequency = <450000000>; 69 clock-frequency = <1200000000>;
|
| /linux/arch/arm/boot/dts/nuvoton/ |
| H A D | nuvoton-npcm750-evb.dts | 76 spi-max-frequency = <5000000>; 137 spi-max-frequency = <5000000>; 198 clock-frequency = <100000>; 209 clock-frequency = <100000>; 220 clock-frequency = <100000>; 230 clock-frequency = <100000>; 235 clock-frequency = <100000>; 241 clock-frequency = <100000>; 251 clock-frequency = <100000>; 256 clock-frequency = <100000>; [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8186-evb.dts | 30 clock-frequency = <400000>; 38 clock-frequency = <400000>; 47 clock-frequency = <400000>; 56 clock-frequency = <400000>; 64 clock-frequency = <400000>; 72 clock-frequency = <400000>; 80 clock-frequency = <400000>; 88 clock-frequency = <400000>; 96 clock-frequency = <400000>; 104 clock-frequency = <400000>;
|
| /linux/drivers/media/tuners/ |
| H A D | tda18250.c | 263 utmp = ((c->frequency < 100000000) && in tda18250_set_agc() 281 utmp = (c->frequency < 800000000) ? 6 : 4; in tda18250_set_agc() 284 utmp = (c->frequency < 100000000) ? 2 : 3; in tda18250_set_agc() 299 utmp = (c->frequency < 320000000) ? 20 : 16; in tda18250_set_agc() 300 utmp2 = (c->frequency < 320000000) ? 22 : 18; in tda18250_set_agc() 305 if (c->frequency < 600000000) { in tda18250_set_agc() 308 } else if (c->frequency < 800000000) { in tda18250_set_agc() 317 utmp = (c->frequency < 320000000) ? 16 : 18; in tda18250_set_agc() 318 utmp2 = (c->frequency < 320000000) ? 18 : 20; in tda18250_set_agc() 348 (c->frequency > 800000000) ? 0x40 : 0x20); in tda18250_set_agc() [all …]
|
| /linux/arch/riscv/boot/dts/starfive/ |
| H A D | jh7110-common.dtsi | 79 timebase-frequency = <4000000>; 83 clock-frequency = <74250000>; 87 clock-frequency = <125000000>; 91 clock-frequency = <50000000>; 95 clock-frequency = <125000000>; 99 clock-frequency = <50000000>; 103 clock-frequency = <297000000>; 107 clock-frequency = <12288000>; 111 clock-frequency = <192000>; 115 clock-frequency = <12288000>; [all …]
|