Searched refs:sys_pfx (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/staging/greybus/tools/ |
D | lbtest | 81 def log_csv(test_name, size, iteration_max, sys_pfx): argument 90 error = read_sysfs_int(sys_pfx + 'error') 91 request_min = read_sysfs_int(sys_pfx + 'requests_per_second_min') 92 request_max = read_sysfs_int(sys_pfx + 'requests_per_second_max') 93 request_avg = read_sysfs_int(sys_pfx + 'requests_per_second_avg') 94 latency_min = read_sysfs_int(sys_pfx + 'latency_min') 95 latency_max = read_sysfs_int(sys_pfx + 'latency_max') 96 latency_avg = read_sysfs_int(sys_pfx + 'latency_avg') 97 throughput_min = read_sysfs_int(sys_pfx + 'throughput_min') 98 throughput_max = read_sysfs_int(sys_pfx + 'throughput_max') [all …]
|
D | loopback_test.c | 245 int open_sysfs(const char *sys_pfx, const char *node, int flags) in open_sysfs() argument 250 snprintf(path, sizeof(path), "%s%s", sys_pfx, node); in open_sysfs() 259 int read_sysfs_int_fd(int fd, const char *sys_pfx, const char *node) in read_sysfs_int_fd() argument 264 fprintf(stderr, "unable to read from %s%s %s\n", sys_pfx, node, in read_sysfs_int_fd() 272 float read_sysfs_float_fd(int fd, const char *sys_pfx, const char *node) in read_sysfs_float_fd() argument 278 fprintf(stderr, "unable to read from %s%s %s\n", sys_pfx, node, in read_sysfs_float_fd() 286 int read_sysfs_int(const char *sys_pfx, const char *node) in read_sysfs_int() argument 290 fd = open_sysfs(sys_pfx, node, O_RDONLY); in read_sysfs_int() 291 val = read_sysfs_int_fd(fd, sys_pfx, node); in read_sysfs_int() 296 float read_sysfs_float(const char *sys_pfx, const char *node) in read_sysfs_float() argument [all …]
|