Lines Matching refs:Op
87 * PARAMETERS: Op - A newly allocated Op object
88 * Opcode - Opcode to store in the Op
92 * DESCRIPTION: Initialize a parse (Op) object
98 ACPI_PARSE_OBJECT *Op,
104 Op->Common.DescriptorType = ACPI_DESC_TYPE_PARSER;
105 Op->Common.AmlOpcode = Opcode;
107 ACPI_DISASM_ONLY_MEMBERS (strncpy (Op->Common.AmlOpName,
109 sizeof (Op->Common.AmlOpName)));
117 * PARAMETERS: Opcode - Opcode that will be stored in the new Op
120 * RETURN: Pointer to the new Op, null on failure
133 ACPI_PARSE_OBJECT *Op;
164 Op = AcpiOsAcquireObject (AcpiGbl_PsNodeCache);
170 Op = AcpiOsAcquireObject (AcpiGbl_PsNodeExtCache);
173 /* Initialize the Op */
175 if (Op)
177 AcpiPsInitOp (Op, Opcode);
178 Op->Common.Aml = Aml;
179 Op->Common.Flags = Flags;
182 return (Op);
190 * PARAMETERS: Op - Op to be freed
194 * DESCRIPTION: Free an Op object. Either put it on the GENERIC_OP cache list
201 ACPI_PARSE_OBJECT *Op)
206 if (Op->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP)
209 "Free retval op: %p\n", Op));
212 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
214 (void) AcpiOsReleaseObject (AcpiGbl_PsNodeCache, Op);
218 (void) AcpiOsReleaseObject (AcpiGbl_PsNodeExtCache, Op);
248 ACPI_PARSE_OBJECT *Op)
253 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
260 return (Op->Named.Name);
269 ACPI_PARSE_OBJECT *Op,
275 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
280 Op->Named.Name = name;