Searched refs:sample_number (Results 1 – 3 of 3) sorted by relevance
26 uint32_t sample_number; member34 uint32_t sample_number; in vnd_sensor_iodev_read() local40 sample_number = data->sample_number++; in vnd_sensor_iodev_read()49 buf[i] = sample_number * config->sample_size + i; in vnd_sensor_iodev_read()
327 data->sample_number = 0; in adxl345_sample_fetch()356 if (data->sample_number >= ARRAY_SIZE(data->bufx)) { in adxl345_channel_get()357 data->sample_number = 0; in adxl345_channel_get()362 adxl345_accel_convert(val, data->bufx[data->sample_number]); in adxl345_channel_get()363 data->sample_number++; in adxl345_channel_get()366 adxl345_accel_convert(val, data->bufy[data->sample_number]); in adxl345_channel_get()367 data->sample_number++; in adxl345_channel_get()370 adxl345_accel_convert(val, data->bufz[data->sample_number]); in adxl345_channel_get()371 data->sample_number++; in adxl345_channel_get()374 adxl345_accel_convert(val++, data->bufx[data->sample_number]); in adxl345_channel_get()[all …]
152 unsigned int sample_number; member