Lines Matching refs:gyro_fs
17 static int icm42688_get_shift(enum sensor_channel channel, int accel_fs, int gyro_fs, int8_t *shift) in icm42688_get_shift() argument
44 switch (gyro_fs) { in icm42688_get_shift()
89 rc = icm42688_get_shift(chan, cfg->accel_fs, cfg->gyro_fs, &shift); in icm42688_convert_raw_to_q31()
195 edata->header.gyro_fs = data->cfg.gyro_fs; in icm42688_encode()
410 edata->header.gyro_fs, &data->shift); in icm42688_fifo_decode()
431 edata->header.gyro_fs, &data->shift); in icm42688_fifo_decode()
434 rc = icm42688_read_imu_from_packet(buffer, false, edata->header.gyro_fs, 0, in icm42688_fifo_decode()
436 rc |= icm42688_read_imu_from_packet(buffer, false, edata->header.gyro_fs, 1, in icm42688_fifo_decode()
438 rc |= icm42688_read_imu_from_packet(buffer, false, edata->header.gyro_fs, 2, in icm42688_fifo_decode()
460 .gyro_fs = edata->header.gyro_fs, in icm42688_one_shot_decode()
486 rc = icm42688_get_shift(SENSOR_CHAN_ACCEL_XYZ, header->accel_fs, header->gyro_fs, in icm42688_one_shot_decode()
520 rc = icm42688_get_shift(SENSOR_CHAN_GYRO_XYZ, header->accel_fs, header->gyro_fs, in icm42688_one_shot_decode()
553 rc = icm42688_get_shift(SENSOR_CHAN_DIE_TEMP, header->accel_fs, header->gyro_fs, in icm42688_one_shot_decode()