Lines Matching defs:ObjDesc

128  *              ObjDesc             - The named field
141 ACPI_OPERAND_OBJECT *ObjDesc,
152 ACPI_FUNCTION_TRACE_PTR (ExReadDataFromField, ObjDesc);
157 if (!ObjDesc)
166 if (ObjDesc->Common.Type == ACPI_TYPE_BUFFER_FIELD)
172 if (!(ObjDesc->Common.Flags & AOPOBJ_DATA_VALID))
174 Status = AcpiDsGetBufferFieldArguments (ObjDesc);
181 else if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_REGION_FIELD) &&
182 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS ||
183 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS ||
184 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI))
193 if (ObjDesc->Field.RegionObj->Region.SpaceId ==
197 Function = ACPI_READ | (ObjDesc->Field.Attribute << 16);
199 else if (ObjDesc->Field.RegionObj->Region.SpaceId ==
202 AccessorType = ObjDesc->Field.Attribute;
204 AccessorType, ObjDesc->Field.AccessLength);
230 AcpiExAcquireGlobalLock (ObjDesc->CommonField.FieldFlags);
234 Status = AcpiExAccessRegion (ObjDesc, 0,
237 AcpiExReleaseGlobalLock (ObjDesc->CommonField.FieldFlags);
252 ObjDesc->Field.BitLength);
279 if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_REGION_FIELD) &&
280 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO))
290 ObjDesc->Field.PinNumberIndex, ObjDesc->Field.BitLength));
294 AcpiExAcquireGlobalLock (ObjDesc->CommonField.FieldFlags);
299 ObjDesc, 0, (UINT64 *) Buffer, ACPI_READ);
301 AcpiExReleaseGlobalLock (ObjDesc->CommonField.FieldFlags);
315 ObjDesc, ObjDesc->Common.Type, Buffer, (UINT32) Length));
318 ObjDesc->CommonField.BitLength,
319 ObjDesc->CommonField.StartFieldBitOffset,
320 ObjDesc->CommonField.BaseByteOffset));
324 AcpiExAcquireGlobalLock (ObjDesc->CommonField.FieldFlags);
328 Status = AcpiExExtractFromField (ObjDesc, Buffer, (UINT32) Length);
329 AcpiExReleaseGlobalLock (ObjDesc->CommonField.FieldFlags);
351 * ObjDesc - The named field
363 ACPI_OPERAND_OBJECT *ObjDesc,
374 ACPI_FUNCTION_TRACE_PTR (ExWriteDataToField, ObjDesc);
379 if (!SourceDesc || !ObjDesc)
384 if (ObjDesc->Common.Type == ACPI_TYPE_BUFFER_FIELD)
390 if (!(ObjDesc->Common.Flags & AOPOBJ_DATA_VALID))
392 Status = AcpiDsGetBufferFieldArguments (ObjDesc);
399 else if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_REGION_FIELD) &&
400 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS ||
401 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS ||
402 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI))
427 if (ObjDesc->Field.RegionObj->Region.SpaceId ==
431 Function = ACPI_WRITE | (ObjDesc->Field.Attribute << 16);
433 else if (ObjDesc->Field.RegionObj->Region.SpaceId ==
436 AccessorType = ObjDesc->Field.Attribute;
438 AccessorType, ObjDesc->Field.AccessLength);
479 AcpiExAcquireGlobalLock (ObjDesc->CommonField.FieldFlags);
486 ObjDesc, 0, (UINT64 *) Buffer, Function);
487 AcpiExReleaseGlobalLock (ObjDesc->CommonField.FieldFlags);
492 else if ((ObjDesc->Common.Type == ACPI_TYPE_LOCAL_REGION_FIELD) &&
493 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO))
512 ObjDesc->Field.PinNumberIndex, ObjDesc->Field.BitLength));
518 AcpiExAcquireGlobalLock (ObjDesc->CommonField.FieldFlags);
523 ObjDesc, 0, (UINT64 *) Buffer, ACPI_WRITE);
524 AcpiExReleaseGlobalLock (ObjDesc->CommonField.FieldFlags);
562 ObjDesc, AcpiUtGetTypeName (ObjDesc->Common.Type),
563 ObjDesc->Common.Type,
564 ObjDesc->CommonField.BitLength,
565 ObjDesc->CommonField.StartFieldBitOffset,
566 ObjDesc->CommonField.BaseByteOffset));
570 AcpiExAcquireGlobalLock (ObjDesc->CommonField.FieldFlags);
574 Status = AcpiExInsertIntoField (ObjDesc, Buffer, Length);
575 AcpiExReleaseGlobalLock (ObjDesc->CommonField.FieldFlags);