Home
last modified time | relevance | path

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

/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp431 int iio_buf_size; in CwMcuSensor() local
469 iio_buf_size = IIO_MAX_BUFF_SIZE; in CwMcuSensor()
471 if (sysfs_set_input_attr_by_int("buffer/length", iio_buf_size) < 0) { in CwMcuSensor()
473 iio_buf_size, strerror(errno)); in CwMcuSensor()
477 "i = %d, iio_buf_size = %d\n", strerror(errno), i, iio_buf_size); in CwMcuSensor()
479 … ALOGI("CwMcuSensor::CwMcuSensor: set IIO buffer length success: %d\n", iio_buf_size); in CwMcuSensor()
483 iio_buf_size /= 2; in CwMcuSensor()
895 int iio_buf_size; in batch() local
908 iio_buf_size = IIO_MAX_BUFF_SIZE; in batch()
910 if (sysfs_set_input_attr_by_int("buffer/length", iio_buf_size) < 0) { in batch()
[all …]