Searched refs:iio_dir (Results 1 – 2 of 2) sorted by relevance
416 DIR *iio_dir; in cros_ec_get_sensors_names() local417 iio_dir = opendir(IIO_DIR); in cros_ec_get_sensors_names()418 if (iio_dir == NULL) { in cros_ec_get_sensors_names()422 while (ent_device = readdir(iio_dir), ent_device != NULL) { in cros_ec_get_sensors_names()465 closedir(iio_dir); in cros_ec_get_sensors_names()536 closedir(iio_dir); in cros_ec_get_sensors_names()
53 static const char iio_dir[] = "/sys/bus/iio/devices/"; variable123 dp = opendir(iio_dir); in find_type_by_name()138 size = sizeof(iio_dir) - 1 + typeLen + numstrlen + 6; in find_type_by_name()146 iio_dir, type, number); in find_type_by_name()