Searched refs:EC_SPACE_SIZE (Results 1 – 2 of 2) sorted by relevance
23 #define EC_SPACE_SIZE 256 macro101 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 …]
27 #define EC_SPACE_SIZE 256 macro37 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()