Lines Matching refs:decimator
56 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()
427 if (ext_sip > 0 && !(sip % ext_sensor->decimator)) { in st_lsm6dsx_read_fifo()
458 if (gyro_sip > 0 && !(sip % gyro_sensor->decimator)) { in st_lsm6dsx_read_fifo()
465 if (acc_sip > 0 && !(sip % acc_sensor->decimator)) { in st_lsm6dsx_read_fifo()
472 if (ext_sip > 0 && !(sip % ext_sensor->decimator)) { in st_lsm6dsx_read_fifo()