Home
last modified time | relevance | path

Searched refs:decimator (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c56 u8 decimator; member
85 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() local
88 if (decimator > 1) in st_lsm6dsx_get_decimator_val()
89 decimator = round_down(decimator, 2); in st_lsm6dsx_get_decimator_val()
92 if (st_lsm6dsx_decimator_table[i].decimator == decimator) in st_lsm6dsx_get_decimator_val()
96 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val()
156 dec_reg = &hw->settings->decimator[sensor->id]; in st_lsm6dsx_update_decimators()
176 ts_dec_reg = &hw->settings->ts_settings.decimator; in st_lsm6dsx_update_decimators()
415 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()
421 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
[all …]
Dst_lsm6dsx.h169 struct st_lsm6dsx_reg decimator; member
310 struct st_lsm6dsx_reg decimator[ST_LSM6DSX_MAX_ID]; member
354 u8 decimator; member
Dst_lsm6dsx_core.c310 .decimator = {
346 .decimator = {
476 .decimator = {
512 .decimator = {
651 .decimator = {
691 .decimator = {
899 .decimator = {
1104 .decimator = {
1283 .decimator = {
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwcd9335.c1795 int decimator = -1; in wcd9335_set_decimator_rate() local
1835 decimator = tx_port; in wcd9335_set_decimator_rate()
1838 decimator = ((tx_port == 9) ? 7 : 6); in wcd9335_set_decimator_rate()
1841 decimator = tx_mux_sel - 1; in wcd9335_set_decimator_rate()
1844 decimator = 5; in wcd9335_set_decimator_rate()
1847 if (decimator >= 0) { in wcd9335_set_decimator_rate()
1849 WCD9335_CDC_TX_PATH_CTL(decimator), in wcd9335_set_decimator_rate()
1858 decimator); in wcd9335_set_decimator_rate()
2717 unsigned int decimator; in wcd9335_codec_enable_dec() local
2749 ret = kstrtouint(dec, 10, &decimator); in wcd9335_codec_enable_dec()
[all …]
Dwcd934x.c1558 int decimator = -1; in wcd934x_set_decimator_rate() local
1602 decimator = tx_port; in wcd934x_set_decimator_rate()
1606 decimator = ((tx_port == 9) ? 7 : 6); in wcd934x_set_decimator_rate()
1610 decimator = tx_mux_sel - 1; in wcd934x_set_decimator_rate()
1614 decimator = 5; in wcd934x_set_decimator_rate()
1623 WCD934X_CDC_TX_PATH_CTL(decimator), in wcd934x_set_decimator_rate()
4185 unsigned int decimator; in wcd934x_codec_enable_dec() local
4217 ret = kstrtouint(dec, 10, &decimator); in wcd934x_codec_enable_dec()
4225 tx_vol_ctl_reg = WCD934X_CDC_TX0_TX_PATH_CTL + 16 * decimator; in wcd934x_codec_enable_dec()
4226 hpf_gate_reg = WCD934X_CDC_TX0_TX_PATH_SEC2 + 16 * decimator; in wcd934x_codec_enable_dec()
[all …]
Dmsm8916-wcd-digital.c604 unsigned int decimator = w->shift + 1; in msm8916_wcd_digital_enable_dec() local
609 tx_vol_ctl_reg = LPASS_CDC_TX1_VOL_CTL_CFG + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()
610 tx_mux_ctl_reg = LPASS_CDC_TX1_MUX_CTL + 32 * (decimator - 1); in msm8916_wcd_digital_enable_dec()