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/"
33 #define IIO_MAX_DEVICE_NAME_LENGTH (strlen(IIO_DIR) + IIO_MAX_NAME_LENGTH)
107 * To write sysfs parameters: IIO_DIR is appended before path.
113 * To read sysfs parameters: IIO_DIR is NOT appended.
sensors.cpp 296 strcpy(path_device, IIO_DIR);
416 DIR *iio_dir; local
417 iio_dir = opendir(IIO_DIR);
418 if (iio_dir == NULL) {
422 while (ent_device = readdir(iio_dir), ent_device != NULL) {
427 strcpy(path_device, IIO_DIR);
465 closedir(iio_dir);
536 closedir(iio_dir);
cros_ec_sensors.cpp 410 snprintf(fname, sizeof(fname), "%s%s/%s", IIO_DIR, path, attr);

Completed in 2984 milliseconds