Searched refs:decimator (Results 1 – 6 of 6) sorted by relevance
56 u8 decimator; member85 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() local88 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 …]
169 struct st_lsm6dsx_reg decimator; member310 struct st_lsm6dsx_reg decimator[ST_LSM6DSX_MAX_ID]; member354 u8 decimator; member
310 .decimator = {346 .decimator = {476 .decimator = {512 .decimator = {651 .decimator = {691 .decimator = {899 .decimator = {1104 .decimator = {1283 .decimator = {
1795 int decimator = -1; in wcd9335_set_decimator_rate() local1835 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() local2749 ret = kstrtouint(dec, 10, &decimator); in wcd9335_codec_enable_dec()[all …]
1558 int decimator = -1; in wcd934x_set_decimator_rate() local1602 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() local4217 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 …]
604 unsigned int decimator = w->shift + 1; in msm8916_wcd_digital_enable_dec() local609 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()