HomeSort by relevance Sort by last modified time
    Searched refs:IIO_DIR (Results 1 - 3 of 3) sorted by null

  /device/google/dragon/sensor_hub/
cros_ec_sensors.h 28 #define IIO_DIR "/sys/bus/iio/devices/"
37 #define IIO_MAX_DEVICE_NAME_LENGTH (sizeof(IIO_DIR) - 1 + IIO_MAX_NAME_LENGTH)
111 * To write sysfs parameters: IIO_DIR is appended before path.
117 * To read sysfs parameters: IIO_DIR is NOT appended.
sensors.cpp 296 strcpy(path_device, IIO_DIR);
418 DIR *iio_dir; local
419 iio_dir = opendir(IIO_DIR);
420 if (iio_dir == NULL) {
424 while (ent_device = readdir(iio_dir), ent_device != NULL) {
429 strcpy(path_device, IIO_DIR);
467 closedir(iio_dir);
538 closedir(iio_dir);
cros_ec_sensors.cpp 410 snprintf(fname, sizeof(fname), "%s%s/%s", IIO_DIR, path, attr);

Completed in 1080 milliseconds