/drivers/media/tuners/ |
D | xc5000.c | 45 u32 freq_hz, freq_offset; member 447 static int xc_set_rf_frequency(struct xc5000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument 451 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency() 453 if ((freq_hz > xc5000_tuner_ops.info.frequency_max_hz) || in xc_set_rf_frequency() 454 (freq_hz < xc5000_tuner_ops.info.frequency_min_hz)) in xc_set_rf_frequency() 457 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency() 560 static int xc_tune_channel(struct xc5000_priv *priv, u32 freq_hz, int mode) in xc_tune_channel() argument 562 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel() 564 if (xc_set_rf_frequency(priv, freq_hz) != 0) in xc_tune_channel() 716 xc_tune_channel(priv, priv->freq_hz, XC_TUNE_DIGITAL); in xc5000_tune_digital() [all …]
|
D | xc4000.c | 79 u32 freq_hz, freq_offset; member 386 static int xc_set_rf_frequency(struct xc4000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument 390 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency() 392 if ((freq_hz > xc4000_tuner_ops.info.frequency_max_hz) || in xc_set_rf_frequency() 393 (freq_hz < xc4000_tuner_ops.info.frequency_min_hz)) in xc_set_rf_frequency() 396 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency() 498 static int xc_tune_channel(struct xc4000_priv *priv, u32 freq_hz) in xc_tune_channel() argument 503 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel() 507 result = xc_set_rf_frequency(priv, freq_hz); in xc_tune_channel() 1198 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params() [all …]
|
/drivers/cpufreq/ |
D | imx6q-cpufreq.c | 62 unsigned long freq_hz, volt, volt_old; in imx6q_set_target() local 68 freq_hz = new_freq * 1000; in imx6q_set_target() 71 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in imx6q_set_target() 73 dev_err(cpu_dev, "failed to find OPP for %ld\n", freq_hz); in imx6q_set_target() 130 if (freq_hz > clk_get_rate(clks[PLL2_PFD2_396M].clk)) in imx6q_set_target() 138 if (freq_hz > clk_get_rate(clks[PLL2_BUS].clk)) { in imx6q_set_target() 145 if (freq_hz > clk_get_rate(clks[PLL2_PFD2_396M].clk)) { in imx6q_set_target()
|
D | mediatek-cpufreq.c | 211 long freq_hz, old_freq_hz; in mtk_cpufreq_set_target() local 223 freq_hz = freq_table[index].frequency * 1000; in mtk_cpufreq_set_target() 225 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in mtk_cpufreq_set_target() 228 policy->cpu, freq_hz); in mtk_cpufreq_set_target() 260 ret = clk_set_rate(armpll, freq_hz); in mtk_cpufreq_set_target()
|
/drivers/watchdog/ |
D | intel_scu_watchdog.c | 202 timer_margin * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_set_heartbeat() 205 * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_set_heartbeat() 208 watchdog_device.timer_tbl_ptr->freq_hz); in intel_scu_set_heartbeat() 483 timer_margin * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_watchdog_init() 486 * watchdog_device.timer_tbl_ptr->freq_hz; in intel_scu_watchdog_init()
|
/drivers/input/serio/ |
D | apbps2.c | 135 u32 freq_hz; in apbps2_of_probe() local 163 if (of_property_read_u32(ofdev->dev.of_node, "freq", &freq_hz)) { in apbps2_of_probe() 169 iowrite32be(freq_hz / 10000, &priv->regs->reload); in apbps2_of_probe()
|
/drivers/tty/serial/ |
D | apbuart.c | 603 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()
|
/drivers/media/dvb-frontends/ |
D | cx24113.c | 296 s32 freq_hz = state->frequency * 1000; in cx24113_calc_pll_nf() local 316 dprintk("calculating N/F for %dHz with vcodiv %d\n", freq_hz, vcodiv); in cx24113_calc_pll_nf() 322 N = (freq_hz / 100 * vcodiv) * R; in cx24113_calc_pll_nf() 333 F = freq_hz; in cx24113_calc_pll_nf()
|
/drivers/firmware/ |
D | ti_sci.h | 467 u64 freq_hz; member 546 u64 freq_hz; member
|
D | ti_sci.c | 1521 *match_freq = resp->freq_hz; in ti_sci_cmd_clk_get_match_freq() 1659 *freq = resp->freq_hz; in ti_sci_cmd_clk_get_freq()
|
/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | msgqueue_0148cdec.c | 78 u32 freq_hz; in init_gen_cmdline() member
|
D | msgqueue_0137c63d.c | 95 u32 freq_hz; in init_gen_cmdline() member
|
/drivers/scsi/ufs/ |
D | ufs.h | 392 unsigned long freq_hz; member
|
D | ufshcd.c | 6949 for (i = 0; ufs_ref_clk_freqs[i].freq_hz; i++) in ufs_get_bref_clk_from_hz() 6950 if (ufs_ref_clk_freqs[i].freq_hz == freq) in ufs_get_bref_clk_from_hz() 6993 ufs_ref_clk_freqs[freq].freq_hz); in ufshcd_set_dev_ref_clk() 6998 ufs_ref_clk_freqs[freq].freq_hz); in ufshcd_set_dev_ref_clk()
|