Searched refs:base_freq (Results 1 – 9 of 9) sorted by relevance
/linux/arch/loongarch/include/asm/ |
H A D | time.h | 21 unsigned int base_freq; in calc_const_freq() local 28 base_freq = read_cpucfg(LOONGARCH_CPUCFG4); in calc_const_freq() 33 if (!base_freq || !cfm || !cfd) in calc_const_freq() 36 return (base_freq * cfm / cfd); in calc_const_freq()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_clock_utils.c | 17 u32 base_freq, frac_freq; in read_reference_ts_freq() local 19 base_freq = ((ts_override & GEN9_TIMESTAMP_OVERRIDE_US_COUNTER_DIVIDER_MASK) >> in read_reference_ts_freq() 21 base_freq *= 1000000; in read_reference_ts_freq() 28 return base_freq + frac_freq; in read_reference_ts_freq()
|
/linux/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_tpmi_core.c | 1289 static struct isst_base_freq_info base_freq; in isst_if_get_base_freq_info() local 1292 if (copy_from_user(&base_freq, argp, sizeof(base_freq))) in isst_if_get_base_freq_info() 1295 power_domain_info = get_instance(base_freq.socket_id, base_freq.power_domain_id); in isst_if_get_base_freq_info() 1299 if (base_freq.level > power_domain_info->max_level) in isst_if_get_base_freq_info() 1302 _read_bf_level_info("p1_high", base_freq.high_base_freq_mhz, base_freq.level, in isst_if_get_base_freq_info() 1305 _read_bf_level_info("p1_low", base_freq.low_base_freq_mhz, base_freq in isst_if_get_base_freq_info() [all...] |
/linux/drivers/iio/accel/ |
H A D | sca3000.c | 563 * @base_freq: Base frequency for the current measurement mode. 569 int *base_freq) in __sca3000_get_base_freq() argument 579 *base_freq = info->measurement_mode_freq; in __sca3000_get_base_freq() 582 *base_freq = info->option_mode_1_freq; in __sca3000_get_base_freq() 585 *base_freq = info->option_mode_2_freq; in __sca3000_get_base_freq() 636 int ret, base_freq, ctrlval; in sca3000_write_raw_samp_freq() local 638 ret = __sca3000_get_base_freq(st, st->info, &base_freq); in sca3000_write_raw_samp_freq() 648 if (val == base_freq / 2) in sca3000_write_raw_samp_freq() 650 if (val == base_freq / 4) in sca3000_write_raw_samp_freq() 652 else if (val != base_freq) in sca3000_write_raw_samp_freq() [all...] |
/linux/arch/x86/include/asm/ |
H A D | topology.h | 297 unsigned long cap_freq, unsigned long base_freq); 309 unsigned long base_freq) { } in arch_set_cpu_capacity() argument
|
/linux/drivers/media/dvb-frontends/ |
H A D | stv0297.c | 27 unsigned long base_freq; member 598 state->base_freq = p->frequency; in stv0297_set_frontend() 615 p->frequency = state->base_freq; in stv0297_get_frontend() 665 state->base_freq = 0; in stv0297_attach()
|
/linux/drivers/devfreq/ |
H A D | sun8i-a33-mbus.c | 336 unsigned long base_freq; in sun8i_a33_mbus_probe() local 402 base_freq = clk_get_rate(clk_get_parent(priv->clk_dram)); in sun8i_a33_mbus_probe() 406 priv->freq_table[i] = base_freq / div; in sun8i_a33_mbus_probe()
|
/linux/sound/soc/codecs/ |
H A D | adau1977.c | 778 static bool adau1977_check_sysclk(unsigned int mclk, unsigned int base_freq) in adau1977_check_sysclk() argument 782 if (mclk % (base_freq * 128) != 0) in adau1977_check_sysclk() 785 mcs = mclk / (128 * base_freq); in adau1977_check_sysclk()
|
/linux/include/uapi/linux/ |
H A D | soundcard.h | 250 * The base_freq and base_note fields are used when computing the 252 * which is heard if the sample is played using the base_freq as the 265 unsigned int base_freq; member
|