Home
last modified time | relevance | path

Searched refs:buffer_access (Results 1 – 3 of 3) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c63 static int read_data(char *buffer_access) in read_data() argument
83 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); in read_data()
85 printf("Failed to open %s\n", buffer_access); in read_data()
221 char *buffer_access; in main() local
273 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num); in main()
279 read_data(buffer_access); in main()
280 free(buffer_access); in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c577 char *buffer_access; in main() local
884 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num); in main()
889 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); in main()
891 printf("Failed to open %s\n", buffer_access); in main()
925 free(buffer_access); in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c710 char *buffer_access; in read_data() local
738 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num); in read_data()
742 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); in read_data()
744 printf("Failed to open %s\n", buffer_access); in read_data()
885 free(buffer_access); in read_data()