Lines Matching refs:chan_spec
98 struct sensor_chan_spec chan_spec, int num_channels) in check_header_contains_channel() argument
100 __ASSERT_NO_MSG(!SENSOR_CHANNEL_3_AXIS(chan_spec.chan_type)); in check_header_contains_channel()
103 if (sensor_chan_spec_eq(header->channels[i], chan_spec)) { in check_header_contains_channel()
391 struct sensor_chan_spec chan_spec, q31_t *out) in get_q31_value() argument
394 if (sensor_chan_spec_eq(chan_spec, header->channels[i])) { in get_q31_value()
432 struct sensor_q31_data *data_out, struct sensor_chan_spec chan_spec) in decode_q31() argument
441 rc = get_q31_value(header, values, chan_spec, &data_out->readings[0].value); in decode_q31()
465 static int decode(const uint8_t *buffer, struct sensor_chan_spec chan_spec, in decode() argument
477 if (chan_spec.chan_type >= SENSOR_CHAN_ALL) { in decode()
482 switch (chan_spec.chan_type) { in decode()
489 chan_spec.chan_idx); in decode()
497 chan_spec.chan_idx); in decode()
505 chan_spec.chan_idx); in decode()
513 chan_spec.chan_idx); in decode()
516 count = decode_q31(header, q, data_out, chan_spec); in decode()