Searched refs:compass_fd (Results 1 – 8 of 8) sorted by relevance
/hardware/invensense/65xx/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 166 compass_fd = open(iio_device_node, O_RDONLY); in enable_iio_sysfs() 168 if (compass_fd < 0) { in enable_iio_sysfs() 174 "HAL:iio %s, compass_fd opened : %d", compass, compass_fd); in enable_iio_sysfs() 218 if( compass_fd > 0) in ~CompassSensor() 219 close(compass_fd); in ~CompassSensor() 229 LOGI_IF(0, "HAL:compass_fd=%d", compass_fd); in getFd() 230 return compass_fd; in getFd() 369 size_t rsize = read(compass_fd, rdata, (8 * mEnable + 8) * 1); in readSample() 372 rsize = read(compass_fd, rdata, (8 + 8) * IIO_BUFFER_LENGTH); in readSample()
|
D | CompassSensor.IIO.9150.cpp | 64 compass_fd(-1), in CompassSensor() 122 if( compass_fd > 0) in ~CompassSensor() 123 close(compass_fd); in ~CompassSensor() 129 return compass_fd; in getFd() 252 ssize_t n = mCompassInputReader.fill(compass_fd); in readSample()
|
D | CompassSensor.IIO.9150.h | 87 int compass_fd; variable
|
D | CompassSensor.IIO.primary.h | 96 int compass_fd; variable
|
/hardware/invensense/6515/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 166 compass_fd = open(iio_device_node, O_RDONLY); in enable_iio_sysfs() 168 if (compass_fd < 0) { in enable_iio_sysfs() 174 "HAL:iio %s, compass_fd opened : %d", compass, compass_fd); in enable_iio_sysfs() 218 if( compass_fd > 0) in ~CompassSensor() 219 close(compass_fd); in ~CompassSensor() 229 LOGI_IF(0, "HAL:compass_fd=%d", compass_fd); in getFd() 230 return compass_fd; in getFd() 369 size_t rsize = read(compass_fd, rdata, (8 * mEnable + 8) * 1); in readSample() 372 rsize = read(compass_fd, rdata, (8 + 8) * IIO_BUFFER_LENGTH); in readSample()
|
D | CompassSensor.IIO.9150.cpp | 64 compass_fd(-1), in CompassSensor() 122 if( compass_fd > 0) in ~CompassSensor() 123 close(compass_fd); in ~CompassSensor() 129 return compass_fd; in getFd() 254 ssize_t n = mCompassInputReader.fill(compass_fd); in readSample()
|
D | CompassSensor.IIO.9150.h | 87 int compass_fd; variable
|
D | CompassSensor.IIO.primary.h | 96 int compass_fd; variable
|