/hardware/invensense/60xx/libsensors_iio/ |
D | SensorBase.cpp | 31 SensorBase::SensorBase(const char* dev_name, in SensorBase() argument 32 const char* data_name) : dev_name(dev_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 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
|
D | SensorBase.h | 36 const char *dev_name; 48 SensorBase(const char* dev_name, const char* data_name);
|
/hardware/invensense/60xx/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/65xx/libsensors_iio/ |
D | SensorBase.cpp | 31 SensorBase::SensorBase(const char* dev_name, in SensorBase() argument 32 const char* data_name) : dev_name(dev_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 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
|
D | SensorBase.h | 69 const char *dev_name; 85 SensorBase(const char* dev_name, const char* data_name);
|
D | CompassSensor.IIO.9150.cpp | 75 dev_name = sensor_name; in CompassSensor() 77 LOGI("HAL:Secondary Chip Id: %s", dev_name); in CompassSensor() 367 inv_get_input_number(dev_name, &num); in inv_init_sysfs_attributes()
|
D | CompassSensor.IIO.primary.cpp | 57 if(!strcmp(dev_name, "USE_SYSFS")) { in CompassSensor() 70 if (fill_dev_full_name_by_prefix(dev_name, in CompassSensor() 73 "magnetometer will likely not work.", dev_name); in CompassSensor() 78 strncpy(dev_full_name, dev_name, in CompassSensor()
|
/hardware/akm/AK8975_FS/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; 54 const char* dev_name,
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 103 char *dev_name = NULL; in mm_camera_util_get_dev_name() local 106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name() 108 return dev_name; in mm_camera_util_get_dev_name() 1257 char dev_name[32]; in get_num_of_cameras() local 1259 snprintf(dev_name, sizeof(dev_name), "/dev/media%d", num_media_devices); in get_num_of_cameras() 1260 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK); in get_num_of_cameras()
|
D | mm_camera.c | 240 char dev_name[MM_CAMERA_DEV_NAME_LEN]; in mm_camera_open() local 248 snprintf(dev_name, sizeof(dev_name), "/dev/%s", in mm_camera_open() 250 sscanf(dev_name, "/dev/video%u", &cam_idx); in mm_camera_open() 251 CDBG_HIGH("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); in mm_camera_open() 255 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open() 268 __func__, dev_name, strerror(errno)); in mm_camera_open() 290 __func__, dev_name, strerror(errno)); in mm_camera_open()
|
D | mm_camera_stream.c | 398 char dev_name[MM_CAMERA_DEV_NAME_LEN]; in mm_stream_fsm_inited() local 410 snprintf(dev_name, sizeof(dev_name), "/dev/%s", in mm_stream_fsm_inited() 413 my_obj->fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_stream_fsm_inited()
|
/hardware/qcom/display/msm8x26/liboverlay/ |
D | overlayUtils.h | 794 char dev_name[64] = {0}; in open() local 795 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 796 return fd.open(dev_name, flags); in open()
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayUtils.h | 794 char dev_name[64] = {0}; in open() local 795 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 796 return fd.open(dev_name, flags); in open()
|
/hardware/qcom/display/msm8974/liboverlay/ |
D | overlayUtils.h | 772 char dev_name[64] = {0}; in open() local 773 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 774 return fd.open(dev_name, flags); in open()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | msm8960_use_cases.h | 313 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()
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
D | msm_audio.h | 286 char dev_name[64]; member
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
D | msm_audio.h | 309 char dev_name[64]; member
|
/hardware/qcom/msm8x74/kernel-headers/linux/ |
D | msm_audio.h | 325 char dev_name[64]; member
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/ |
D | msm_audio.h | 358 char dev_name[64]; member
|