Lines Matching refs:chan_spec
102 static int adxl345_decode_stream(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in adxl345_decode_stream() argument
111 if ((uintptr_t)buffer_end <= *fit || chan_spec.chan_idx != 0) { in adxl345_decode_stream()
144 switch (chan_spec.chan_type) { in adxl345_decode_stream()
172 static int adxl345_decoder_get_frame_count(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in adxl345_decoder_get_frame_count() argument
177 if (chan_spec.chan_idx != 0) { in adxl345_decoder_get_frame_count()
186 switch (chan_spec.chan_type) { in adxl345_decoder_get_frame_count()
204 switch (chan_spec.chan_type) { in adxl345_decoder_get_frame_count()
222 struct sensor_chan_spec chan_spec, uint32_t *fit, in adxl345_decode_sample() argument
236 switch (chan_spec.chan_type) { in adxl345_decode_sample()
254 static int adxl345_decoder_decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in adxl345_decoder_decode() argument
261 return adxl345_decode_stream(buffer, chan_spec, fit, max_count, data_out); in adxl345_decoder_decode()
265 return adxl345_decode_sample(data, chan_spec, fit, max_count, data_out); in adxl345_decoder_decode()