Home
last modified time | relevance | path

Searched refs:dev_num (Results 1 – 10 of 10) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
DMPLSupport.cpp231 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/devnode_parser/
Dread_device_node.c220 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/6515/libsensors_iio/
DMPLSupport.cpp231 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/samsung_slsi/exynos5/libgscaler/
Dexynos_gscaler.c305 int dev_num, in m_exynos_gsc_output_create() argument
328 (dev_num > 2)) in m_exynos_gsc_output_create()
341 sprintf(devname, PFX_FIMD_ENTITY, dev_num); in m_exynos_gsc_output_create()
353 sprintf(devname, PFX_GSC_VIDEODEV_ENTITY, dev_num); in m_exynos_gsc_output_create()
356 sprintf(devname, PFX_GSC_SUBDEV_ENTITY, dev_num); in m_exynos_gsc_output_create()
360 sprintf(devname, PFX_GSC_SUBDEV_ENTITY, dev_num); in m_exynos_gsc_output_create()
393 sprintf(devname, PFX_GSC_VIDEODEV_ENTITY, dev_num); in m_exynos_gsc_output_create()
802 void *exynos_gsc_reserve(int dev_num) in exynos_gsc_reserve() argument
808 if ((dev_num < 0) || (dev_num >= NUM_OF_GSC_HW)) { in exynos_gsc_reserve()
809 ALOGE("%s::fail:: dev_num is not valid(%d) ", __func__, dev_num); in exynos_gsc_reserve()
[all …]
/hardware/samsung_slsi/exynos5/include/
Dexynos_gscaler.h115 int dev_num,
344 (int dev_num);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c576 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/60xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c216 int dev_num; in init_iio() local
222 dev_num = find_type_by_name(iio_chip, "iio:device"); in init_iio()
223 if(dev_num >= 0) { in init_iio()
225 iio_dev_num = dev_num; in init_iio()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c41 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/
Dml_sysfs_helper.c227 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/
Dml_sysfs_helper.c234 int dev_num; in init_iio() local
240 dev_num = find_type_by_name(iio_chip, "iio:device"); in init_iio()
241 if(dev_num >= 0) { in init_iio()
243 iio_dev_num = dev_num; in init_iio()