Searched refs:IIO_DIR (Results 1 – 3 of 3) sorted by relevance
28 #define IIO_DIR "/sys/bus/iio/devices/" macro33 #define IIO_MAX_DEVICE_NAME_LENGTH (strlen(IIO_DIR) + IIO_MAX_NAME_LENGTH)
296 strcpy(path_device, IIO_DIR); in cros_ec_get_gesture_names()417 iio_dir = opendir(IIO_DIR); in cros_ec_get_sensors_names()427 strcpy(path_device, IIO_DIR); in cros_ec_get_sensors_names()
410 snprintf(fname, sizeof(fname), "%s%s/%s", IIO_DIR, path, attr); in cros_ec_sysfs_set_input_attr()