Lines Matching full:readings
42 int icm42688_channel_parse_readings(enum sensor_channel chan, int16_t readings[7], in icm42688_channel_parse_readings()
47 icm42688_convert_accel(&val[0], readings[1], cfg); in icm42688_channel_parse_readings()
48 icm42688_convert_accel(&val[1], readings[2], cfg); in icm42688_channel_parse_readings()
49 icm42688_convert_accel(&val[2], readings[3], cfg); in icm42688_channel_parse_readings()
52 icm42688_convert_accel(val, readings[1], cfg); in icm42688_channel_parse_readings()
55 icm42688_convert_accel(val, readings[2], cfg); in icm42688_channel_parse_readings()
58 icm42688_convert_accel(val, readings[3], cfg); in icm42688_channel_parse_readings()
61 icm42688_convert_gyro(&val[0], readings[4], cfg); in icm42688_channel_parse_readings()
62 icm42688_convert_gyro(&val[1], readings[5], cfg); in icm42688_channel_parse_readings()
63 icm42688_convert_gyro(&val[2], readings[6], cfg); in icm42688_channel_parse_readings()
66 icm42688_convert_gyro(val, readings[4], cfg); in icm42688_channel_parse_readings()
69 icm42688_convert_gyro(val, readings[5], cfg); in icm42688_channel_parse_readings()
72 icm42688_convert_gyro(val, readings[6], cfg); in icm42688_channel_parse_readings()
75 icm42688_convert_temp(val, readings[0]); in icm42688_channel_parse_readings()
89 return icm42688_channel_parse_readings(chan, data->readings, &data->cfg, val); in icm42688_channel_get()
108 uint8_t readings[14]; in icm42688_sample_fetch() local
110 res = icm42688_read_all(dev, readings); in icm42688_sample_fetch()
117 data->readings[i] = sys_le16_to_cpu((readings[i * 2] << 8) | readings[i * 2 + 1]); in icm42688_sample_fetch()