Lines Matching refs:internal_object
20 acpi_ut_copy_isimple_to_esimple(union acpi_operand_object *internal_object,
31 acpi_ut_copy_ipackage_to_epackage(union acpi_operand_object *internal_object,
40 union acpi_operand_object **internal_object);
78 acpi_ut_copy_isimple_to_esimple(union acpi_operand_object *internal_object, in acpi_ut_copy_isimple_to_esimple() argument
92 if (!internal_object) { in acpi_ut_copy_isimple_to_esimple()
104 external_object->type = internal_object->common.type; in acpi_ut_copy_isimple_to_esimple()
108 switch (internal_object->common.type) { in acpi_ut_copy_isimple_to_esimple()
112 external_object->string.length = internal_object->string.length; in acpi_ut_copy_isimple_to_esimple()
114 internal_object-> in acpi_ut_copy_isimple_to_esimple()
119 (void *)internal_object->string.pointer, in acpi_ut_copy_isimple_to_esimple()
120 (acpi_size)internal_object->string.length + 1); in acpi_ut_copy_isimple_to_esimple()
126 external_object->buffer.length = internal_object->buffer.length; in acpi_ut_copy_isimple_to_esimple()
128 ACPI_ROUND_UP_TO_NATIVE_WORD(internal_object->string. in acpi_ut_copy_isimple_to_esimple()
132 (void *)internal_object->buffer.pointer, in acpi_ut_copy_isimple_to_esimple()
133 internal_object->buffer.length); in acpi_ut_copy_isimple_to_esimple()
138 external_object->integer.value = internal_object->integer.value; in acpi_ut_copy_isimple_to_esimple()
145 switch (internal_object->reference.class) { in acpi_ut_copy_isimple_to_esimple()
152 internal_object->reference.node; in acpi_ut_copy_isimple_to_esimple()
154 acpi_ns_get_type(internal_object->reference.node); in acpi_ut_copy_isimple_to_esimple()
168 internal_object->processor.proc_id; in acpi_ut_copy_isimple_to_esimple()
170 internal_object->processor.address; in acpi_ut_copy_isimple_to_esimple()
172 internal_object->processor.length; in acpi_ut_copy_isimple_to_esimple()
178 internal_object->power_resource.system_level; in acpi_ut_copy_isimple_to_esimple()
181 internal_object->power_resource.resource_order; in acpi_ut_copy_isimple_to_esimple()
190 acpi_ut_get_type_name(internal_object->common. in acpi_ut_copy_isimple_to_esimple()
299 acpi_ut_copy_ipackage_to_epackage(union acpi_operand_object *internal_object, in acpi_ut_copy_ipackage_to_epackage() argument
322 external_object->type = internal_object->common.type; in acpi_ut_copy_ipackage_to_epackage()
323 external_object->package.count = internal_object->package.count; in acpi_ut_copy_ipackage_to_epackage()
336 status = acpi_ut_walk_package_tree(internal_object, external_object, in acpi_ut_copy_ipackage_to_epackage()
359 acpi_ut_copy_iobject_to_eobject(union acpi_operand_object *internal_object, in acpi_ut_copy_iobject_to_eobject() argument
366 if (internal_object->common.type == ACPI_TYPE_PACKAGE) { in acpi_ut_copy_iobject_to_eobject()
371 status = acpi_ut_copy_ipackage_to_epackage(internal_object, in acpi_ut_copy_iobject_to_eobject()
378 status = acpi_ut_copy_isimple_to_esimple(internal_object, in acpi_ut_copy_iobject_to_eobject()
421 union acpi_operand_object *internal_object; in acpi_ut_copy_esimple_to_isimple() local
434 internal_object = acpi_ut_create_internal_object((u8) in acpi_ut_copy_esimple_to_isimple()
437 if (!internal_object) { in acpi_ut_copy_esimple_to_isimple()
463 internal_object->string.pointer = in acpi_ut_copy_esimple_to_isimple()
467 if (!internal_object->string.pointer) { in acpi_ut_copy_esimple_to_isimple()
471 memcpy(internal_object->string.pointer, in acpi_ut_copy_esimple_to_isimple()
475 internal_object->string.length = external_object->string.length; in acpi_ut_copy_esimple_to_isimple()
480 internal_object->buffer.pointer = in acpi_ut_copy_esimple_to_isimple()
482 if (!internal_object->buffer.pointer) { in acpi_ut_copy_esimple_to_isimple()
486 memcpy(internal_object->buffer.pointer, in acpi_ut_copy_esimple_to_isimple()
490 internal_object->buffer.length = external_object->buffer.length; in acpi_ut_copy_esimple_to_isimple()
494 internal_object->buffer.flags |= AOPOBJ_DATA_VALID; in acpi_ut_copy_esimple_to_isimple()
499 internal_object->integer.value = external_object->integer.value; in acpi_ut_copy_esimple_to_isimple()
506 internal_object->reference.class = ACPI_REFCLASS_REFOF; in acpi_ut_copy_esimple_to_isimple()
507 internal_object->reference.object = in acpi_ut_copy_esimple_to_isimple()
518 *ret_internal_object = internal_object; in acpi_ut_copy_esimple_to_isimple()
522 acpi_ut_remove_reference(internal_object); in acpi_ut_copy_esimple_to_isimple()
542 union acpi_operand_object **internal_object) in acpi_ut_copy_epackage_to_ipackage() argument
585 *internal_object = package_object; in acpi_ut_copy_epackage_to_ipackage()
604 union acpi_operand_object **internal_object) in acpi_ut_copy_eobject_to_iobject() argument
613 internal_object); in acpi_ut_copy_eobject_to_iobject()
619 internal_object); in acpi_ut_copy_eobject_to_iobject()