/hardware/invensense/65xx/libsensors_iio/ |
MPLSupport.h | 33 int read_sysfs_dir(bool fileMode, char *sysfs_path);
|
CompassSensor.IIO.9150.cpp | 336 char sysfs_path[MAX_SYSFS_NAME_LEN]; local 349 memset(sysfs_path, 0, sizeof(sysfs_path)); 359 // inv_get_sysfs_abs_path(sysfs_path); 360 inv_get_sysfs_path(sysfs_path); 363 if (strcmp(sysfs_path, "") == 0 || strcmp(iio_trigger_path, "") == 0) 370 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); 371 strcat(sysfs_path, "/ak8975"); 373 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); 374 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate") [all...] |
CompassSensor.IIO.primary.cpp | 502 char sysfs_path[MAX_SYSFS_NAME_LEN], local 522 sprintf(sysfs_path, "%s%d", "/sys/bus/iio/devices/iio:device", 531 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); 532 strcat(sysfs_path, "/ak8975"); 534 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); 535 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate"); 536 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale"); 537 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); 539 sprintf(compassSysFs.chip_enable, "%s%s", sysfs_path, "/buffer/enable"); 540 sprintf(compassSysFs.in_timestamp_en, "%s%s", sysfs_path, "/scan_elements/in_timestamp_en") [all...] |
MPLSupport.cpp | 242 char sysfs_path[MAX_SYSFS_NAME_LEN]; local 245 inv_get_sysfs_path(sysfs_path); 246 sprintf(dmp_path, "%s%s", sysfs_path, "/dmp_firmware"); 255 int read_sysfs_dir(bool fileMode, char *sysfs_path) 268 dp = opendir (sysfs_path); 273 LOGV_IF(0,"HAL DEBUG: opened directory %s", sysfs_path); 281 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name); 303 LOGI("HAL DEBUG: could not open directory %s", sysfs_path);
|
PressureSensor.IIO.secondary.h | 40 PressureSensor(const char *sysfs_path);
|
MPLSensor.cpp | [all...] |
PressureSensor.IIO.secondary.cpp | 61 PressureSensor::PressureSensor(const char *sysfs_path) 67 mSysfsPath = sysfs_path;
|
/hardware/invensense/60xx/libsensors_iio/ |
CompassSensor.IIO.9150.cpp | 335 char sysfs_path[MAX_SYSFS_NAME_LEN], iio_trigger_path[MAX_SYSFS_NAME_LEN], tbuf[2]; 353 // inv_get_sysfs_abs_path(sysfs_path); 354 if(INV_SUCCESS != inv_get_sysfs_path(sysfs_path)) { 365 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf); 366 strcat(sysfs_path, "/ak8975"); 368 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable"); 369 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate"); 370 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale"); 371 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix"); 373 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/compass_enable") [all...] |
MPLSensor.cpp | [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 16 static char sysfs_path[100]; variable 162 sprintf(sysfs_path, "%s%s", "/sys", tmp); 252 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu"); 258 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu/dmp_firmware"); 274 sprintf(key_path, "%s%s", sysfs_path, "/device/invensense/mpu/key");
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.c | 23 static char sysfs_path[100]; variable 173 sprintf(sysfs_path, "%s%s", "/sys", tmp); 263 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu"); 269 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu/dmp_firmware"); 285 sprintf(key_path, "%s%s", sysfs_path, "/device/invensense/mpu/key");
|