Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_aux.c29 ret = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu_i2c_master_xfer()
50 ret = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu_i2c_master_xfer()
59 regmap_write(st->map, st->reg->sample_rate_div, st->chip_config.divider); in inv_mpu_i2c_master_xfer()
Dinv_mpu_iio.h48 u8 sample_rate_div; member
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,
567 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_init_config()
1317 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_fifo_rate_store()
/linux-6.12.1/sound/pci/hda/
Dpatch_ca0132.c2969 unsigned int sample_rate_div = ((get_hdafmt_rate(fmt) >> 0) & 3) + 1; in dsp_allocate_ports_format() local
2971 unsigned int rate_multi = sample_rate_mul / sample_rate_div; in dsp_allocate_ports_format()
3209 unsigned int sample_rate_div; in dspxfr_one_seg() local
3265 sample_rate_div = ((get_hdafmt_rate(hda_format) >> 0) & 3) + 1; in dspxfr_one_seg()
3269 hda_frame_size_words = ((sample_rate_div == 0) ? 0 : in dspxfr_one_seg()
3270 (num_chans * sample_rate_mul / sample_rate_div)); in dspxfr_one_seg()
3285 sample_rate_mul, sample_rate_div, buffer_size_words); in dspxfr_one_seg()