Lines Matching defs:clk_freq
172 unsigned int clk_freq;
331 unsigned int t, sample_rate = st->clk_freq;
355 unsigned long scaled_rate = lcm(st->clk_freq, t);
364 scaled_rate = st->chip_info->int_clk / st->clk_freq * st->clk_freq;
379 scaled_rate = roundup(4000000, st->clk_freq);
381 sync_scale = scaled_rate / st->clk_freq;
407 unsigned int freq, sample_rate = st->clk_freq;
418 sample_rate = st->clk_freq * sync_scale;
1446 st->clk_freq = clk_get_rate(st->ext_clk);
1447 st->clk_freq *= 1000; /* micro */
1452 * In PPS mode, the IMU sample rate is the clk_freq * sync_scale. Hence,
1457 sync_scale = st->chip_info->int_clk / st->clk_freq;
1463 st->clk_freq = st->chip_info->int_clk;