Lines Matching defs:ddb_handle
24 acpi_ex_add_table(u32 table_index, union acpi_operand_object **ddb_handle);
36 * ddb_handle - Where to return the table handle.
46 acpi_ex_add_table(u32 table_index, union acpi_operand_object **ddb_handle)
64 *ddb_handle = obj_desc;
91 union acpi_operand_object *ddb_handle;
176 status = acpi_ex_add_table(table_index, &ddb_handle);
198 (void)acpi_ex_unload_table(ddb_handle);
200 acpi_ut_remove_reference(ddb_handle);
205 /* Remove the reference to ddb_handle created by acpi_ex_add_table above */
207 acpi_ut_remove_reference(ddb_handle);
282 union acpi_operand_object *ddb_handle;
455 status = acpi_ex_add_table(table_index, &ddb_handle);
466 /* Remove the reference to ddb_handle created by acpi_ex_add_table above */
468 acpi_ut_remove_reference(ddb_handle);
480 * PARAMETERS: ddb_handle - Handle to a previously loaded table
488 acpi_status acpi_ex_unload_table(union acpi_operand_object *ddb_handle)
491 union acpi_operand_object *table_desc = ddb_handle;
521 * ddb_handle must still be marked valid (table has not been previously
524 if ((!ddb_handle) ||
525 (ACPI_GET_DESCRIPTOR_TYPE(ddb_handle) != ACPI_DESC_TYPE_OPERAND) ||
526 (ddb_handle->common.type != ACPI_TYPE_LOCAL_REFERENCE) ||
527 (!(ddb_handle->common.flags & AOPOBJ_DATA_VALID))) {
531 /* Get the table index from the ddb_handle */
548 ddb_handle->common.flags &= ~AOPOBJ_DATA_VALID;