Searched refs:sample_idx (Results 1 – 1 of 1) sorted by relevance
152 for (size_t i = 0, sample_idx = 0; i < cfg->count; ++i) { in sensor_submit_fallback_sync() local160 header->channels[sample_idx++] = (struct sensor_chan_spec) { in sensor_submit_fallback_sync()164 header->channels[sample_idx++] = (struct sensor_chan_spec) { in sensor_submit_fallback_sync()168 header->channels[sample_idx++] = (struct sensor_chan_spec) { in sensor_submit_fallback_sync()173 header->channels[sample_idx++] = (struct sensor_chan_spec) { in sensor_submit_fallback_sync()207 sample_idx -= num_samples; in sensor_submit_fallback_sync()214 for (int q_idx = 0; q_idx < sample_idx; ++q_idx) { in sensor_submit_fallback_sync()228 header, header->channels[sample_idx + sample], sample_idx + sample); in sensor_submit_fallback_sync()231 prev_computed_value_idx != sample_idx + sample) { in sensor_submit_fallback_sync()235 q[sample_idx + sample] = q[prev_computed_value_idx]; in sensor_submit_fallback_sync()[all …]