Lines Matching refs:decimator
79 u8 decimator; member
108 u32 decimator = max_odr / sensor->odr; in st_lsm6dsx_get_decimator_val() local
111 if (decimator > 1) in st_lsm6dsx_get_decimator_val()
112 decimator = round_down(decimator, 2); in st_lsm6dsx_get_decimator_val()
115 if (st_lsm6dsx_decimator_table[i].decimator == decimator) in st_lsm6dsx_get_decimator_val()
119 sensor->decimator = decimator; in st_lsm6dsx_get_decimator_val()
179 dec_reg = &hw->settings->decimator[sensor->id]; in st_lsm6dsx_update_decimators()
199 ts_dec_reg = &hw->settings->ts_settings.decimator; in st_lsm6dsx_update_decimators()
438 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()
444 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
450 if (ext_sip > 0 && !(sip % ext_sensor->decimator)) { in st_lsm6dsx_read_fifo()
481 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()
495 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
509 if (ext_sip > 0 && !(sip % ext_sensor->decimator)) { in st_lsm6dsx_read_fifo()