Lines Matching refs:hdr
26 union acpi_subtable_headers *hdr; member
35 return entry->hdr->common.type; in acpi_get_entry_type()
37 return entry->hdr->hmat.type; in acpi_get_entry_type()
41 return entry->hdr->cedt.type; in acpi_get_entry_type()
43 return entry->hdr->cdat.type; in acpi_get_entry_type()
53 return entry->hdr->common.length; in acpi_get_entry_length()
55 return entry->hdr->hmat.length; in acpi_get_entry_length()
57 return entry->hdr->prmt.length; in acpi_get_entry_length()
59 return entry->hdr->cedt.length; in acpi_get_entry_length()
61 __le16 length = (__force __le16)entry->hdr->cdat.length; in acpi_get_entry_length()
74 return sizeof(entry->hdr->common); in acpi_get_subtable_header_length()
76 return sizeof(entry->hdr->hmat); in acpi_get_subtable_header_length()
78 return sizeof(entry->hdr->prmt); in acpi_get_subtable_header_length()
80 return sizeof(entry->hdr->cedt); in acpi_get_subtable_header_length()
82 return sizeof(entry->hdr->cdat); in acpi_get_subtable_header_length()
115 union acpi_subtable_headers *hdr, in call_handler() argument
119 return proc->handler(hdr, end); in call_handler()
121 return proc->handler_arg(hdr, proc->arg, end); in call_handler()
171 entry.hdr = (union acpi_subtable_headers *) in acpi_parse_entries_array()
175 while (((unsigned long)entry.hdr) + subtable_len < table_end) { in acpi_parse_entries_array()
181 if (call_handler(&proc[i], entry.hdr, table_end)) in acpi_parse_entries_array()
199 entry.hdr = (union acpi_subtable_headers *) in acpi_parse_entries_array()
200 ((unsigned long)entry.hdr + entry_len); in acpi_parse_entries_array()