Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/soc/codecs/
A Dlpass-tx-macro.c245 u32 decimator; member
251 u8 decimator; member
705 u8 decimator; in tx_macro_mute_update_callback() local
711 decimator = tx_mute_dwork->decimator; in tx_macro_mute_update_callback()
852 unsigned int decimator; in tx_macro_enable_dec() local
861 decimator = w->shift; in tx_macro_enable_dec()
885 tx->dec_mode[decimator]); in tx_macro_enable_dec()
919 &tx->tx_hpf_work[decimator].dwork, in tx_macro_enable_dec()
1067 u32 decimator, sample_rate; in tx_macro_hw_params() local
1131 u16 decimator; in tx_macro_digital_mute() local
[all …]
A Dlpass-va-macro.c727 unsigned int decimator; in va_macro_enable_dec() local
734 decimator = w->shift; in va_macro_enable_dec()
737 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
739 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
741 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
743 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_enable_dec()
749 va->dec_mode[decimator] << CDC_VA_ADC_MODE_SHIFT); in va_macro_enable_dec()
841 u32 decimator, sample_rate; in va_macro_hw_params() local
878 VA_MACRO_TX_PATH_OFFSET * decimator; in va_macro_hw_params()
911 u16 tx_vol_ctl_reg, decimator; in va_macro_digital_mute() local
[all …]
A Dwcd9335.c1798 int decimator = -1; in wcd9335_set_decimator_rate() local
1836 decimator = tx_port; in wcd9335_set_decimator_rate()
1839 decimator = ((tx_port == 9) ? 7 : 6); in wcd9335_set_decimator_rate()
1842 decimator = tx_mux_sel - 1; in wcd9335_set_decimator_rate()
1845 decimator = 5; in wcd9335_set_decimator_rate()
1848 if (decimator >= 0) { in wcd9335_set_decimator_rate()
1850 WCD9335_CDC_TX_PATH_CTL(decimator), in wcd9335_set_decimator_rate()
1859 decimator); in wcd9335_set_decimator_rate()
2718 unsigned int decimator; in wcd9335_codec_enable_dec() local
2750 ret = kstrtouint(dec, 10, &decimator); in wcd9335_codec_enable_dec()
[all …]
A 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()
A Dwcd934x.c1642 int decimator = -1; in wcd934x_set_decimator_rate() local
1686 decimator = tx_port; in wcd934x_set_decimator_rate()
1690 decimator = ((tx_port == 9) ? 7 : 6); in wcd934x_set_decimator_rate()
1694 decimator = tx_mux_sel - 1; in wcd934x_set_decimator_rate()
1698 decimator = 5; in wcd934x_set_decimator_rate()
1707 WCD934X_CDC_TX_PATH_CTL(decimator), in wcd934x_set_decimator_rate()
4971 unsigned int decimator; in wcd934x_codec_enable_dec() local
5003 ret = kstrtouint(dec, 10, &decimator); in wcd934x_codec_enable_dec()
5012 hpf_gate_reg = WCD934X_CDC_TX0_TX_PATH_SEC2 + 16 * decimator; in wcd934x_codec_enable_dec()
5013 dec_cfg_reg = WCD934X_CDC_TX0_TX_PATH_CFG0 + 16 * decimator; in wcd934x_codec_enable_dec()
[all …]
/linux-6.3-rc2/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_buffer.c57 u8 decimator; member
86 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() local
89 if (decimator > 1) in st_lsm6dsx_get_decimator_val()
90 decimator = round_down(decimator, 2); in st_lsm6dsx_get_decimator_val()
93 if (st_lsm6dsx_decimator_table[i].decimator == decimator) in st_lsm6dsx_get_decimator_val()
97 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val()
157 dec_reg = &hw->settings->decimator[sensor->id]; in st_lsm6dsx_update_decimators()
177 ts_dec_reg = &hw->settings->ts_settings.decimator; in st_lsm6dsx_update_decimators()
422 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
428 if (ext_sip > 0 && !(sip % ext_sensor->decimator)) { in st_lsm6dsx_read_fifo()
[all …]
A Dst_lsm6dsx.h189 struct st_lsm6dsx_reg decimator; member
327 struct st_lsm6dsx_reg decimator[ST_LSM6DSX_MAX_ID]; member
371 u8 decimator; member
A Dst_lsm6dsx_core.c323 .decimator = {
360 .decimator = {
489 .decimator = {
526 .decimator = {
667 .decimator = {
708 .decimator = {
941 .decimator = {
1150 .decimator = {
1325 .decimator = {

Completed in 44 milliseconds