Lines Matching refs:data_out
403 struct sensor_three_axis_data *data_out, enum sensor_channel x, in decode_three_axis() argument
408 data_out->header.base_timestamp_ns = header->timestamp_ns; in decode_three_axis()
409 data_out->header.reading_count = 1; in decode_three_axis()
410 data_out->shift = header->shift; in decode_three_axis()
411 data_out->readings[0].timestamp_delta = 0; in decode_three_axis()
414 &data_out->readings[0].values[0]); in decode_three_axis()
419 &data_out->readings[0].values[1]); in decode_three_axis()
424 &data_out->readings[0].values[2]); in decode_three_axis()
432 struct sensor_q31_data *data_out, struct sensor_chan_spec chan_spec) in decode_q31() argument
436 data_out->header.base_timestamp_ns = header->timestamp_ns; in decode_q31()
437 data_out->header.reading_count = 1; in decode_q31()
438 data_out->shift = header->shift; in decode_q31()
439 data_out->readings[0].timestamp_delta = 0; in decode_q31()
441 rc = get_q31_value(header, values, chan_spec, &data_out->readings[0].value); in decode_q31()
466 uint32_t *fit, uint16_t max_count, void *data_out) in decode() argument
487 count = decode_three_axis(header, q, data_out, SENSOR_CHAN_ACCEL_X, in decode()
495 count = decode_three_axis(header, q, data_out, SENSOR_CHAN_GYRO_X, in decode()
503 count = decode_three_axis(header, q, data_out, SENSOR_CHAN_MAGN_X, in decode()
511 count = decode_three_axis(header, q, data_out, SENSOR_CHAN_POS_DX, in decode()
516 count = decode_q31(header, q, data_out, chan_spec); in decode()