Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/tuners/
Dxc5000.c55 u32 freq_hz, freq_offset; member
457 static int xc_set_rf_frequency(struct xc5000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument
461 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency()
463 if ((freq_hz > xc5000_tuner_ops.info.frequency_max_hz) || in xc_set_rf_frequency()
464 (freq_hz < xc5000_tuner_ops.info.frequency_min_hz)) in xc_set_rf_frequency()
467 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency()
570 static int xc_tune_channel(struct xc5000_priv *priv, u32 freq_hz, int mode) in xc_tune_channel() argument
572 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel()
574 if (xc_set_rf_frequency(priv, freq_hz) != 0) in xc_tune_channel()
726 xc_tune_channel(priv, priv->freq_hz, XC_TUNE_DIGITAL); in xc5000_tune_digital()
[all …]
Dxc4000.c88 u32 freq_hz, freq_offset; member
395 static int xc_set_rf_frequency(struct xc4000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument
399 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency()
401 if ((freq_hz > xc4000_tuner_ops.info.frequency_max_hz) || in xc_set_rf_frequency()
402 (freq_hz < xc4000_tuner_ops.info.frequency_min_hz)) in xc_set_rf_frequency()
405 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency()
507 static int xc_tune_channel(struct xc4000_priv *priv, u32 freq_hz) in xc_tune_channel() argument
512 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel()
516 result = xc_set_rf_frequency(priv, freq_hz); in xc_tune_channel()
1208 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params()
[all …]
/Linux-v4.19/drivers/cpufreq/
Dimx6q-cpufreq.c66 unsigned long freq_hz, volt, volt_old; in imx6q_set_target() local
72 freq_hz = new_freq * 1000; in imx6q_set_target()
75 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in imx6q_set_target()
77 dev_err(cpu_dev, "failed to find OPP for %ld\n", freq_hz); in imx6q_set_target()
134 if (freq_hz > clk_get_rate(clks[PLL2_PFD2_396M].clk)) in imx6q_set_target()
142 if (freq_hz > clk_get_rate(clks[PLL2_BUS].clk)) { in imx6q_set_target()
149 if (freq_hz > clk_get_rate(clks[PLL2_PFD2_396M].clk)) { in imx6q_set_target()
Dmediatek-cpufreq.c221 long freq_hz, old_freq_hz; in mtk_cpufreq_set_target() local
233 freq_hz = freq_table[index].frequency * 1000; in mtk_cpufreq_set_target()
235 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in mtk_cpufreq_set_target()
238 policy->cpu, freq_hz); in mtk_cpufreq_set_target()
270 ret = clk_set_rate(armpll, freq_hz); in mtk_cpufreq_set_target()
/Linux-v4.19/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-v4.19/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-v4.19/drivers/firmware/
Dti_sci.h388 u64 freq_hz; member
461 u64 freq_hz; member
Dti_sci.c1436 *match_freq = resp->freq_hz; in ti_sci_cmd_clk_get_match_freq()
1564 *freq = resp->freq_hz; in ti_sci_cmd_clk_get_freq()
/Linux-v4.19/drivers/tty/serial/
Dapbuart.c603 const u32 *freq_hz; in grlib_apbuart_configure() local
613 freq_hz = of_get_property(np, "freq", NULL); in grlib_apbuart_configure()
615 if (!regs || !freq_hz || (*freq_hz == 0)) in grlib_apbuart_configure()
631 port->uartclk = *freq_hz; in grlib_apbuart_configure()
/Linux-v4.19/drivers/media/dvb-frontends/
Dcx24113.c306 s32 freq_hz = state->frequency * 1000; in cx24113_calc_pll_nf() local
326 dprintk("calculating N/F for %dHz with vcodiv %d\n", freq_hz, vcodiv); in cx24113_calc_pll_nf()
332 N = (freq_hz / 100 * vcodiv) * R; in cx24113_calc_pll_nf()
343 F = freq_hz; in cx24113_calc_pll_nf()
/Linux-v4.19/include/linux/
Dsfi.h143 u32 freq_hz; /* in HZ */ member
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/falcon/
Dmsgqueue_0148cdec.c78 u32 freq_hz; in init_gen_cmdline() member
Dmsgqueue_0137c63d.c95 u32 freq_hz; in init_gen_cmdline() member
/Linux-v4.19/arch/x86/kernel/
Dapb_timer.c108 apbt_freq = mtmr->freq_hz; in apbt_set_mapping()
/Linux-v4.19/arch/x86/platform/intel-mid/
Dsfi.c96 pentry->freq_hz, pentry->irq); in sfi_parse_mtmr()
/Linux-v4.19/Documentation/
Dpwm.txt157 use cases freq_hz and duty_percent might be better. Instead of calculating