Lines Matching refs:op
100 union acpi_parse_object *op, in acpi_ps_init_op() argument
106 op->common.data_type = ACPI_DESC_TYPE_PARSER; in acpi_ps_init_op()
107 op->common.aml_opcode = opcode; in acpi_ps_init_op()
109 ACPI_DISASM_ONLY_MEMBERS (ACPI_STRNCPY (op->common.aml_op_name, in acpi_ps_init_op()
110 (acpi_ps_get_opcode_info (opcode))->name, sizeof (op->common.aml_op_name))); in acpi_ps_init_op()
132 union acpi_parse_object *op = NULL; in acpi_ps_alloc_op() local
166 op = acpi_ut_acquire_from_cache (ACPI_MEM_LIST_PSNODE); in acpi_ps_alloc_op()
169 op = acpi_ut_acquire_from_cache (ACPI_MEM_LIST_PSNODE_EXT); in acpi_ps_alloc_op()
174 if (op) { in acpi_ps_alloc_op()
175 acpi_ps_init_op (op, opcode); in acpi_ps_alloc_op()
176 op->common.flags = flags; in acpi_ps_alloc_op()
179 return (op); in acpi_ps_alloc_op()
198 union acpi_parse_object *op) in acpi_ps_free_op() argument
203 if (op->common.aml_opcode == AML_INT_RETURN_VALUE_OP) { in acpi_ps_free_op()
204 ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "Free retval op: %p\n", op)); in acpi_ps_free_op()
207 if (op->common.flags & ACPI_PARSEOP_GENERIC) { in acpi_ps_free_op()
208 acpi_ut_release_to_cache (ACPI_MEM_LIST_PSNODE, op); in acpi_ps_free_op()
211 acpi_ut_release_to_cache (ACPI_MEM_LIST_PSNODE_EXT, op); in acpi_ps_free_op()
277 union acpi_parse_object *op) in acpi_ps_get_name() argument
283 if (op->common.flags & ACPI_PARSEOP_GENERIC) { in acpi_ps_get_name()
289 return (op->named.name); in acpi_ps_get_name()
298 union acpi_parse_object *op, in acpi_ps_set_name() argument
304 if (op->common.flags & ACPI_PARSEOP_GENERIC) { in acpi_ps_set_name()
308 op->named.name = name; in acpi_ps_set_name()