Lines Matching refs:sync_scale
347 * the input clock. Hence, calculating the sync_scale dynamically gives us better
356 int sync_scale;
381 sync_scale = scaled_rate / st->clk_freq;
382 ret = __adis_write_reg_16(&st->adis, ADIS16495_REG_SYNC_SCALE, sync_scale);
412 u16 sync_scale;
414 ret = __adis_read_reg_16(&st->adis, ADIS16495_REG_SYNC_SCALE, &sync_scale);
418 sample_rate = st->clk_freq * sync_scale;
1456 u16 sync_scale;
1459 * In PPS mode, the IMU sample rate is the clk_freq * sync_scale. Hence,
1464 sync_scale = st->chip_info->int_clk / st->clk_freq;
1465 ret = __adis_write_reg_16(&st->adis, ADIS16495_REG_SYNC_SCALE, sync_scale);