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

/linux-4.4.14/tools/power/acpi/tools/ec/
H A Dec_access.c23 #define EC_SPACE_SIZE 256 macro
101 write_byte_offset >= EC_SPACE_SIZE) { parse_opts()
104 write_byte_offset, EC_SPACE_SIZE - 1); parse_opts()
116 read_byte_offset >= EC_SPACE_SIZE) { parse_opts()
119 read_byte_offset, EC_SPACE_SIZE - 1); parse_opts()
128 char buf[EC_SPACE_SIZE]; dump_ec()
129 char buf2[EC_SPACE_SIZE]; dump_ec()
132 bytes_read = read(fd, buf, EC_SPACE_SIZE); dump_ec()
137 if (bytes_read != EC_SPACE_SIZE) dump_ec()
155 bytes_read = read(fd, buf2, EC_SPACE_SIZE); dump_ec()
160 if (bytes_read != EC_SPACE_SIZE) dump_ec()
229 read_byte_offset >= EC_SPACE_SIZE) main()
/linux-4.4.14/drivers/acpi/
H A Dec_sys.c27 #define EC_SPACE_SIZE 256 macro
37 unsigned int size = EC_SPACE_SIZE; acpi_ec_read_io()
76 if (*off >= EC_SPACE_SIZE) acpi_ec_write_io()
78 if (*off + count >= EC_SPACE_SIZE) { acpi_ec_write_io()
79 size = EC_SPACE_SIZE - *off; acpi_ec_write_io()

Completed in 91 milliseconds