Lines Matching refs:edata
27 struct lsm6dsv16x_rtio_data *edata; in lsm6dsv16x_submit_sample() local
40 edata = (struct lsm6dsv16x_rtio_data *)buf; in lsm6dsv16x_submit_sample()
42 edata->has_accel = 0; in lsm6dsv16x_submit_sample()
43 edata->has_gyro = 0; in lsm6dsv16x_submit_sample()
44 edata->has_temp = 0; in lsm6dsv16x_submit_sample()
52 edata->has_accel = 1; in lsm6dsv16x_submit_sample()
54 rc = lsm6dsv16x_acceleration_raw_get(ctx, edata->acc); in lsm6dsv16x_submit_sample()
64 edata->has_gyro = 1; in lsm6dsv16x_submit_sample()
66 rc = lsm6dsv16x_angular_rate_raw_get(ctx, edata->gyro); in lsm6dsv16x_submit_sample()
74 edata->has_temp = 1; in lsm6dsv16x_submit_sample()
76 rc = lsm6dsv16x_temperature_raw_get(ctx, &edata->temp); in lsm6dsv16x_submit_sample()
84 edata->has_accel = 1; in lsm6dsv16x_submit_sample()
86 rc = lsm6dsv16x_acceleration_raw_get(ctx, edata->acc); in lsm6dsv16x_submit_sample()
92 edata->has_gyro = 1; in lsm6dsv16x_submit_sample()
94 rc = lsm6dsv16x_angular_rate_raw_get(ctx, edata->gyro); in lsm6dsv16x_submit_sample()
101 edata->has_temp = 1; in lsm6dsv16x_submit_sample()
103 rc = lsm6dsv16x_temperature_raw_get(ctx, &edata->temp); in lsm6dsv16x_submit_sample()
115 edata->header.is_fifo = false; in lsm6dsv16x_submit_sample()
116 edata->header.accel_fs = data->accel_fs; in lsm6dsv16x_submit_sample()
117 edata->header.gyro_fs = data->gyro_fs; in lsm6dsv16x_submit_sample()
118 edata->header.timestamp = k_ticks_to_ns_floor64(k_uptime_ticks()); in lsm6dsv16x_submit_sample()