basedir           655 tools/iio/iio_utils.c static int _write_sysfs_int(const char *filename, const char *basedir, int val,
basedir           661 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
basedir           666 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
basedir           714 tools/iio/iio_utils.c 				val, basedir, filename);
basedir           732 tools/iio/iio_utils.c int write_sysfs_int(const char *filename, const char *basedir, int val)
basedir           734 tools/iio/iio_utils.c 	return _write_sysfs_int(filename, basedir, val, 0);
basedir           746 tools/iio/iio_utils.c int write_sysfs_int_and_verify(const char *filename, const char *basedir,
basedir           749 tools/iio/iio_utils.c 	return _write_sysfs_int(filename, basedir, val, 1);
basedir           752 tools/iio/iio_utils.c static int _write_sysfs_string(const char *filename, const char *basedir,
basedir           757 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
basedir           764 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
basedir           813 tools/iio/iio_utils.c 				basedir, filename);
basedir           832 tools/iio/iio_utils.c int write_sysfs_string_and_verify(const char *filename, const char *basedir,
basedir           835 tools/iio/iio_utils.c 	return _write_sysfs_string(filename, basedir, val, 1);
basedir           846 tools/iio/iio_utils.c int write_sysfs_string(const char *filename, const char *basedir,
basedir           849 tools/iio/iio_utils.c 	return _write_sysfs_string(filename, basedir, val, 0);
basedir           860 tools/iio/iio_utils.c int read_sysfs_posint(const char *filename, const char *basedir)
basedir           864 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
basedir           871 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
basedir           907 tools/iio/iio_utils.c int read_sysfs_float(const char *filename, const char *basedir, float *val)
basedir           911 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
basedir           918 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
basedir           954 tools/iio/iio_utils.c int read_sysfs_string(const char *filename, const char *basedir, char *str)
basedir           958 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
basedir           965 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
basedir            71 tools/iio/iio_utils.h int write_sysfs_int(const char *filename, const char *basedir, int val);
basedir            72 tools/iio/iio_utils.h int write_sysfs_int_and_verify(const char *filename, const char *basedir,
basedir            74 tools/iio/iio_utils.h int write_sysfs_string_and_verify(const char *filename, const char *basedir,
basedir            76 tools/iio/iio_utils.h int write_sysfs_string(const char *filename, const char *basedir,
basedir            78 tools/iio/iio_utils.h int read_sysfs_posint(const char *filename, const char *basedir);
basedir            79 tools/iio/iio_utils.h int read_sysfs_float(const char *filename, const char *basedir, float *val);
basedir            80 tools/iio/iio_utils.h int read_sysfs_string(const char *filename, const char *basedir, char *str);