Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.1/
Diio_utils.cpp263 int load_iio_devices(std::string iio_dir, std::vector<iio_device_data>* iio_data, in load_iio_devices() argument
269 if (!iio_dir.empty() && iio_dir.back() != '/') iio_dir += '/'; in load_iio_devices()
273 err = sysfs_opendir(iio_dir, &dp); in load_iio_devices()
278 std::string path_device = iio_dir; in load_iio_devices()
282 iio_dev_data.sysfspath.append(path_device, 0, iio_dir.size() + strlen(ent->d_name)); in load_iio_devices()
Diio_utils.h71 int load_iio_devices(std::string iio_dir, std::vector<iio_device_data>* iio_data,