Home
last modified time | relevance | path

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

/hardware/invensense/60xx/libsensors_iio/
DSensorBase.cpp31 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()
DSensorBase.h36 const char *dev_name;
48 SensorBase(const char* dev_name, const char* data_name);
/hardware/invensense/60xx/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/65xx/libsensors_iio/
DSensorBase.cpp31 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()
DSensorBase.h69 const char *dev_name;
85 SensorBase(const char* dev_name, const char* data_name);
DCompassSensor.IIO.9150.cpp75 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()
DCompassSensor.IIO.primary.cpp57 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/
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;
54 const char* dev_name,
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c103 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()
Dmm_camera.c240 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()
Dmm_camera_stream.c398 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/
DoverlayUtils.h794 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/
DoverlayUtils.h794 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/
DoverlayUtils.h772 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/
Dmsm8960_use_cases.h313 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()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_audio.h286 char dev_name[64]; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_audio.h309 char dev_name[64]; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_audio.h325 char dev_name[64]; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_audio.h358 char dev_name[64]; member