Searched refs:decimator (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_buffer.c | 57 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 …]
|
H A D | st_lsm6dsx.h | 198 struct st_lsm6dsx_reg decimator; member 338 struct st_lsm6dsx_reg decimator[ST_LSM6DSX_MAX_ID]; member 384 u8 decimator; member
|
H A D | st_lsm6dsx_core.c | 324 .decimator = { 361 .decimator = { 490 .decimator = { 527 .decimator = { 686 .decimator = { 727 .decimator = { 960 .decimator = { 1173 .decimator = { 1348 .decimator = {
|
/openbmc/linux/sound/soc/codecs/ |
H A D | lpass-tx-macro.c | 245 u8 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() 857 u8 decimator; in tx_macro_enable_dec() local 866 decimator = w->shift; in tx_macro_enable_dec() 890 tx->dec_mode[decimator]); in tx_macro_enable_dec() 1073 u8 decimator; in tx_macro_hw_params() local 1137 u8 decimator; in tx_macro_digital_mute() local 1835 tx->tx_hpf_work[i].decimator = i; in tx_macro_component_probe() [all …]
|
H A D | lpass-va-macro.c | 727 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 …]
|
H A D | wcd9335.c | 1798 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 …]
|
H A D | msm8916-wcd-digital.c | 604 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()
|
H A D | wcd934x.c | 1642 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() 4983 unsigned int decimator; in wcd934x_codec_enable_dec() local 5015 ret = kstrtouint(dec, 10, &decimator); in wcd934x_codec_enable_dec() 5024 hpf_gate_reg = WCD934X_CDC_TX0_TX_PATH_SEC2 + 16 * decimator; in wcd934x_codec_enable_dec() 5025 dec_cfg_reg = WCD934X_CDC_TX0_TX_PATH_CFG0 + 16 * decimator; in wcd934x_codec_enable_dec() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs42l43.yaml | 105 Enable the hardware automuting of decimator 1 when a headset button is
|