Searched refs:dev_fd (Results 1 – 13 of 13) sorted by relevance
/hardware/invensense/60xx/libsensors_iio/ |
D | SensorBase.cpp | 34 dev_fd(-1), in SensorBase() 47 if (dev_fd >= 0) { in ~SensorBase() 48 close(dev_fd); 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() 63 if (dev_fd >= 0) { in close_device() 64 close(dev_fd); in close_device() 65 dev_fd = -1; in close_device() 73 return dev_fd; in getFd()
|
D | SensorBase.h | 39 int dev_fd; variable
|
/hardware/invensense/60xx/libsensors/ |
D | SensorBase.cpp | 37 dev_fd(-1), data_fd(-1) in SensorBase() 48 if (dev_fd >= 0) { in ~SensorBase() 49 close(dev_fd); 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() 62 if (dev_fd >= 0) { in close_device() 63 close(dev_fd); in close_device() 64 dev_fd = -1; in close_device() 71 return dev_fd; in getFd()
|
D | SensorBase.h | 35 int dev_fd; variable
|
/hardware/akm/AK8975_FS/libsensors/ |
D | SensorBase.cpp | 37 dev_fd(-1), data_fd(-1) in SensorBase() 48 if (dev_fd >= 0) { in ~SensorBase() 49 close(dev_fd); 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() 62 if (dev_fd >= 0) { in close_device() 63 close(dev_fd); in close_device() 64 dev_fd = -1; in close_device() 91 return dev_fd; in getFd()
|
D | KionixSensor.cpp | 94 err = ioctl(dev_fd, KIONIX_IOCTL_ENABLE_OUTPUT); in setEnable() 99 err = ioctl(dev_fd, KIONIX_IOCTL_DISABLE_OUTPUT); in setEnable() 137 if (ioctl(dev_fd, KIONIX_IOCTL_UPDATE_ODR, &ms)) { in setDelay()
|
D | SensorBase.h | 35 int dev_fd; variable
|
/hardware/invensense/65xx/libsensors_iio/ |
D | SensorBase.cpp | 49 dev_fd(-1), in SensorBase() 96 if (dev_fd >= 0) { in ~SensorBase() 97 close(dev_fd); in ~SensorBase() 103 if (dev_fd<0 && dev_name) { in open_device() 104 dev_fd = open(dev_name, O_RDONLY); in open_device() 105 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device() 112 if (dev_fd >= 0) { in close_device() 113 close(dev_fd); in close_device() 114 dev_fd = -1; in close_device() 122 return dev_fd; in getFd()
|
D | SensorBase.h | 73 int dev_fd; variable
|
/hardware/invensense/6515/libsensors_iio/ |
D | SensorBase.cpp | 50 dev_fd(-1), in SensorBase() 101 if (dev_fd >= 0) { in ~SensorBase() 102 close(dev_fd); in ~SensorBase() 108 if (dev_fd<0 && dev_name) { in open_device() 109 dev_fd = open(dev_name, O_RDONLY); in open_device() 110 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); in open_device() 117 if (dev_fd >= 0) { in close_device() 118 close(dev_fd); in close_device() 119 dev_fd = -1; in close_device() 127 return dev_fd; in getFd()
|
D | SensorBase.h | 74 int dev_fd; variable
|
/hardware/samsung_slsi/exynos5/include/ |
D | s5p_fimc_v4l2.h | 152 int dev_fd; member
|
D | sec_g2d.h | 231 int dev_fd; member
|