Searched refs:devname (Results 1 – 7 of 7) sorted by relevance
/hardware/invensense/libsensors_iio/ |
D | SensorBase.cpp | 101 char devname[PATH_MAX]; in openInput() local 108 strcpy(devname, dirname); in openInput() 109 filename = devname + strlen(devname); in openInput() 117 fd = open(devname, O_RDONLY); in openInput() 118 LOGV_IF(EXTRA_VERBOSE, "path open %s", devname); in openInput() 119 LOGI("path open %s", devname); in openInput()
|
/hardware/invensense/libsensors/ |
D | SensorBase.cpp | 94 char devname[PATH_MAX]; in openInput() local 101 strcpy(devname, dirname); in openInput() 102 filename = devname + strlen(devname); in openInput() 110 fd = open(devname, O_RDONLY); in openInput()
|
/hardware/samsung_slsi/exynos5/libv4l2/ |
D | exynos_subdev.c | 70 int exynos_subdev_open_devname(const char *devname, int oflag, ...) in exynos_subdev_open_devname() argument 109 if (strncmp(name, devname, strlen(devname)) == 0) { in exynos_subdev_open_devname() 110 ALOGI("node found for device %s: /dev/v4l-subdev%d", devname, minor); in exynos_subdev_open_devname()
|
D | exynos_mc.c | 168 char devname[32]; in __media_get_devname_sysfs() local 186 sprintf(devname, "/tmp/%s", p + 1); in __media_get_devname_sysfs() 188 ret = mknod(devname, 0666 | S_IFCHR, MKDEV(81, entity->info.v4l.minor)); in __media_get_devname_sysfs() 189 strcpy(entity->devname, devname); in __media_get_devname_sysfs() 576 strncpy(entity->devname, p, sizeof(entity->devname)); in __media_get_devname_udev() 577 entity->devname[sizeof(entity->devname) - 1] = '\0'; in __media_get_devname_udev()
|
D | exynos_v4l2.c | 107 int exynos_v4l2_open_devname(const char *devname, int oflag, ...) in exynos_v4l2_open_devname() argument 148 if (strncmp(name, devname, strlen(devname)) == 0) { in exynos_v4l2_open_devname() 149 ALOGI("node found for device %s: /dev/video%d", devname, minor); in exynos_v4l2_open_devname()
|
/hardware/samsung_slsi/exynos5/include/ |
D | exynos_v4l2.h | 50 int exynos_v4l2_open_devname(const char *devname, int oflag, ...); 104 int exynos_subdev_open_devname(const char *devname, int oflag, ...); 159 char devname[32]; member
|
/hardware/samsung_slsi/exynos5/libgscaler/ |
D | exynos_gscaler.c | 314 char devname[32]; in m_exynos_gsc_output_create() local 341 sprintf(devname, PFX_FIMD_ENTITY, dev_num); in m_exynos_gsc_output_create() 343 sprintf(devname, PFX_MXR_ENTITY, 0); in m_exynos_gsc_output_create() 345 sink_sd_entity = exynos_media_get_entity_by_name(media0, devname, strlen(devname)); in m_exynos_gsc_output_create() 346 sink_sd_entity->fd = exynos_subdev_open_devname(devname, O_RDWR); in m_exynos_gsc_output_create() 353 sprintf(devname, PFX_GSC_VIDEODEV_ENTITY, dev_num); in m_exynos_gsc_output_create() 354 gsc_vd_entity= exynos_media_get_entity_by_name(media0, devname, strlen(devname)); in m_exynos_gsc_output_create() 356 sprintf(devname, PFX_GSC_SUBDEV_ENTITY, dev_num); in m_exynos_gsc_output_create() 357 gsc_sd_entity= exynos_media_get_entity_by_name(media0, devname, strlen(devname)); in m_exynos_gsc_output_create() 360 sprintf(devname, PFX_GSC_SUBDEV_ENTITY, dev_num); in m_exynos_gsc_output_create() [all …]
|