Searched refs:fixed_sysfs_path (Results 1 – 2 of 2) sorted by relevance
/device/htc/flounder/sensor_hub/libsensors/ |
D | CwMcuSensor.cpp | 190 strcpy(&fixed_sysfs_path[fixed_sysfs_path_len], "batch_enable"); in sync_time_thread_in_class() 192 fd = open(fixed_sysfs_path, O_RDWR); in sync_time_thread_in_class() 437 strcpy(fixed_sysfs_path,"/sys/class/htc_sensorhub/sensor_hub/"); in CwMcuSensor() 438 fixed_sysfs_path_len = strlen(fixed_sysfs_path); in CwMcuSensor() 440 snprintf(mDevPath, sizeof(mDevPath), "%s%s", fixed_sysfs_path, "iio"); in CwMcuSensor() 486 strcpy(&fixed_sysfs_path[fixed_sysfs_path_len], "calibrator_en"); in CwMcuSensor() 487 fd = open(fixed_sysfs_path, O_RDWR); in CwMcuSensor() 498 ALOGE("%s open %s failed: %s", __func__, fixed_sysfs_path, strerror(errno)); in CwMcuSensor() 505 ALOGV("%s: ctrl sysfs_path = %s", __func__, fixed_sysfs_path); in CwMcuSensor() 523 strcpy(&fixed_sysfs_path[fixed_sysfs_path_len], "calibrator_data_mag"); in CwMcuSensor() [all …]
|
D | CwMcuSensor.h | 94 char fixed_sysfs_path[PATH_MAX]; variable
|