Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/acpi/tools/ec/
H A Dec_access.c22 #define EC_SPACE_SIZE 256 macro
100 write_byte_offset >= EC_SPACE_SIZE) { in parse_opts()
103 write_byte_offset, EC_SPACE_SIZE - 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()
127 char buf[EC_SPACE_SIZE]; in dump_ec()
128 char buf2[EC_SPACE_SIZE]; in dump_ec()
131 bytes_read = read(fd, buf, EC_SPACE_SIZE); in dump_ec()
136 if (bytes_read != EC_SPACE_SIZE) in dump_ec()
159 if (bytes_read != EC_SPACE_SIZE) in dump_ec()
[all …]
/openbmc/linux/drivers/acpi/
H A Dec_sys.c26 #define EC_SPACE_SIZE 256 macro
36 unsigned int size = EC_SPACE_SIZE; in acpi_ec_read_io()
78 if (*off >= EC_SPACE_SIZE) in acpi_ec_write_io()
80 if (*off + count >= EC_SPACE_SIZE) { in acpi_ec_write_io()
81 size = EC_SPACE_SIZE - *off; in acpi_ec_write_io()