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.cpp62 strcpy(input_sysfs_path, "/sys/class/compass/akm8975/"); in AkmSensor()
63 input_sysfs_path_len = strlen(input_sysfs_path); in AkmSensor()
65 input_sysfs_path[0] = '\0'; in AkmSensor()
85 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_acc"); in setEnable()
88 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_mag"); in setEnable()
91 strcpy(&input_sysfs_path[input_sysfs_path_len], "enable_ori"); in setEnable()
108 err = write_sys_attribute(input_sysfs_path, buffer, 1); in setEnable()
113 &input_sysfs_path[input_sysfs_path_len], buffer); in setEnable()
149 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_acc"); in setDelay()
152 strcpy(&input_sysfs_path[input_sysfs_path_len], "delay_mag"); in setDelay()
[all …]
DAdxlSensor.cpp49 strcpy(input_sysfs_path, "/sys/class/input/"); in AdxlSensor()
50 strcat(input_sysfs_path, input_name); in AdxlSensor()
51 strcat(input_sysfs_path, "/device/device/"); in AdxlSensor()
52 input_sysfs_path_len = strlen(input_sysfs_path); in AdxlSensor()
53 ALOGD("AdxlSensor: sysfs_path=%s", input_sysfs_path); in AdxlSensor()
55 input_sysfs_path[0] = '\0'; in AdxlSensor()
106 strcpy(&input_sysfs_path[input_sysfs_path_len], "disable"); in setEnable()
107 err = write_sys_attribute(input_sysfs_path, buffer, 1); in setEnable()
156 strcpy(&input_sysfs_path[input_sysfs_path_len], "rate"); in setDelay()
158 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