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;
90 union acpi_operand_object *ddb_handle;
109 ddb_handle = acpi_ut_create_integer_object((u64) 0);
110 if (!ddb_handle) {
114 *return_desc = ddb_handle;
172 status = acpi_ex_add_table(table_index, &ddb_handle);
194 (void)acpi_ex_unload_table(ddb_handle);
196 acpi_ut_remove_reference(ddb_handle);
201 *return_desc = ddb_handle;
272 union acpi_operand_object *ddb_handle;
431 status = acpi_ex_add_table(table_index, &ddb_handle);
445 /* Store the ddb_handle into the Target operand */
447 status = acpi_ex_store(ddb_handle, target, walk_state);
449 (void)acpi_ex_unload_table(ddb_handle);
453 acpi_ut_remove_reference(ddb_handle);
459 acpi_ut_remove_reference(ddb_handle);
467 * PARAMETERS: ddb_handle - Handle to a previously loaded table
475 acpi_status acpi_ex_unload_table(union acpi_operand_object *ddb_handle)
478 union acpi_operand_object *table_desc = ddb_handle;
508 * ddb_handle must still be marked valid (table has not been previously
511 if ((!ddb_handle) ||
512 (ACPI_GET_DESCRIPTOR_TYPE(ddb_handle) != ACPI_DESC_TYPE_OPERAND) ||
513 (ddb_handle->common.type != ACPI_TYPE_LOCAL_REFERENCE) ||
514 (!(ddb_handle->common.flags & AOPOBJ_DATA_VALID))) {
518 /* Get the table index from the ddb_handle */
535 ddb_handle->common.flags &= ~AOPOBJ_DATA_VALID;