Searched refs:iio_buf_size (Results 1 – 1 of 1) sorted by relevance
431 int iio_buf_size; in CwMcuSensor() local469 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() local908 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 …]