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
105 /* Find the ACPI table in the RSDT/XSDT */
132 * location within the namespace where the table will be loaded.
166 /* Load the table into the namespace */
260 * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be
267 * DESCRIPTION: Load an ACPI table from a field or operation region
284 struct acpi_table_header *table;
311 "Load table from Region %p\n", obj_desc));
330 /* Get the table header first so we can get the table length */
348 /* Must have at least an ACPI table header */
355 * The original implementation simply mapped the table, with no copy.
357 * we must copy the table to a local buffer. For example, the memory
362 * We use the low-level operation region interface to read the table
370 /* Allocate a buffer for the table */
372 table = ACPI_ALLOCATE(length);
373 if (!table) {
377 /* Read the entire table */
380 ACPI_CAST_PTR(u8, table));
382 ACPI_FREE(table);
390 "Load table from Buffer or Field %p\n",
393 /* Must have at least an ACPI table header */
399 /* Get the actual table length from the table header */
416 * Copy the table from the buffer because the buffer could be
419 table = ACPI_ALLOCATE(length);
420 if (!table) {
424 memcpy(table, table_header, length);
432 /* Install the new table into the local data structures */
436 status = acpi_tb_install_and_load_table(ACPI_PTR_TO_PHYSADDR(table),
438 table, TRUE, &table_index);
442 /* Delete allocated table buffer */
444 ACPI_FREE(table);
449 * Add the table to the namespace.
451 * Note: Load the table objects relative to the root of the namespace.
480 * PARAMETERS: ddb_handle - Handle to a previously loaded table
484 * DESCRIPTION: Unload an ACPI table
501 ACPI_WARNING((AE_INFO, "Received request to unload an ACPI table"));
521 * ddb_handle must still be marked valid (table has not been previously
531 /* Get the table index from the ddb_handle */
536 * Release the interpreter lock so that the table lock won't have