Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/acpi/tools/ec/
H A Dec_access.c32 static int read_byte_offset = -1; variable
80 read_byte_offset = strtoul(optarg, NULL, 16); in parse_opts()
113 if (read_mode == 1 && read_byte_offset != -1) { in parse_opts()
114 if (read_byte_offset < -1 || in parse_opts()
115 read_byte_offset >= EC_SPACE_SIZE) { in parse_opts()
118 read_byte_offset, EC_SPACE_SIZE - 1); in parse_opts()
225 if (read_byte_offset == -1) in main()
227 else if (read_byte_offset < 0 || in main()
228 read_byte_offset >= EC_SPACE_SIZE) in main()
231 read_ec_val(fd, read_byte_offset); in main()