Home
last modified time | relevance | path

Searched refs:sample_rate_div (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_aux.c32 ret = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu_i2c_master_xfer()
53 ret = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu_i2c_master_xfer()
75 regmap_write(st->map, st->reg->sample_rate_div, st->chip_config.divider); in inv_mpu_i2c_master_xfer()
H A Dinv_mpu_core.c43 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
66 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
89 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
595 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_init_config()
1340 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_fifo_rate_store()
/linux/sound/hda/codecs/
H A Dca0132.c2981 unsigned int sample_rate_div = ((get_hdafmt_rate(fmt) >> 0) & 3) + 1; in dsp_allocate_ports_format() local
2983 unsigned int rate_multi = sample_rate_mul / sample_rate_div; in dsp_allocate_ports_format()
3221 unsigned int sample_rate_div; in dspxfr_one_seg() local
3277 sample_rate_div = ((get_hdafmt_rate(hda_format) >> 0) & 3) + 1; in dspxfr_one_seg()
3281 hda_frame_size_words = ((sample_rate_div == 0) ? 0 : in dspxfr_one_seg()
3282 (num_chans * sample_rate_mul / sample_rate_div)); in dspxfr_one_seg()
3297 sample_rate_mul, sample_rate_div, buffer_size_words); in dspxfr_one_seg()