/hardware/invensense/libsensors/ |
D | SensorBase.cpp | 34 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()
|
D | SensorBase.h | 32 const char* dev_name; 51 const char* dev_name,
|
/hardware/invensense/libsensors_iio/ |
D | SensorBase.cpp | 32 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()
|
D | SensorBase.h | 35 const char *dev_name; 51 SensorBase(const char* dev_name, const char* data_name);
|
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 73 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()
|
D | mm_camera.c | 202 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()
|
D | mm_camera_stream.c | 393 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/ |
D | overlayUtils.h | 835 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/ |
D | mm_camera_stream.c | 593 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()
|
D | mm_camera.c | 962 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()
|
D | mm_camera_interface2.c | 604 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()
|
D | mm_camera.h | 344 extern int mm_camera_dev_open(int *fd, char *dev_name);
|
/hardware/qcom/audio/libalsa-intf/ |
D | msm8960_use_cases.h | 311 static int snd_ucm_extract_dev_name(char *buf, char **dev_name);
|
D | alsa_ucm.c | 3426 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()
|