Home
last modified time | relevance | path

Searched refs:freq_hz (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/drivers/media/tuners/
Dxc5000.c59 u32 freq_hz, freq_offset; member
461 static int xc_set_rf_frequency(struct xc5000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument
465 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency()
467 if ((freq_hz > xc5000_tuner_ops.info.frequency_max) || in xc_set_rf_frequency()
468 (freq_hz < xc5000_tuner_ops.info.frequency_min)) in xc_set_rf_frequency()
471 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency()
589 static int xc_tune_channel(struct xc5000_priv *priv, u32 freq_hz, int mode) in xc_tune_channel() argument
593 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel()
595 if (xc_set_rf_frequency(priv, freq_hz) != 0) in xc_tune_channel()
752 xc_tune_channel(priv, priv->freq_hz, XC_TUNE_DIGITAL); in xc5000_tune_digital()
[all …]
Dxc4000.c96 u32 freq_hz, freq_offset; member
404 static int xc_set_rf_frequency(struct xc4000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument
408 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency()
410 if ((freq_hz > xc4000_tuner_ops.info.frequency_max) || in xc_set_rf_frequency()
411 (freq_hz < xc4000_tuner_ops.info.frequency_min)) in xc_set_rf_frequency()
414 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency()
516 static int xc_tune_channel(struct xc4000_priv *priv, u32 freq_hz) in xc_tune_channel() argument
521 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel()
525 result = xc_set_rf_frequency(priv, freq_hz); in xc_tune_channel()
1218 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params()
[all …]
/linux-4.4.14/drivers/cpufreq/
Dimx6q-cpufreq.c48 unsigned long freq_hz, volt, volt_old; in imx6q_set_target() local
53 freq_hz = new_freq * 1000; in imx6q_set_target()
57 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in imx6q_set_target()
60 dev_err(cpu_dev, "failed to find OPP for %ld\n", freq_hz); in imx6q_set_target()
115 if (freq_hz > clk_get_rate(pll2_pfd2_396m_clk)) in imx6q_set_target()
124 if (freq_hz > clk_get_rate(pll2_pfd2_396m_clk)) { in imx6q_set_target()
Dmt8173-cpufreq.c181 long freq_hz, old_freq_hz; in mtk_cpufreq_set_target() local
189 freq_hz = freq_table[index].frequency * 1000; in mtk_cpufreq_set_target()
192 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in mtk_cpufreq_set_target()
196 policy->cpu, freq_hz); in mtk_cpufreq_set_target()
228 ret = clk_set_rate(armpll, freq_hz); in mtk_cpufreq_set_target()
/linux-4.4.14/drivers/watchdog/
Dintel_scu_watchdog.c218 timer_margin * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_set_heartbeat()
221 * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_set_heartbeat()
224 watchdog_device.timer_tbl_ptr->freq_hz); in intel_scu_set_heartbeat()
499 timer_margin * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_watchdog_init()
502 * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_watchdog_init()
/linux-4.4.14/drivers/input/serio/
Dapbps2.c139 u32 freq_hz; in apbps2_of_probe() local
167 if (of_property_read_u32(ofdev->dev.of_node, "freq", &freq_hz)) { in apbps2_of_probe()
173 iowrite32be(freq_hz / 10000, &priv->regs->reload); in apbps2_of_probe()
/linux-4.4.14/drivers/tty/serial/
Dapbuart.c602 const u32 *freq_hz; in grlib_apbuart_configure() local
612 freq_hz = of_get_property(np, "freq", NULL); in grlib_apbuart_configure()
614 if (!regs || !freq_hz || (*freq_hz == 0)) in grlib_apbuart_configure()
630 port->uartclk = *freq_hz; in grlib_apbuart_configure()
/linux-4.4.14/drivers/media/dvb-frontends/
Dcx24113.c310 s32 freq_hz = state->frequency * 1000; in cx24113_calc_pll_nf() local
330 dprintk("calculating N/F for %dHz with vcodiv %d\n", freq_hz, vcodiv); in cx24113_calc_pll_nf()
336 N = (freq_hz / 100 * vcodiv) * R; in cx24113_calc_pll_nf()
347 F = freq_hz; in cx24113_calc_pll_nf()
/linux-4.4.14/include/linux/
Dsfi.h143 u32 freq_hz; /* in HZ */ member
/linux-4.4.14/drivers/thermal/
Dcpu_cooling.c428 unsigned long freq_hz = freq * 1000; in get_static_power() local
438 opp = dev_pm_opp_find_freq_exact(cpufreq_device->cpu_dev, freq_hz, in get_static_power()
447 freq_hz, IS_ERR(opp) ? PTR_ERR(opp) : 0); in get_static_power()
/linux-4.4.14/arch/x86/kernel/
Dapb_timer.c108 apbt_freq = mtmr->freq_hz; in apbt_set_mapping()
/linux-4.4.14/Documentation/
Dpwm.txt121 use cases freq_hz and duty_percent might be better. Instead of calculating
/linux-4.4.14/arch/x86/platform/intel-mid/
Dsfi.c97 pentry->freq_hz, pentry->irq); in sfi_parse_mtmr()