/linux-4.4.14/drivers/media/tuners/ |
D | xc5000.c | 59 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 …]
|
D | xc4000.c | 96 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/ |
D | imx6q-cpufreq.c | 48 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()
|
D | mt8173-cpufreq.c | 181 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/ |
D | intel_scu_watchdog.c | 218 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/ |
D | apbps2.c | 139 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/ |
D | apbuart.c | 602 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/ |
D | cx24113.c | 310 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/ |
D | sfi.h | 143 u32 freq_hz; /* in HZ */ member
|
/linux-4.4.14/drivers/thermal/ |
D | cpu_cooling.c | 428 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/ |
D | apb_timer.c | 108 apbt_freq = mtmr->freq_hz; in apbt_set_mapping()
|
/linux-4.4.14/Documentation/ |
D | pwm.txt | 121 use cases freq_hz and duty_percent might be better. Instead of calculating
|
/linux-4.4.14/arch/x86/platform/intel-mid/ |
D | sfi.c | 97 pentry->freq_hz, pentry->irq); in sfi_parse_mtmr()
|