Lines Matching refs:obj_desc

108 	union acpi_operand_object *obj_desc;  in acpi_ex_create_event()  local
112 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_EVENT); in acpi_ex_create_event()
113 if (!obj_desc) { in acpi_ex_create_event()
123 &obj_desc->event.os_semaphore); in acpi_ex_create_event()
131 walk_state->operands[0], obj_desc, in acpi_ex_create_event()
139 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_event()
160 union acpi_operand_object *obj_desc; in acpi_ex_create_mutex() local
166 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_MUTEX); in acpi_ex_create_mutex()
167 if (!obj_desc) { in acpi_ex_create_mutex()
174 status = acpi_os_create_mutex(&obj_desc->mutex.os_mutex); in acpi_ex_create_mutex()
181 obj_desc->mutex.sync_level = (u8)walk_state->operands[1]->integer.value; in acpi_ex_create_mutex()
182 obj_desc->mutex.node = in acpi_ex_create_mutex()
186 acpi_ns_attach_object(obj_desc->mutex.node, obj_desc, in acpi_ex_create_mutex()
194 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_mutex()
219 union acpi_operand_object *obj_desc; in acpi_ex_create_region() local
257 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_REGION); in acpi_ex_create_region()
258 if (!obj_desc) { in acpi_ex_create_region()
267 region_obj2 = acpi_ns_get_secondary_object(obj_desc); in acpi_ex_create_region()
280 obj_desc->region.space_id = space_id; in acpi_ex_create_region()
281 obj_desc->region.address = 0; in acpi_ex_create_region()
282 obj_desc->region.length = 0; 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()
414 union acpi_operand_object *obj_desc; in acpi_ex_create_method() local
422 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_METHOD); in acpi_ex_create_method()
423 if (!obj_desc) { in acpi_ex_create_method()
430 obj_desc->method.aml_start = aml_start; in acpi_ex_create_method()
431 obj_desc->method.aml_length = aml_length; in acpi_ex_create_method()
432 obj_desc->method.node = operand[0]; in acpi_ex_create_method()
439 obj_desc->method.param_count = (u8) in acpi_ex_create_method()
447 obj_desc->method.info_flags = ACPI_METHOD_SERIALIZED; in acpi_ex_create_method()
453 obj_desc->method.sync_level = (u8) in acpi_ex_create_method()
460 obj_desc, ACPI_TYPE_METHOD); in acpi_ex_create_method()
464 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_method()