HomeSort by relevance Sort by last modified time
    Searched defs:sysfs_path (Results 1 - 13 of 13) sorted by null

  /external/autotest/client/site_tests/kernel_CrosECSysfs/
kernel_CrosECSysfs.py 16 sysfs_path = '/sys/devices/virtual/chromeos/cros_ec' variable in class:kernel_CrosECSysfs
19 sysfs_path = '/sys/class/chromeos/cros_ec' variable in class:kernel_CrosECSysfs
39 fullpath = os.path.join(self.sysfs_path, filename)
49 fullpath = os.path.join(self.sysfs_path, filename)
  /device/google/dragon/lights/
lights.c 53 char const *sysfs_path; member in struct:dragon_lights
77 lights->sysfs_path);
119 lights->sysfs_path);
205 lights->sysfs_path = kBacklightPath;
  /hardware/invensense/6515/libsensors_iio/
CompassSensor.IIO.9150.cpp 381 char sysfs_path[MAX_SYSFS_NAME_LEN]; local
389 memset(sysfs_path, 0, sizeof(sysfs_path));
400 // inv_get_sysfs_abs_path(sysfs_path);
401 inv_get_sysfs_path(sysfs_path);
411 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf);
412 strcat(sysfs_path, "/ak8975");
414 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable");
415 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate");
416 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale")
    [all...]
MPLSupport.cpp 267 char sysfs_path[MAX_SYSFS_NAME_LEN]; local
270 inv_get_sysfs_path(sysfs_path);
271 sprintf(dmp_path, "%s%s", sysfs_path, "/dmp_firmware");
280 int read_sysfs_dir(bool fileMode, char *sysfs_path)
293 dp = opendir (sysfs_path);
298 LOGV_IF(0,"HAL DEBUG: opened directory %s", sysfs_path);
306 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name);
328 LOGI("HAL DEBUG: could not open directory %s", sysfs_path);
CompassSensor.IIO.primary.cpp 521 char sysfs_path[MAX_SYSFS_NAME_LEN], tbuf[2]; local
540 sprintf(sysfs_path, "%s%d", "/sys/bus/iio/devices/iio:device",
547 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf);
548 strcat(sysfs_path, "/ak8975");
550 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable");
551 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate");
552 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale");
553 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix");
555 sprintf(compassSysFs.chip_enable, "%s%s", sysfs_path, "/buffer/enable");
556 sprintf(compassSysFs.in_timestamp_en, "%s%s", sysfs_path, "/scan_elements/in_timestamp_en")
    [all...]
  /hardware/invensense/65xx/libsensors_iio/
CompassSensor.IIO.9150.cpp 349 char sysfs_path[MAX_SYSFS_NAME_LEN]; local
357 memset(sysfs_path, 0, sizeof(sysfs_path));
368 // inv_get_sysfs_abs_path(sysfs_path);
369 inv_get_sysfs_path(sysfs_path);
372 if (strcmp(sysfs_path, "") == 0 || strcmp(iio_trigger_path, "") == 0)
382 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf);
383 strcat(sysfs_path, "/ak8975");
385 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable");
386 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate")
    [all...]
MPLSupport.cpp 264 char sysfs_path[MAX_SYSFS_NAME_LEN]; local
267 inv_get_sysfs_path(sysfs_path);
268 sprintf(dmp_path, "%s%s", sysfs_path, "/dmp_firmware");
277 int read_sysfs_dir(bool fileMode, char *sysfs_path)
290 dp = opendir (sysfs_path);
295 LOGV_IF(0,"HAL DEBUG: opened directory %s", sysfs_path);
303 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name);
325 LOGI("HAL DEBUG: could not open directory %s", sysfs_path);
CompassSensor.IIO.primary.cpp 487 char sysfs_path[MAX_SYSFS_NAME_LEN], tbuf[2]; local
506 sprintf(sysfs_path, "%s%d", "/sys/bus/iio/devices/iio:device",
513 sprintf(sysfs_path, "%s%s", "sys/class/input/input", tbuf);
514 strcat(sysfs_path, "/ak8975");
516 sprintf(compassSysFs.compass_enable, "%s%s", sysfs_path, "/enable");
517 sprintf(compassSysFs.compass_rate, "%s%s", sysfs_path, "/rate");
518 sprintf(compassSysFs.compass_scale, "%s%s", sysfs_path, "/scale");
519 sprintf(compassSysFs.compass_orient, "%s%s", sysfs_path, "/compass_matrix");
521 sprintf(compassSysFs.chip_enable, "%s%s", sysfs_path, "/buffer/enable");
522 sprintf(compassSysFs.in_timestamp_en, "%s%s", sysfs_path, "/scan_elements/in_timestamp_en")
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
ml_sysfs_helper.c 29 static char sysfs_path[100]; variable
181 sprintf(sysfs_path, "%s%s", "/sys", tmp);
271 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu");
277 sprintf(data, "%s%s", sysfs_path, "/device/invensense/mpu/dmp_firmware");
293 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");
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
inv_self_test.c 167 char sysfs_path[MAX_SYSFS_NAME_LEN]; local
186 sprintf(sysfs_path, "%s", IIO_SYSFS_PATH);
188 sprintf(mpu.name, "%s%s", sysfs_path, "/name");
189 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable");
190 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state");
191 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on");
192 sprintf(mpu.self_test, "%s%s", sysfs_path, "/self_test");
193 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature");
195 sprintf(mpu.gyro_enable, "%s%s", sysfs_path, "/gyro_enable");
197 sysfs_path, "/in_anglvel_x_calibbias")
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
inv_gesture_test.c 176 char sysfs_path[MAX_SYSFS_NAME_LEN]; local
195 inv_get_sysfs_path(sysfs_path);
197 sprintf(mpu.name, "%s%s", sysfs_path, "/name");
198 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable");
199 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state");
200 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on");
201 sprintf(mpu.dmp_int_on, "%s%s", sysfs_path, "/dmp_int_on");
202 sprintf(mpu.dmp_firmware, "%s%s", sysfs_path, "/dmp_firmware");
203 sprintf(mpu.firmware_loaded, "%s%s", sysfs_path, "/firmware_loaded");
207 sysfs_path, "/event_display_orientation")
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
stress_iio.c 221 char sysfs_path[200]; local
224 sprintf(sysfs_path, "%s", dev_path);
225 printf("sysfs: %s\n", sysfs_path);
226 ret = write_sysfs_int_and_verify("power_state", sysfs_path, 1);
236 ret = write_sysfs_int("sampling_frequency", sysfs_path, 200);
239 ret = write_sysfs_int_and_verify("firmware_loaded", sysfs_path, 0);
248 printf("firmware_loaded=%d\n", read_sysfs_posint("firmware_loaded", sysfs_path));
249 ret = write_sysfs_int_and_verify("dmp_on", sysfs_path, 1);
252 ret = write_sysfs_int_and_verify("dmp_int_on", sysfs_path, 1);
256 //enable_glu(sysfs_path, 0)
    [all...]

Completed in 216 milliseconds