Home
last modified time | relevance | path

Searched refs:dev_name (Results 1 – 14 of 14) sorted by relevance

/hardware/invensense/libsensors/
DSensorBase.cpp34 const char* dev_name, in SensorBase() argument
36 : dev_name(dev_name), data_name(data_name), in SensorBase()
54 if (dev_fd<0 && dev_name) { in open_device()
55 dev_fd = open(dev_name, O_RDONLY); in open_device()
56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
DSensorBase.h32 const char* dev_name;
51 const char* dev_name,
/hardware/invensense/libsensors_iio/
DSensorBase.cpp32 SensorBase::SensorBase(const char* dev_name, in SensorBase() argument
33 const char* data_name) : dev_name(dev_name), in SensorBase()
55 if (dev_fd<0 && dev_name) { in open_device()
56 dev_fd = open(dev_name, O_RDONLY); in open_device()
57 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
DSensorBase.h35 const char *dev_name;
51 SensorBase(const char* dev_name, const char* data_name);
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c73 char *dev_name = NULL; in mm_camera_util_get_dev_name() local
75 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; in mm_camera_util_get_dev_name()
76 return dev_name; in mm_camera_util_get_dev_name()
759 char dev_name[32]; in camera_query() local
760 snprintf(dev_name, sizeof(dev_name), "/dev/media%d", num_media_devices); in camera_query()
761 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK); in camera_query()
Dmm_camera.c202 char dev_name[MM_CAMERA_DEV_NAME_LEN]; in mm_camera_open() local
211 snprintf(dev_name, sizeof(dev_name), "/dev/%s", in mm_camera_open()
216 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open()
229 __func__, dev_name, strerror(errno)); in mm_camera_open()
251 __func__, dev_name, strerror(errno)); in mm_camera_open()
Dmm_camera_stream.c393 char dev_name[MM_CAMERA_DEV_NAME_LEN]; in mm_stream_fsm_inited() local
404 snprintf(dev_name, sizeof(dev_name), "/dev/%s", in mm_stream_fsm_inited()
407 my_obj->fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_stream_fsm_inited()
/hardware/qcom/display/liboverlay/
DoverlayUtils.h835 char dev_name[64] = {0}; in open() local
836 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open()
837 return fd.open(dev_name, flags); in open()
/hardware/qcom/camera/mm-camera-interface/
Dmm_camera_stream.c593 char dev_name[MM_CAMERA_DEV_NAME_LEN]; in mm_camera_stream_fsm_notused() local
597 snprintf(dev_name, sizeof(dev_name), "/dev/%s", mm_camera_util_get_dev_name(my_obj)); in mm_camera_stream_fsm_notused()
599 __func__, dev_name, *((mm_camera_stream_type_t *)val)); in mm_camera_stream_fsm_notused()
600 stream->fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_stream_fsm_notused()
Dmm_camera.c962 char dev_name[MM_CAMERA_DEV_NAME_LEN]; in mm_camera_open() local
980 snprintf(dev_name, sizeof(dev_name), "/dev/%s", mm_camera_util_get_dev_name(my_obj)); in mm_camera_open()
986 my_obj->ctrl_fd = open(dev_name,O_RDWR | O_NONBLOCK); in mm_camera_open()
1074 __func__, dev_name, my_obj->ctrl_fd, my_obj->op_mode, rc); in mm_camera_open()
Dmm_camera_interface2.c604 char dev_name[32]; in mm_camera_query() local
605 snprintf(dev_name, sizeof(dev_name), "/dev/media%d", num_media_devices); in mm_camera_query()
606 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_query()
Dmm_camera.h344 extern int mm_camera_dev_open(int *fd, char *dev_name);
/hardware/qcom/audio/libalsa-intf/
Dmsm8960_use_cases.h311 static int snd_ucm_extract_dev_name(char *buf, char **dev_name);
Dalsa_ucm.c3426 static int snd_ucm_extract_dev_name(char *buf, char **dev_name) in snd_ucm_extract_dev_name() argument
3429 char *p, *name = *dev_name; in snd_ucm_extract_dev_name()
3435 *dev_name = NULL; in snd_ucm_extract_dev_name()
3439 *dev_name = NULL; in snd_ucm_extract_dev_name()
3446 *dev_name = name; in snd_ucm_extract_dev_name()