Home
last modified time | relevance | path

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

/Linux-v4.19/tools/power/acpi/tools/ec/
Dec_access.c33 static int read_byte_offset = -1; variable
81 read_byte_offset = strtoul(optarg, NULL, 16); in parse_opts()
114 if (read_mode == 1 && read_byte_offset != -1) { in parse_opts()
115 if (read_byte_offset < -1 || in parse_opts()
116 read_byte_offset >= EC_SPACE_SIZE) { in parse_opts()
119 read_byte_offset, EC_SPACE_SIZE - 1); in parse_opts()
226 if (read_byte_offset == -1) in main()
228 else if (read_byte_offset < 0 || in main()
229 read_byte_offset >= EC_SPACE_SIZE) in main()
232 read_ec_val(fd, read_byte_offset); in main()