sys_pfx 245 drivers/staging/greybus/tools/loopback_test.c int open_sysfs(const char *sys_pfx, const char *node, int flags) sys_pfx 250 drivers/staging/greybus/tools/loopback_test.c snprintf(path, sizeof(path), "%s%s", sys_pfx, node); sys_pfx 259 drivers/staging/greybus/tools/loopback_test.c int read_sysfs_int_fd(int fd, const char *sys_pfx, const char *node) sys_pfx 264 drivers/staging/greybus/tools/loopback_test.c fprintf(stderr, "unable to read from %s%s %s\n", sys_pfx, node, sys_pfx 272 drivers/staging/greybus/tools/loopback_test.c float read_sysfs_float_fd(int fd, const char *sys_pfx, const char *node) sys_pfx 278 drivers/staging/greybus/tools/loopback_test.c fprintf(stderr, "unable to read from %s%s %s\n", sys_pfx, node, sys_pfx 286 drivers/staging/greybus/tools/loopback_test.c int read_sysfs_int(const char *sys_pfx, const char *node) sys_pfx 290 drivers/staging/greybus/tools/loopback_test.c fd = open_sysfs(sys_pfx, node, O_RDONLY); sys_pfx 291 drivers/staging/greybus/tools/loopback_test.c val = read_sysfs_int_fd(fd, sys_pfx, node); sys_pfx 296 drivers/staging/greybus/tools/loopback_test.c float read_sysfs_float(const char *sys_pfx, const char *node) sys_pfx 301 drivers/staging/greybus/tools/loopback_test.c fd = open_sysfs(sys_pfx, node, O_RDONLY); sys_pfx 302 drivers/staging/greybus/tools/loopback_test.c val = read_sysfs_float_fd(fd, sys_pfx, node); sys_pfx 307 drivers/staging/greybus/tools/loopback_test.c void write_sysfs_val(const char *sys_pfx, const char *node, int val) sys_pfx 312 drivers/staging/greybus/tools/loopback_test.c fd = open_sysfs(sys_pfx, node, O_RDWR); sys_pfx 315 drivers/staging/greybus/tools/loopback_test.c fprintf(stderr, "unable to write to %s%s %s\n", sys_pfx, node,