Searched refs:dev_num (Results 1 – 7 of 7) sorted by relevance
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | read_device_node.c | 220 int dev_num; in main() local 264 dev_num = find_type_by_name(device_name, "iio:device"); in main() 265 if (dev_num < 0) { in main() 270 printf("INFO: iio device number=%d\n", dev_num); in main() 273 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num); in main()
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSupport.cpp | 231 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local 232 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix() 242 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local 243 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix() 253 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local 254 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix()
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSupport.cpp | 231 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local 232 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix() 242 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local 243 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix() 253 int dev_num = find_type_by_name(cand_name, "iio:device"); in fill_dev_full_name_by_prefix() local 254 if (dev_num != -ENODEV) { in fill_dev_full_name_by_prefix()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
D | mpu_iio.c | 576 int dev_num, trig_num; in main() local 710 dev_num = find_type_by_name(device_name, "iio:device"); in main() 711 if (dev_num < 0) { in main() 716 printf("INFO: iio device number=%d\n", dev_num); in main() 717 asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num); in main() 724 ret = asprintf(&trigger_name, "%s-dev%d", device_name, dev_num); in main() 785 ret = asprintf(&buf_dir_name, "%siio:device%d/buffer", iio_dir, dev_num); in main() 884 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num); in main()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | stress_iio.c | 41 static int dev_num; variable 738 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num); in read_data() 980 dev_num = find_type_by_name(device_name, "iio:device"); in main() 981 if (dev_num < 0) { in main() 986 printf("iio device number being used is %d\n", dev_num); in main() 987 asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num); in main() 996 "%s-dev%d", device_name, dev_num); in main() 1010 ret = asprintf(&buf_dir_name, "%siio:device%d/buffer", iio_dir, dev_num); in main()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 227 int dev_num; in init_iio() local 233 dev_num = find_type_by_name(iio_chip, "iio:device"); in init_iio() 234 if(dev_num >= 0) { in init_iio() 236 iio_dev_num = dev_num; in init_iio()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 235 int dev_num; in init_iio() local 241 dev_num = find_type_by_name(iio_chip, "iio:device"); in init_iio() 242 if(dev_num >= 0) { in init_iio() 244 iio_dev_num = dev_num; in init_iio()
|