Lines Matching refs:clk_freq
178 unsigned int clk_freq;
328 unsigned int t, sample_rate = st->clk_freq;
352 unsigned long scaled_rate = lcm(st->clk_freq, t);
361 scaled_rate = st->chip_info->int_clk / st->clk_freq * st->clk_freq;
376 scaled_rate = roundup(4000000, st->clk_freq);
378 sync_scale = scaled_rate / st->clk_freq;
401 unsigned int freq, sample_rate = st->clk_freq;
412 sample_rate = st->clk_freq * sync_scale;
1771 st->clk_freq = clk_get_rate(st->ext_clk);
1772 st->clk_freq *= 1000; /* micro */
1777 * In PPS mode, the IMU sample rate is the clk_freq * sync_scale. Hence,
1782 sync_scale = st->chip_info->int_clk / st->clk_freq;
1788 st->clk_freq = st->chip_info->int_clk;