Lines Matching refs:obj_desc
107 union acpi_operand_object *obj_desc; in acpi_ex_create_event() local
111 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_EVENT); in acpi_ex_create_event()
112 if (!obj_desc) { in acpi_ex_create_event()
122 &obj_desc->event.os_semaphore); in acpi_ex_create_event()
130 walk_state->operands[0], obj_desc, in acpi_ex_create_event()
138 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_event()
159 union acpi_operand_object *obj_desc; in acpi_ex_create_mutex() local
165 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_MUTEX); in acpi_ex_create_mutex()
166 if (!obj_desc) { in acpi_ex_create_mutex()
173 status = acpi_os_create_mutex(&obj_desc->mutex.os_mutex); in acpi_ex_create_mutex()
180 obj_desc->mutex.sync_level = (u8)walk_state->operands[1]->integer.value; in acpi_ex_create_mutex()
181 obj_desc->mutex.node = in acpi_ex_create_mutex()
185 acpi_ns_attach_object(obj_desc->mutex.node, obj_desc, in acpi_ex_create_mutex()
193 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_mutex()
218 union acpi_operand_object *obj_desc; in acpi_ex_create_region() local
256 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_REGION); in acpi_ex_create_region()
257 if (!obj_desc) { in acpi_ex_create_region()
266 region_obj2 = acpi_ns_get_secondary_object(obj_desc); in acpi_ex_create_region()
279 obj_desc->region.space_id = space_id; in acpi_ex_create_region()
280 obj_desc->region.address = 0; in acpi_ex_create_region()
281 obj_desc->region.length = 0; in acpi_ex_create_region()
282 obj_desc->region.node = node; in acpi_ex_create_region()
283 obj_desc->region.handler = NULL; in acpi_ex_create_region()
284 obj_desc->common.flags &= in acpi_ex_create_region()
290 status = acpi_ns_attach_object(node, obj_desc, ACPI_TYPE_REGION); in acpi_ex_create_region()
296 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_region()
317 union acpi_operand_object *obj_desc; in acpi_ex_create_processor() local
324 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_PROCESSOR); in acpi_ex_create_processor()
325 if (!obj_desc) { in acpi_ex_create_processor()
331 obj_desc->processor.proc_id = (u8) operand[1]->integer.value; in acpi_ex_create_processor()
332 obj_desc->processor.length = (u8) operand[3]->integer.value; in acpi_ex_create_processor()
333 obj_desc->processor.address = in acpi_ex_create_processor()
339 obj_desc, ACPI_TYPE_PROCESSOR); in acpi_ex_create_processor()
343 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_processor()
365 union acpi_operand_object *obj_desc; in acpi_ex_create_power_resource() local
371 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_POWER); in acpi_ex_create_power_resource()
372 if (!obj_desc) { in acpi_ex_create_power_resource()
378 obj_desc->power_resource.system_level = (u8) operand[1]->integer.value; in acpi_ex_create_power_resource()
379 obj_desc->power_resource.resource_order = in acpi_ex_create_power_resource()
385 obj_desc, ACPI_TYPE_POWER); in acpi_ex_create_power_resource()
389 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_power_resource()
412 union acpi_operand_object *obj_desc; in acpi_ex_create_method() local
420 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_METHOD); in acpi_ex_create_method()
421 if (!obj_desc) { in acpi_ex_create_method()
428 obj_desc->method.aml_start = aml_start; in acpi_ex_create_method()
429 obj_desc->method.aml_length = aml_length; in acpi_ex_create_method()
430 obj_desc->method.node = operand[0]; in acpi_ex_create_method()
437 obj_desc->method.param_count = (u8) in acpi_ex_create_method()
445 obj_desc->method.info_flags = ACPI_METHOD_SERIALIZED; in acpi_ex_create_method()
451 obj_desc->method.sync_level = (u8) in acpi_ex_create_method()
458 obj_desc, ACPI_TYPE_METHOD); in acpi_ex_create_method()
462 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_method()