Searched refs:freq_hz (Results 1 - 12 of 12) sorted by relevance

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

Completed in 582 milliseconds