Home
last modified time | relevance | path

Searched refs:input_sysfs_path (Results 1 – 5 of 5) sorted by relevance

/hardware/akm/AK8975_FS/libsensors/
DAkmSensor.cpp61 strcpy(input_sysfs_path, "/sys/class/compass/akm8975/"); in AkmSensor()
62 input_sysfs_path_len = strlen(input_sysfs_path); in AkmSensor()
64 input_sysfs_path[0] = '\0'; in AkmSensor()
84 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_acc"); in setEnable()
87 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_mag"); in setEnable()
90 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_ori"); in setEnable()
107 err = write_sys_attribute(input_sysfs_path, buffer, 1); in setEnable()
112 &input_sysfs_path[input_sysfs_path_len], buffer); in setEnable()
148 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_acc"); in setDelay()
151 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_mag"); in setDelay()
[all …]
DAdxlSensor.cpp48 strcpy(input_sysfs_path, "/sys/class/input/"); in AdxlSensor()
49 strcat(input_sysfs_path, input_name); in AdxlSensor()
50 strcat(input_sysfs_path, "/device/device/"); in AdxlSensor()
51 input_sysfs_path_len = strlen(input_sysfs_path); in AdxlSensor()
52 ALOGD("AdxlSensor: sysfs_path=%s", input_sysfs_path); in AdxlSensor()
54 input_sysfs_path[0] = '\0'; in AdxlSensor()
105 strcpy(&input_sysfs_path[input_sysfs_path_len], "disable"); in setEnable()
106 err = write_sys_attribute(input_sysfs_path, buffer, 1); in setEnable()
155 strcpy(&input_sysfs_path[input_sysfs_path_len], "rate"); in setDelay()
157 err = write_sys_attribute(input_sysfs_path, buffer, bytes); in setDelay()
DAdxlSensor.h39 char input_sysfs_path[PATH_MAX]; variable
DKionixSensor.h39 char input_sysfs_path[PATH_MAX]; variable
DAkmSensor.h59 char input_sysfs_path[PATH_MAX]; variable