Home
last modified time | relevance | path

Searched refs:sample_rate_div (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
H A 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()
H A Dinv_mpu_core.c37 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
60 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
83 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
494 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_init_config()
931 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_fifo_rate_store()
H A Dinv_mpu_iio.h24 * @sample_rate_div: Divider applied to gyro output rate.
46 u8 sample_rate_div; member
/kernel/linux/linux-6.6/drivers/iio/imu/inv_mpu6050/
H A 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()
H A Dinv_mpu_core.c40 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
63 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
86 .sample_rate_div = INV_MPU6050_REG_SAMPLE_RATE_DIV,
538 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_init_config()
980 result = regmap_write(st->map, st->reg->sample_rate_div, d); in inv_mpu6050_fifo_rate_store()
H A Dinv_mpu_iio.h26 * @sample_rate_div: Divider applied to gyro output rate.
48 u8 sample_rate_div; member
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dpatch_ca0132.c2846 unsigned int sample_rate_div = ((get_hdafmt_rate(fmt) >> 0) & 3) + 1; in dsp_allocate_ports_format() local
2848 unsigned int rate_multi = sample_rate_mul / sample_rate_div; in dsp_allocate_ports_format()
3090 unsigned int sample_rate_div; in dspxfr_one_seg() local
3146 sample_rate_div = ((get_hdafmt_rate(hda_format) >> 0) & 3) + 1; in dspxfr_one_seg()
3150 hda_frame_size_words = ((sample_rate_div == 0) ? 0 : in dspxfr_one_seg()
3151 (num_chans * sample_rate_mul / sample_rate_div)); in dspxfr_one_seg()
3166 sample_rate_mul, sample_rate_div, buffer_size_words); in dspxfr_one_seg()
/kernel/linux/linux-6.6/sound/pci/hda/
H A 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()
3210 unsigned int sample_rate_div; in dspxfr_one_seg() local
3266 sample_rate_div = ((get_hdafmt_rate(hda_format) >> 0) & 3) + 1; in dspxfr_one_seg()
3270 hda_frame_size_words = ((sample_rate_div == 0) ? 0 : in dspxfr_one_seg()
3271 (num_chans * sample_rate_mul / sample_rate_div)); in dspxfr_one_seg()
3286 sample_rate_mul, sample_rate_div, buffer_size_words); in dspxfr_one_seg()

Completed in 39 milliseconds