Lines Matching refs:tempFd
144 int tempFd = 0;
204 tempFd = open(compassSysFs.compass_x_fifo_enable, O_RDWR);
206 if (tempFd > 0) {
207 res = enable_sysfs_sensor(tempFd, 1);
215 tempFd = open(compassSysFs.compass_y_fifo_enable, O_RDWR);
217 if (tempFd > 0) {
218 res = enable_sysfs_sensor(tempFd, 1);
226 tempFd = open(compassSysFs.compass_z_fifo_enable, O_RDWR);
228 if (tempFd > 0) {
229 res = enable_sysfs_sensor(tempFd, 1);
271 int tempFd;
302 int tempFd;
310 tempFd = open(compassSysFs.compass_rate, O_RDWR);
311 res = write_attribute_sensor(tempFd, 1000000000.f / ns);