Home
last modified time | relevance | path

Searched refs:iio_dev_data (Results 1 – 1 of 1) sorted by relevance

/device/google/trout/hal/sensors/2.1/
Diio_utils.cpp281 iio_device_data iio_dev_data; in load_iio_devices() local
282 iio_dev_data.sysfspath.append(path_device, 0, iio_dir.size() + strlen(ent->d_name)); in load_iio_devices()
283 err = get_sensor_name(iio_dev_data.sysfspath, &iio_dev_data.name); in load_iio_devices()
289 if (!filter(&iio_dev_data)) continue; in load_iio_devices()
291 ALOGI("found sensor %s at path %s", iio_dev_data.name.c_str(), path_device.c_str()); in load_iio_devices()
292 err = get_sampling_frequency_available(iio_dev_data.sysfspath, in load_iio_devices()
293 &iio_dev_data.sampling_freq_avl); in load_iio_devices()
300 std::sort(iio_dev_data.sampling_freq_avl.begin(), iio_dev_data.sampling_freq_avl.end()); in load_iio_devices()
301 err = get_sensor_scale(iio_dev_data.sysfspath, &iio_dev_data.scale); in load_iio_devices()
306 err = get_sensor_range(iio_dev_data.sysfspath, &iio_dev_data.resolution, in load_iio_devices()
[all …]