Home
last modified time | relevance | path

Searched refs:tempFp (Results 1 – 4 of 4) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.primary.cpp146 FILE *tempFp = NULL; in enable_iio_sysfs() local
155 tempFp = fopen(compassSysFs.buffer_length, "w"); in enable_iio_sysfs()
156 if (tempFp == NULL) { in enable_iio_sysfs()
159 if (fprintf(tempFp, "%d", IIO_BUFFER_LENGTH) < 0 || fclose(tempFp) < 0) { in enable_iio_sysfs()
DMPLSensor.cpp685 FILE *tempFp = NULL; in enable_iio_sysfs() local
692 tempFp = fopen(mpu.in_timestamp_en, "w"); in enable_iio_sysfs()
693 if (tempFp == NULL) { in enable_iio_sysfs()
696 if(fprintf(tempFp, "%d", 1) < 0 || fclose(tempFp) < 0) { in enable_iio_sysfs()
703 tempFp = fopen(mpu.buffer_length, "w"); in enable_iio_sysfs()
704 if (tempFp == NULL) { in enable_iio_sysfs()
707 if (fprintf(tempFp, "%d", IIO_BUFFER_LENGTH) < 0 || fclose(tempFp) < 0) { in enable_iio_sysfs()
714 tempFp = fopen(mpu.chip_enable, "w"); in enable_iio_sysfs()
715 if (tempFp == NULL) { in enable_iio_sysfs()
718 if (fprintf(tempFp, "%d", 1) < 0 || fclose(tempFp) < 0) { in enable_iio_sysfs()
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.IIO.primary.cpp146 FILE *tempFp = NULL; in enable_iio_sysfs() local
155 tempFp = fopen(compassSysFs.buffer_length, "w"); in enable_iio_sysfs()
156 if (tempFp == NULL) { in enable_iio_sysfs()
159 if (fprintf(tempFp, "%d", IIO_BUFFER_LENGTH) < 0 || fclose(tempFp) < 0) { in enable_iio_sysfs()
DMPLSensor.cpp618 FILE *tempFp = NULL; in enable_iio_sysfs() local
625 tempFp = fopen(mpu.in_timestamp_en, "w"); in enable_iio_sysfs()
626 if (tempFp == NULL) { in enable_iio_sysfs()
629 if(fprintf(tempFp, "%d", 1) < 0) { in enable_iio_sysfs()
632 if(fclose(tempFp) < 0) { in enable_iio_sysfs()
639 tempFp = fopen(mpu.buffer_length, "w"); in enable_iio_sysfs()
640 if (tempFp == NULL) { in enable_iio_sysfs()
643 if (fprintf(tempFp, "%d", IIO_BUFFER_LENGTH) < 0) { in enable_iio_sysfs()
646 if (fclose(tempFp) < 0) { in enable_iio_sysfs()
653 tempFp = fopen(mpu.chip_enable, "w"); in enable_iio_sysfs()
[all …]