Lines Matching refs:decoder
61 const struct sensor_decoder_api *decoder; in print_stream() local
103 rc = sensor_get_decoder(sensor, &decoder); in print_stream()
119 rc = decoder->get_frame_count(buf, accel_chan, &xl_count); in print_stream()
120 rc += decoder->get_frame_count(buf, gyro_chan, &gy_count); in print_stream()
121 rc += decoder->get_frame_count(buf, temp_chan, &tp_count); in print_stream()
122 rc += decoder->get_frame_count(buf, rot_vector_chan, &rot_vect_count); in print_stream()
123 rc += decoder->get_frame_count(buf, gravity_chan, &gravity_count); in print_stream()
124 rc += decoder->get_frame_count(buf, gbias_chan, &gbias_count); in print_stream()
135 if (decoder->has_trigger(buf, SENSOR_TRIG_TAP)) { in print_stream()
148 c = decoder->decode(buf, accel_chan, &accel_fit, 8, accel_data); in print_stream()
158 c = decoder->decode(buf, gyro_chan, &gyro_fit, 8, gyro_data); in print_stream()
168 c = decoder->decode(buf, temp_chan, &temp_fit, 4, temp_data); in print_stream()
177 c = decoder->decode(buf, rot_vector_chan, &rot_vect_fit, 8, rot_vect_data); in print_stream()
187 c = decoder->decode(buf, gravity_chan, &gravity_fit, 8, gravity_data); in print_stream()
197 c = decoder->decode(buf, gbias_chan, &gbias_fit, 8, gbias_data); in print_stream()