Home
last modified time | relevance | path

Searched refs:sample_rate_div (Results 1 – 4 of 4) 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_iio.h48 u8 sample_rate_div; member
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()
1335 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_fifo_rate_store()
/linux/sound/hda/codecs/ !
H A Dca0132.c2956 unsigned int sample_rate_div = ((get_hdafmt_rate(fmt) >> 0) & 3) + 1; in dsp_allocate_ports_format() local
2958 unsigned int rate_multi = sample_rate_mul / sample_rate_div; in dsp_allocate_ports_format()
3196 unsigned int sample_rate_div; in dspxfr_one_seg() local
3252 sample_rate_div = ((get_hdafmt_rate(hda_format) >> 0) & 3) + 1; in dspxfr_one_seg()
3256 hda_frame_size_words = ((sample_rate_div == 0) ? 0 : in dspxfr_one_seg()
3257 (num_chans * sample_rate_mul / sample_rate_div)); in dspxfr_one_seg()
3272 sample_rate_mul, sample_rate_div, buffer_size_words); in dspxfr_one_seg()