Lines Matching refs:values
408 static int get_q31_value(const struct sensor_data_generic_header *header, const q31_t *values, in get_q31_value() argument
413 *out = values[i]; in get_q31_value()
420 static int decode_three_axis(const struct sensor_data_generic_header *header, const q31_t *values, in decode_three_axis() argument
431 rc = get_q31_value(header, values, (struct sensor_chan_spec){x, channel_idx}, in decode_three_axis()
432 &data_out->readings[0].values[0]); in decode_three_axis()
436 rc = get_q31_value(header, values, (struct sensor_chan_spec){y, channel_idx}, in decode_three_axis()
437 &data_out->readings[0].values[1]); in decode_three_axis()
441 rc = get_q31_value(header, values, (struct sensor_chan_spec){z, channel_idx}, in decode_three_axis()
442 &data_out->readings[0].values[2]); in decode_three_axis()
449 static int decode_q31(const struct sensor_data_generic_header *header, const q31_t *values, in decode_q31() argument
459 rc = get_q31_value(header, values, chan_spec, &data_out->readings[0].value); in decode_q31()