/linux-4.4.14/drivers/input/serio/ |
H A D | apbps2.c | 139 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 D | imx6q-cpufreq.c | 48 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 D | mt8173-cpufreq.c | 181 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 D | xc5000.c | 59 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 D | xc4000.c | 96 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 D | apbuart.c | 602 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 D | intel_scu_watchdog.c | 218 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 D | cx24113.c | 310 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 D | sfi.h | 143 u32 freq_hz; /* in HZ */ member in struct:sfi_timer_table_entry
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | apb_timer.c | 108 apbt_freq = mtmr->freq_hz; apbt_set_mapping()
|
/linux-4.4.14/arch/x86/platform/intel-mid/ |
H A D | sfi.c | 97 pentry->freq_hz, pentry->irq); sfi_parse_mtmr()
|
/linux-4.4.14/drivers/thermal/ |
H A D | cpu_cooling.c | 428 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()
|