Lines Matching defs:Op
196 * PARAMETERS: Op - A newly allocated Op object
197 * Opcode - Opcode to store in the Op
201 * DESCRIPTION: Initialize a parse (Op) object
207 ACPI_PARSE_OBJECT *Op,
213 Op->Common.DescriptorType = ACPI_DESC_TYPE_PARSER;
214 Op->Common.AmlOpcode = Opcode;
216 ACPI_DISASM_ONLY_MEMBERS (AcpiUtSafeStrncpy (Op->Common.AmlOpName,
218 sizeof (Op->Common.AmlOpName)));
226 * PARAMETERS: Opcode - Opcode that will be stored in the new Op
229 * RETURN: Pointer to the new Op, null on failure
242 ACPI_PARSE_OBJECT *Op;
273 Op = AcpiOsAcquireObject (AcpiGbl_PsNodeCache);
279 Op = AcpiOsAcquireObject (AcpiGbl_PsNodeExtCache);
282 /* Initialize the Op */
284 if (Op)
286 AcpiPsInitOp (Op, Opcode);
287 Op->Common.Aml = Aml;
288 Op->Common.Flags = Flags;
289 ASL_CV_CLEAR_OP_COMMENTS(Op);
293 AcpiGbl_CurrentScope = Op;
298 ASL_CV_TRANSFER_COMMENTS (Op);
302 return (Op);
310 * PARAMETERS: Op - Op to be freed
314 * DESCRIPTION: Free an Op object. Either put it on the GENERIC_OP cache list
321 ACPI_PARSE_OBJECT *Op)
326 ASL_CV_CLEAR_OP_COMMENTS(Op);
327 if (Op->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP)
330 "Free retval op: %p\n", Op));
333 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
335 (void) AcpiOsReleaseObject (AcpiGbl_PsNodeCache, Op);
339 (void) AcpiOsReleaseObject (AcpiGbl_PsNodeExtCache, Op);
369 ACPI_PARSE_OBJECT *Op)
374 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
381 return (Op->Named.Name);
390 ACPI_PARSE_OBJECT *Op,
396 if (Op->Common.Flags & ACPI_PARSEOP_GENERIC)
401 Op->Named.Name = name;