Home
last modified time | relevance | path

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

/linux-4.4.14/tools/power/acpi/tools/ec/
Dec_access.c23 #define EC_SPACE_SIZE 256 macro
101 write_byte_offset >= EC_SPACE_SIZE) { in parse_opts()
104 write_byte_offset, EC_SPACE_SIZE - 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()
128 char buf[EC_SPACE_SIZE]; in dump_ec()
129 char buf2[EC_SPACE_SIZE]; in dump_ec()
132 bytes_read = read(fd, buf, EC_SPACE_SIZE); in dump_ec()
137 if (bytes_read != EC_SPACE_SIZE) in dump_ec()
155 bytes_read = read(fd, buf2, EC_SPACE_SIZE); in dump_ec()
[all …]
/linux-4.4.14/drivers/acpi/
Dec_sys.c27 #define EC_SPACE_SIZE 256 macro
37 unsigned int size = EC_SPACE_SIZE; in acpi_ec_read_io()
76 if (*off >= EC_SPACE_SIZE) in acpi_ec_write_io()
78 if (*off + count >= EC_SPACE_SIZE) { in acpi_ec_write_io()
79 size = EC_SPACE_SIZE - *off; in acpi_ec_write_io()