Home
last modified time | relevance | path

Searched refs:cros_ec_sysfs_set_input_attr_by_int (Results 1 – 2 of 2) sorted by relevance

/device/google/dragon/sensor_hub/
Dcros_ec_sensors.cpp74 if (cros_ec_sysfs_set_input_attr_by_int(mRingPath, "buffer/enable", 0) < 0) { in CrosECSensor()
83 if (cros_ec_sysfs_set_input_attr_by_int(mRingPath, "buffer/length", in CrosECSensor()
88 if (cros_ec_sysfs_set_input_attr_by_int(mRingPath, "buffer/enable", 1) < 0) { in CrosECSensor()
107 if (cros_ec_sysfs_set_input_attr_by_int(mRingPath, "buffer/enable", 0) < 0) { in ~CrosECSensor()
143 return cros_ec_sysfs_set_input_attr_by_int(info->device_name, "flush", 1); in flush()
164 err = cros_ec_sysfs_set_input_attr_by_int(info->device_name, in activate()
177 err = cros_ec_sysfs_set_input_attr_by_int( in activate()
185 err = cros_ec_sysfs_set_input_attr_by_int(info->device_name, attr, enabled); in activate()
432 int cros_ec_sysfs_set_input_attr_by_int(const char *path, in cros_ec_sysfs_set_input_attr_by_int() function
Dcros_ec_sensors.h110 int cros_ec_sysfs_set_input_attr_by_int(const char *path, const char *attr, int value);