Home
last modified time | relevance | path

Searched refs:data_fd (Results 1 – 9 of 9) sorted by relevance

/hardware/akm/AK8975_FS/libsensors/
DSensorBase.cpp38 dev_fd(-1), data_fd(-1) in SensorBase()
41 data_fd = openInput(data_name); in SensorBase()
46 if (data_fd >= 0) { in ~SensorBase()
47 close(data_fd); in ~SensorBase()
94 return data_fd; in getFd()
DAdxlSensor.cpp48 if (data_fd >= 0) { in AdxlSensor()
70 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { in setInitialState()
73 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { in setInitialState()
76 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { in setInitialState()
191 ssize_t n = mInputReader.fill(data_fd); in readEvents()
DKionixSensor.cpp65 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { in setInitialState()
68 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { in setInitialState()
71 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { in setInitialState()
168 ssize_t n = mInputReader.fill(data_fd); in readEvents()
DSensorBase.h36 int data_fd; variable
DAkmSensor.cpp61 if (data_fd) { in AkmSensor()
200 ssize_t n = mInputReader.fill(data_fd); in readEvents()
/hardware/invensense/65xx/libsensors_iio/
DSensorBase.cpp51 data_fd(-1) in SensorBase()
54 data_fd = openInput(data_name); in SensorBase()
94 if (data_fd >= 0) { in ~SensorBase()
95 close(data_fd); in ~SensorBase()
125 return data_fd; in getFd()
DSensorBase.h74 int data_fd; variable
/hardware/invensense/6515/libsensors_iio/
DSensorBase.cpp53 data_fd(-1) in SensorBase()
56 data_fd = openInput(data_name); in SensorBase()
100 if (data_fd >= 0) { in ~SensorBase()
101 close(data_fd); in ~SensorBase()
131 return data_fd; in getFd()
DSensorBase.h75 int data_fd; variable