Lines Matching defs:table
34 * PARAMETERS: table - Pointer to raw table
35 * parent_node - Where to load the table (scope)
36 * ddb_handle - Where to return the table handle.
40 * DESCRIPTION: Common function to Install and Load an ACPI table with a
41 * returned table handle.
52 /* Create an object to be the table handle */
59 /* Init the table handle */
77 * DESCRIPTION: Load an ACPI table from the RSDT/XSDT
95 /* Find the ACPI table in the RSDT/XSDT */
128 * location within the namespace where the table will be loaded.
162 /* Load the table into the namespace */
250 * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be
252 * target - Where a handle to the table will be stored
257 * DESCRIPTION: Load an ACPI table from a field or operation region
274 struct acpi_table_header *table;
287 "Load table from Region %p\n", obj_desc));
306 /* Get the table header first so we can get the table length */
324 /* Must have at least an ACPI table header */
331 * The original implementation simply mapped the table, with no copy.
333 * we must copy the table to a local buffer. For example, the memory
338 * We use the low-level operation region interface to read the table
346 /* Allocate a buffer for the table */
348 table = ACPI_ALLOCATE(length);
349 if (!table) {
353 /* Read the entire table */
356 ACPI_CAST_PTR(u8, table));
358 ACPI_FREE(table);
366 "Load table from Buffer or Field %p\n",
369 /* Must have at least an ACPI table header */
375 /* Get the actual table length from the table header */
392 * Copy the table from the buffer because the buffer could be
395 table = ACPI_ALLOCATE(length);
396 if (!table) {
400 memcpy(table, table_header, length);
408 /* Install the new table into the local data structures */
412 status = acpi_tb_install_and_load_table(ACPI_PTR_TO_PHYSADDR(table),
418 /* Delete allocated table buffer */
420 ACPI_FREE(table);
425 * Add the table to the namespace.
427 * Note: Load the table objects relative to the root of the namespace.
467 * PARAMETERS: ddb_handle - Handle to a previously loaded table
471 * DESCRIPTION: Unload an ACPI table
488 ACPI_WARNING((AE_INFO, "Received request to unload an ACPI table"));
508 * ddb_handle must still be marked valid (table has not been previously
518 /* Get the table index from the ddb_handle */
523 * Release the interpreter lock so that the table lock won't have