Lines Matching full:proc
114 static __init_or_fwtbl_lib int call_handler(struct acpi_subtable_proc *proc, in call_handler() argument
118 if (proc->handler) in call_handler()
119 return proc->handler(hdr, end); in call_handler()
120 if (proc->handler_arg) in call_handler()
121 return proc->handler_arg(hdr, proc->arg, end); in call_handler()
132 * @proc: array of acpi_subtable_proc struct containing entry id
134 * @proc_num: how big proc is?
137 * For each proc_num find a subtable with proc->id and run proc->handler
146 * On success returns sum of all matching entries for all proc handlers.
153 struct acpi_subtable_proc *proc, in acpi_parse_entries_array() argument
177 if (acpi_get_entry_type(&entry) != proc[i].id) in acpi_parse_entries_array()
181 if (call_handler(&proc[i], entry.hdr, table_end)) in acpi_parse_entries_array()
184 proc[i].count++; in acpi_parse_entries_array()
195 pr_err("[%4.4s:0x%02x] Invalid zero length\n", id, proc->id); in acpi_parse_entries_array()
205 id, proc->id, count - max_entries, count); in acpi_parse_entries_array()
218 struct acpi_subtable_proc proc = { in cdat_table_parse() local
230 length, &proc, 1, 0); in cdat_table_parse()