Lines Matching refs:source_desc
40 acpi_ex_do_debug_object(union acpi_operand_object *source_desc, in acpi_ex_do_debug_object() argument
48 ACPI_FUNCTION_TRACE_PTR(ex_do_debug_object, source_desc); in acpi_ex_do_debug_object()
59 if (source_desc && in acpi_ex_do_debug_object()
60 (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == ACPI_DESC_TYPE_OPERAND) && in acpi_ex_do_debug_object()
61 (source_desc->common.type == ACPI_TYPE_STRING)) { in acpi_ex_do_debug_object()
62 if ((source_desc->string.length == 1) && in acpi_ex_do_debug_object()
63 (*source_desc->string.pointer == '\n')) { in acpi_ex_do_debug_object()
98 if (!source_desc) { in acpi_ex_do_debug_object()
103 if (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == ACPI_DESC_TYPE_OPERAND) { in acpi_ex_do_debug_object()
107 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_do_debug_object()
108 (source_desc->common.type != ACPI_TYPE_STRING)) { in acpi_ex_do_debug_object()
111 (source_desc)); in acpi_ex_do_debug_object()
114 if (!acpi_ut_valid_internal_object(source_desc)) { in acpi_ex_do_debug_object()
116 source_desc); in acpi_ex_do_debug_object()
119 } else if (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == in acpi_ex_do_debug_object()
124 source_desc)->type), in acpi_ex_do_debug_object()
125 source_desc); in acpi_ex_do_debug_object()
133 switch (source_desc->common.type) { in acpi_ex_do_debug_object()
140 (u32)source_desc->integer.value); in acpi_ex_do_debug_object()
143 ACPI_FORMAT_UINT64(source_desc->integer. in acpi_ex_do_debug_object()
150 acpi_os_printf("[0x%.2X]\n", (u32)source_desc->buffer.length); in acpi_ex_do_debug_object()
151 acpi_ut_dump_buffer(source_desc->buffer.pointer, in acpi_ex_do_debug_object()
152 (source_desc->buffer.length < 256) ? in acpi_ex_do_debug_object()
153 source_desc->buffer.length : 256, in acpi_ex_do_debug_object()
159 acpi_os_printf("\"%s\"\n", source_desc->string.pointer); in acpi_ex_do_debug_object()
165 source_desc->package.count); in acpi_ex_do_debug_object()
169 for (i = 0; i < source_desc->package.count; i++) { in acpi_ex_do_debug_object()
170 acpi_ex_do_debug_object(source_desc->package. in acpi_ex_do_debug_object()
178 acpi_ut_get_reference_name(source_desc)); in acpi_ex_do_debug_object()
182 switch (source_desc->reference.class) { in acpi_ex_do_debug_object()
185 acpi_os_printf("0x%X\n", source_desc->reference.value); in acpi_ex_do_debug_object()
193 source_desc->reference.value); in acpi_ex_do_debug_object()
205 if (source_desc->reference.node) { in acpi_ex_do_debug_object()
207 (source_desc->reference.node) != in acpi_ex_do_debug_object()
211 source_desc->reference.node); in acpi_ex_do_debug_object()
214 source_desc->reference.node, in acpi_ex_do_debug_object()
215 (source_desc->reference.node)-> in acpi_ex_do_debug_object()
218 switch ((source_desc->reference.node)->type) { in acpi_ex_do_debug_object()
232 acpi_ex_do_debug_object((source_desc-> in acpi_ex_do_debug_object()
239 } else if (source_desc->reference.object) { in acpi_ex_do_debug_object()
241 (source_desc->reference.object) == in acpi_ex_do_debug_object()
249 source_desc->reference. in acpi_ex_do_debug_object()
252 object_desc = source_desc->reference.object; in acpi_ex_do_debug_object()
253 value = source_desc->reference.value; in acpi_ex_do_debug_object()
260 *source_desc->reference. in acpi_ex_do_debug_object()
269 *source_desc->reference. in acpi_ex_do_debug_object()
271 *source_desc->reference. in acpi_ex_do_debug_object()
278 if (!(*source_desc->reference.where)) { in acpi_ex_do_debug_object()
283 (*source_desc->reference. in acpi_ex_do_debug_object()
301 acpi_os_printf("(Descriptor %p)\n", source_desc); in acpi_ex_do_debug_object()