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.pointer = NULL; in acpi_ex_create_region()
283 obj_desc->region.node = node; in acpi_ex_create_region()
284 obj_desc->region.handler = NULL; in acpi_ex_create_region()
285 obj_desc->common.flags &= in acpi_ex_create_region()
291 status = acpi_ns_attach_object(node, obj_desc, ACPI_TYPE_REGION); in acpi_ex_create_region()
297 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_region()
318 union acpi_operand_object *obj_desc; in acpi_ex_create_processor() local
325 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_PROCESSOR); in acpi_ex_create_processor()
326 if (!obj_desc) { in acpi_ex_create_processor()
332 obj_desc->processor.proc_id = (u8) operand[1]->integer.value; in acpi_ex_create_processor()
333 obj_desc->processor.length = (u8) operand[3]->integer.value; in acpi_ex_create_processor()
334 obj_desc->processor.address = in acpi_ex_create_processor()
340 obj_desc, ACPI_TYPE_PROCESSOR); in acpi_ex_create_processor()
344 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_processor()
366 union acpi_operand_object *obj_desc; in acpi_ex_create_power_resource() local
372 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_POWER); in acpi_ex_create_power_resource()
373 if (!obj_desc) { in acpi_ex_create_power_resource()
379 obj_desc->power_resource.system_level = (u8) operand[1]->integer.value; in acpi_ex_create_power_resource()
380 obj_desc->power_resource.resource_order = in acpi_ex_create_power_resource()
386 obj_desc, ACPI_TYPE_POWER); in acpi_ex_create_power_resource()
390 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_power_resource()
413 union acpi_operand_object *obj_desc; in acpi_ex_create_method() local
421 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_METHOD); in acpi_ex_create_method()
422 if (!obj_desc) { in acpi_ex_create_method()
429 obj_desc->method.aml_start = aml_start; in acpi_ex_create_method()
430 obj_desc->method.aml_length = aml_length; in acpi_ex_create_method()
431 obj_desc->method.node = operand[0]; in acpi_ex_create_method()
438 obj_desc->method.param_count = (u8) in acpi_ex_create_method()
446 obj_desc->method.info_flags = ACPI_METHOD_SERIALIZED; in acpi_ex_create_method()
452 obj_desc->method.sync_level = (u8) in acpi_ex_create_method()
459 obj_desc, ACPI_TYPE_METHOD); in acpi_ex_create_method()
463 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_method()