Home
last modified time | relevance | path

Searched refs:tempFd (Results 1 – 8 of 8) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.9150.cpp152 int tempFd; in setDelay() local
160 tempFd = open(compassSysFs.compass_rate, O_RDWR); in setDelay()
161 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
170 int i, res = 0, tempFd; in turnOffCompassFifo() local
179 int i, res = 0, tempFd; in turnOnCompassFifo() local
DCompassSensor.IIO.primary.cpp144 int tempFd = 0; in enable_iio_sysfs() local
247 int tempFd; in enable() local
287 int tempFd; in setDelay() local
293 tempFd = open(compassSysFs.compass_rate, O_RDWR); in setDelay()
296 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
DMPLSensor.cpp3262 int tempFd = -1; in update_delay() local
3278 tempFd = open(mpu.gyro_fifo_rate, O_RDWR); in update_delay()
3279 res = write_attribute_sensor(tempFd, 1000000000.f / tempWanted); in update_delay()
3348 tempFd = open(mpu.gyro_rate, O_RDWR); in update_delay()
3349 res = write_attribute_sensor(tempFd, 1000000000.f / gyroRate); in update_delay()
3360 tempFd = open(mpu.accel_rate, O_RDWR); in update_delay()
3361 res = write_attribute_sensor(tempFd, in update_delay()
3369 tempFd = open(mpu.accel_rate, O_RDWR); in update_delay()
3370 res = write_attribute_sensor(tempFd, 1000000000.f / accelRate); in update_delay()
3431 tempFd = open(mpu.gyro_rate, O_RDWR); in update_delay()
[all …]
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.IIO.9150.cpp154 int tempFd; in setDelay() local
162 tempFd = open(compassSysFs.compass_rate, O_RDWR); in setDelay()
163 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
172 int i, res = 0, tempFd; in turnOffCompassFifo() local
181 int i, res = 0, tempFd; in turnOnCompassFifo() local
DCompassSensor.IIO.primary.cpp144 int tempFd = 0; in enable_iio_sysfs() local
247 int tempFd; in enable() local
287 int tempFd; in setDelay() local
293 tempFd = open(compassSysFs.compass_rate, O_RDWR); in setDelay()
296 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
DMPLSensor.cpp3333 int tempFd = -1; local
3349 tempFd = open(mpu.gyro_fifo_rate, O_RDWR);
3350 res = write_attribute_sensor(tempFd, 1000000000.f / tempWanted);
3414 tempFd = open(mpu.gyro_rate, O_RDWR);
3415 res = write_attribute_sensor(tempFd, 1000000000.f / gyroRate);
3426 tempFd = open(mpu.accel_rate, O_RDWR);
3427 res = write_attribute_sensor(tempFd,
3435 tempFd = open(mpu.accel_rate, O_RDWR);
3436 res = write_attribute_sensor(tempFd, 1000000000.f / accelRate);
3477 tempFd = open(mpu.gyro_rate, O_RDWR);
[all …]
/hardware/invensense/60xx/libsensors_iio/
DCompassSensor.IIO.9150.cpp161 int tempFd; in setDelay() local
169 tempFd = open(compassSysFs.compass_rate, O_RDWR); in setDelay()
170 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
DMPLSensor.cpp1615 int tempFd = -1; in update_delay() local
1641 tempFd = open(mpu.gyro_fifo_rate, O_RDWR); in update_delay()
1642 res = write_attribute_sensor(tempFd, 1000000000.f / tempRate); in update_delay()
1652 tempFd = open(mpu.accel_fifo_rate, O_RDWR); in update_delay()
1653 res = write_attribute_sensor(tempFd, wanted_3rd_party_sensor / 1000000L); in update_delay()
1677 tempFd = open(mpu.gyro_fifo_rate, O_RDWR); in update_delay()
1678 res = write_attribute_sensor(tempFd, 1000000000.f / wanted); in update_delay()
1700 tempFd = open(mpu.accel_fifo_rate, O_RDWR); in update_delay()
1703 res = write_attribute_sensor(tempFd, wanted / 1000000L); in update_delay()
1707 res = write_attribute_sensor(tempFd, 1000000000.f/wanted); in update_delay()
[all …]