Home
last modified time | relevance | path

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

/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp97 int CwMcuSensor::sysfs_set_input_attr_by_int(const char *attr, int value) { in sysfs_set_input_attr_by_int() function in CwMcuSensor
446 if (sysfs_set_input_attr_by_int("buffer/enable", 0) < 0) { in CwMcuSensor()
456 if (sysfs_set_input_attr_by_int("buffer/enable", 0) < 0) { in CwMcuSensor()
471 if (sysfs_set_input_attr_by_int("buffer/length", iio_buf_size) < 0) { in CwMcuSensor()
475 if (sysfs_set_input_attr_by_int("buffer/enable", 1) < 0) { in CwMcuSensor()
811 if (sysfs_set_input_attr_by_int("buffer/enable", 0) < 0) { in setEnable()
910 if (sysfs_set_input_attr_by_int("buffer/length", iio_buf_size) < 0) { in batch()
914 if (sysfs_set_input_attr_by_int("buffer/enable", 1) < 0) { in batch()
DCwMcuSensor.h114 int sysfs_set_input_attr_by_int(const char *attr, int value);