/hardware/qcom/audio/hal/audio_extn/ |
D | hwdep_cal.c | 69 char dev_name[256]; in hw_util_open() local 71 snprintf(dev_name, sizeof(dev_name), "/dev/snd/hwC%uD%u", in hw_util_open() 73 ALOGD("%s: Opening device %s\n", __func__, dev_name); in hw_util_open() 74 fd = open(dev_name, O_WRONLY); in hw_util_open() 76 ALOGE("%s: cannot open device '%s'\n", __func__, dev_name); in hw_util_open()
|
/hardware/akm/AK8975_FS/libsensors/ |
D | SensorBase.cpp | 35 const char* dev_name, in SensorBase() argument 37 : dev_name(dev_name), data_name(data_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 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/invensense/65xx/libsensors_iio/ |
D | SensorBase.cpp | 46 SensorBase::SensorBase(const char* dev_name, in SensorBase() argument 48 : dev_name(dev_name), in SensorBase() 104 if (dev_fd<0 && dev_name) { in open_device() 105 dev_fd = open(dev_name, O_RDONLY); in open_device() 106 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
|
D | SensorBase.h | 70 const char *dev_name; 86 SensorBase(const char* dev_name, const char* data_name);
|
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()
|
D | CompassSensor.IIO.9150.cpp | 76 dev_name = sensor_name; in CompassSensor() 78 LOGI_IF(PROCESS_VERBOSE, "HAL:Secondary Chip Id: %s", dev_name); in CompassSensor() 379 inv_get_input_number(dev_name, &num); in inv_init_sysfs_attributes()
|
/hardware/invensense/6515/libsensors_iio/ |
D | SensorBase.cpp | 48 SensorBase::SensorBase(const char* dev_name, in SensorBase() argument 50 : dev_name(dev_name), in SensorBase() 110 if (dev_fd<0 && dev_name) { in open_device() 111 dev_fd = open(dev_name, O_RDONLY); in open_device() 112 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device()
|
D | SensorBase.h | 71 const char *dev_name; 87 SensorBase(const char* dev_name, const char* data_name);
|
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()
|
D | CompassSensor.IIO.9150.cpp | 76 dev_name = sensor_name; in CompassSensor() 78 LOGI_IF(PROCESS_VERBOSE, "HAL:Secondary Chip Id: %s", dev_name); in CompassSensor() 408 inv_get_input_number(dev_name, &num); in inv_init_sysfs_attributes()
|
/hardware/intel/common/libva/va/android/ |
D | va_android.cpp | 46 static int open_device (char *dev_name) in open_device() argument 51 if (-1 == stat (dev_name, &st)) in open_device() 54 dev_name, errno, strerror (errno)); in open_device() 60 printf ("%s is no device\n", dev_name); in open_device() 64 fd = open (dev_name, O_RDWR); in open_device() 69 dev_name, errno, strerror (errno)); in open_device()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 111 char *dev_name = NULL; in mm_camera_util_get_dev_name() local 114 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; in mm_camera_util_get_dev_name() 116 return dev_name; in mm_camera_util_get_dev_name() 1498 char dev_name[32]; in get_sensor_info() local 1499 snprintf(dev_name, sizeof(dev_name), "/dev/media%d", num_media_devices); in get_sensor_info() 1500 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK); in get_sensor_info() 1728 char dev_name[32]; in get_num_of_cameras() local 1730 snprintf(dev_name, sizeof(dev_name), "/dev/media%d", num_media_devices); in get_num_of_cameras() 1731 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK); in get_num_of_cameras() 1767 snprintf(subdev_name, sizeof(dev_name), "/dev/%s", entity.name); in get_num_of_cameras() [all …]
|
D | mm_camera.c | 256 char dev_name[MM_CAMERA_DEV_NAME_LEN]; in mm_camera_open() local 273 snprintf(dev_name, sizeof(dev_name), "/dev/%s", in mm_camera_open() 275 sscanf(dev_name, "/dev/video%d", &cam_idx); in mm_camera_open() 276 LOGD("dev name = %s, cam_idx = %d", dev_name, cam_idx); in mm_camera_open() 281 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); in mm_camera_open() 295 dev_name, strerror(l_errno)); in mm_camera_open() 321 dev_name, strerror(l_errno)); in mm_camera_open()
|
/hardware/qcom/camera/usbcamcore/inc/ |
D | QCameraUsbPriv.h | 101 camHal->fd = open(camHal->dev_name, O_RDWR | O_NONBLOCK, 0);\ 155 char dev_name[FILENAME_LENGTH]; member
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
D | inv_gesture_test.c | 257 char dev_name[8]; in is_android_hub() local 261 fgets(dev_name, 8, fp); in is_android_hub() 264 if (!strncmp(dev_name, IIO_HUB_NAME, sizeof(IIO_HUB_NAME))) { in is_android_hub()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayUtils.h | 631 char dev_name[64] = {0}; in open() local 632 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 633 return fd.open(dev_name, flags); in open()
|
/hardware/qcom/display/msm8909/liboverlay/ |
D | overlayUtils.h | 621 char dev_name[64] = {0}; in open() local 622 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 623 return fd.open(dev_name, flags); in open()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayUtils.h | 628 char dev_name[64] = {0}; in open() local 629 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 630 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/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 136 char dev_name[8]; in android_hub() local 140 fgets(dev_name, 8, fp); in android_hub() 143 if (!strncmp(dev_name, IIO_HUB_NAME, sizeof(IIO_HUB_NAME))) in android_hub()
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayUtils.h | 792 char dev_name[64] = {0}; in open() local 793 snprintf(dev_name, sizeof(dev_name), dev, fbnum); in open() 794 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);
|
/hardware/qcom/camera/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 181 char *dev_name; in usbcam_camera_device_open() local 203 dev_name = camHal->dev_name; in usbcam_camera_device_open() 205 rc = get_uvc_device(dev_name); in usbcam_camera_device_open() 206 if(rc || *dev_name == '\0'){ in usbcam_camera_device_open() 211 camHal->fd = open(dev_name, O_RDWR /* required */ | O_NONBLOCK, 0); in usbcam_camera_device_open() 214 ALOGE("%s: Cannot open '%s'", __func__, dev_name); in usbcam_camera_device_open()
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
D | msm_audio.h | 309 char dev_name[64]; member
|