59 #define KMSG_COMPONENT "SFI"
60 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
62 #include <linux/kernel.h>
78 #define XSDT_GET_NUM_ENTRIES(ptable, entry_type) \
79 ((ptable->header.length - sizeof(struct acpi_table_header)) / \
107 for (i = 0; i < tbl_cnt; i++) {
135 for (i = 0; i < tbl_cnt; i++) {
137 if (!IS_ERR(ret) && ret)
138 return sfi_to_acpi_th(ret);
168 table = sfi_acpi_get_table(&key);
173 sfi_acpi_put_table(table);
191 th = sfi_acpi_get_table(&key);
197 sfi_acpi_put_table(th);
209 for (i = 0; i < tbl_cnt; i++) {
212 tbl_attr->
attr.read = sfi_acpi_table_show;