| /src/sys/external/bsd/acpica/dist/events/ |
| evregion.c | 3 * Module Name: evregion - Operation Region support 81 * an installed default region handler. 128 * PARAMETERS: RegionObj - Internal region object 131 * RegionOffset - Where in the region to read or write 138 * DESCRIPTION: Dispatch an address space or operation region access to 141 * NOTE: During early initialization, we always install the default region 143 * region address spaces are always available as per the ACPI specification. 179 /* Ensure that there is a handler associated with this region */ 181 HandlerDesc = RegionObj->Region.Handler; 185 "No handler for Region [%4.4s] (%p) [%s]" [all...] |
| evrgnini.c | 58 * PARAMETERS: Handle - Region we are interested in 61 * RegionContext - Region specific context 65 * DESCRIPTION: Setup a SystemMemory operation region 113 /* Save the region length and address for use in the handler */ 115 LocalRegionContext->Length = RegionDesc->Region.Length; 116 LocalRegionContext->Address = RegionDesc->Region.Address; 127 * PARAMETERS: Handle - Region we are interested in 130 * RegionContext - Region specific context 134 * DESCRIPTION: Setup a IO operation region 165 * PARAMETERS: Handle - Region we are interested i [all...] |
| evhandler.c | 209 * of type Region or Device. 287 "Found handler for region [%s] in device %p(%p) handler %p\n", 308 /* Object is a Region */ 310 if (ObjDesc->Region.SpaceId != HandlerObj->AddressSpace.SpaceId) 312 /* This region is for a different address space, just ignore it */ 318 * Now we have a region and it is for the handler's address space type. 320 * First disconnect region for any previous handler (if any) 324 /* Connect the region to the new handler */ 552 "Installing address handler for region %s(%X) " 593 * Each region that uses the handler adds a reference [all...] |
| /src/sys/external/bsd/acpica/dist/executer/ |
| exfield.c | 98 * PARAMETERS: ProtocolId - The type of the protocol indicated by region 188 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS || 189 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS || 190 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_IPMI || 191 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_RT || 192 ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_FIXED_HARDWARE)) 244 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) 252 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)) 354 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_GPIO)) 362 (ObjDesc->Field.RegionObj->Region.SpaceId == ACPI_ADR_SPACE_SMBUS | [all...] |
| excreate.c | 256 * PARAMETERS: AmlStart - Pointer to the region declaration AML 258 * SpaceId - Address space ID for the region 263 * DESCRIPTION: Create a new operation region object 288 * If the region object is already attached to this node, 304 * a table load for this exception. Instead, if the region is 311 ACPI_DEBUG_PRINT ((ACPI_DB_LOAD, "Region Type - %s (0x%X)\n", 314 /* Create the region descriptor */ 340 /* Init the region from the operands */ 342 ObjDesc->Region.SpaceId = SpaceId; 343 ObjDesc->Region.Address = 0 [all...] |
| exfldio.c | 86 * AcpiExInsertIntoField. Initialize the Region if necessary and 106 /* We must have a valid region */ 110 ACPI_ERROR ((AE_INFO, "Needed Region, found type 0x%X (%s)", 117 SpaceId = RgnDesc->Region.SpaceId; 129 * If the Region Address and Length have not been previously evaluated, 157 * access (because we know the length of the parent region) 170 * length of one field datum (access width) must fit within the region. 171 * (Region length is specified in bytes) 173 if (RgnDesc->Region.Length < 181 * field if it is within the region length rounded up to the nex [all...] |
| exdump.c | 169 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Region.SpaceId), "Space Id"}, 170 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Region.Flags), "Flags"}, 171 {ACPI_EXD_NODE, ACPI_EXD_OFFSET (Region.Node), "Parent Node"}, 172 {ACPI_EXD_ADDRESS, ACPI_EXD_OFFSET (Region.Address), "Address"}, 173 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET (Region.Length), "Length"}, 174 {ACPI_EXD_HDLR_LIST,ACPI_EXD_OFFSET (Region.Handler), "Handler"}, 175 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Region.Next), "Next"} 219 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Field.RegionObj), "Region Object"}, 228 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (BankField.RegionObj), "Region Object"}, 259 {ACPI_EXD_RGN_LIST, ACPI_EXD_OFFSET (AddressSpace.RegionList), "Region List"} [all...] |
| exserial.c | 198 * hold the data and then directly access the region handler. 208 switch (ObjDesc->Field.RegionObj->Region.SpaceId) 276 /* Call the region handler for the write-then-read */ 347 switch (ObjDesc->Field.RegionObj->Region.SpaceId)
|
| exconfig.c | 278 * PARAMETERS: ObjDesc - Region descriptor 284 * DESCRIPTION: Read data from an operation region. The read starts from the 285 * beginning of the region. 325 * PARAMETERS: ObjDesc - Region or Buffer/Field where the table will be 332 * DESCRIPTION: Load an ACPI table from a field or operation region 334 * NOTE: Region Fields (Field, BankField, IndexFields) are resolved to buffer 337 * If source is an operation region, it must refer to SystemMemory, as 378 "Load table from Region %p\n", ObjDesc)); 380 /* Region must be SystemMemory (from ACPI spec) */ 382 if (ObjDesc->Region.SpaceId != ACPI_ADR_SPACE_SYSTEM_MEMORY [all...] |
| exprep.c | 77 * PARAMETERS: FieldBitOffset - Start of field within parent region/buffer 88 * conditions (end-of-region). However, the RegionLength is a deferred 90 * of this access width must be deferred until the region length has 135 * and does not go beyond the end of the region 143 * this does not go beyond the end of the parent region. 162 "AccessWidth %u end is within region\n", AccessByteWidth)); 180 * Fits in the region, but requires more than one read/write. 192 "AccessWidth %u end is NOT within region\n", 197 "Field goes beyond end-of-region!\n")); 199 /* Field does not fit in the region at all * [all...] |
| /src/sys/external/bsd/acpica/dist/dispatcher/ |
| dsopcode.c | 73 * PARAMETERS: ObjHandle - Region namespace node 398 * Op - A valid region Op object 402 * DESCRIPTION: Get region address and length 467 ObjDesc->Region.Length = (UINT32) OperandDesc->Integer.Value; 470 /* A zero-length operation region is unusable. Just warn */ 472 if (!ObjDesc->Region.Length && (SpaceId < ACPI_NUM_PREDEFINED_REGIONS)) 475 "Operation Region [%4.4s] has zero length (SpaceId %X)", 485 ObjDesc->Region.Address = (ACPI_PHYSICAL_ADDRESS) 490 ObjDesc, ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), 491 ObjDesc->Region.Length)) [all...] |
| dsargs.c | 76 * DESCRIPTION: Late (deferred) execution of region or field arguments 385 * PARAMETERS: ObjDesc - A valid region object 389 * DESCRIPTION: Get region address and length. This implements the late 390 * evaluation of these region attributes. 406 if (ObjDesc->Region.Flags & AOPOBJ_DATA_VALID) 417 /* Get the Region node */ 419 Node = ObjDesc->Region.Node; 437 Status = AcpiUtAddAddressRange (ObjDesc->Region.SpaceId, 438 ObjDesc->Region.Address, ObjDesc->Region.Length, Node) [all...] |
| dsfield.c | 88 * Path - Pathname of the region 90 * Node - Where the new region node is returned 94 * DESCRIPTION: Add region to the external list if NOT_FOUND. Create a new 95 * region node/object. 130 /* Must create and install a region object for the new node */ 138 ObjDesc->Region.Node = *Node; 524 * RegionNode - Object for the containing Operation Region 529 * DESCRIPTION: Create a new field in the specified operation region 587 if (Info.RegionNode->Object->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM) 590 ACPI_ALLOCATE_ZEROED(Info.RegionNode->Object->Region.Length) [all...] |
| /src/sys/external/bsd/acpica/dist/tools/acpiexec/ |
| aeregion.c | 57 * PARAMETERS: Standard region handler parameters 106 /* If the object is not a region, simply return */ 108 if (RegionObject->Region.Type != ACPI_TYPE_REGION) 118 "Region handler received incorrect context %p, should be %p\n", 125 * Find the region's address space and length before searching 128 BaseAddress = RegionObject->Region.Address; 129 Length = RegionObject->Region.Length; 130 SpaceId = RegionObject->Region.SpaceId; 133 "Operation Region request on %s at 0x%X, BitWidth 0x%X, RegionLength 0x%X\n", 134 AcpiUtGetRegionName (RegionObject->Region.SpaceId) [all...] |
| /src/sys/external/bsd/acpica/dist/utilities/ |
| utdelete.c | 233 "***** Region %p\n", Object)); 239 if (!(Object->Region.Node->Flags & ANOBJ_TEMPORARY)) 241 AcpiUtRemoveAddressRange (Object->Region.SpaceId, 242 Object->Region.Node); 253 HandlerDesc = Object->Region.Handler; 260 /* Remove the region object from the handler list */ 266 *LastObjPtr = NextDesc->Region.Next; 272 LastObjPtr = &NextDesc->Region.Next; 273 NextDesc = NextDesc->Region.Next; 280 "Circular region list in address handler object %p" [all...] |
| utcopy.c | 818 * We copied the Region Handler, so we now must add a reference 820 if (DestDesc->Region.Handler) 822 AcpiUtAddReference (DestDesc->Region.Handler);
|
| /src/sys/external/bsd/acpica/dist/namespace/ |
| nsdump.c | 393 AcpiUtGetRegionName (ObjDesc->Region.SpaceId)); 394 if (ObjDesc->Region.Flags & AOPOBJ_DATA_VALID) 397 ACPI_FORMAT_UINT64 (ObjDesc->Region.Address), 398 ObjDesc->Region.Length); 426 ObjDesc->CommonField.RegionObj->Region.Node)); 433 ObjDesc->CommonField.RegionObj->Region.Node),
|
| nsobject.c | 249 AcpiUtRemoveAddressRange(ObjDesc->Region.SpaceId, Node);
|
| /src/sys/dev/acpi/ |
| acpi_i2c.c | 283 if (region_obj->Region.Type != ACPI_TYPE_REGION) { 287 base_address = region_obj->Region.Address; 288 KASSERT(region_obj->Region.SpaceId == ACPI_ADR_SPACE_GSBUS); 316 __func__, AcpiUtGetRegionName(region_obj->Region.SpaceId),
|
| acpi_gpio.c | 89 if (region_obj->Region.Type != ACPI_TYPE_REGION) {
|
| /src/sys/external/bsd/acpica/dist/debugger/ |
| dbtest.c | 857 switch (RegionObj->Region.SpaceId) 884 ByteLength, AcpiUtGetRegionName (RegionObj->Region.SpaceId)); 891 AcpiUtGetRegionName (RegionObj->Region.SpaceId), 892 RegionObj->Region.Node->Name.Ascii);
|
| dbstats.c | 249 AcpiDbEnumerateObject (ObjDesc->Region.Handler); 499 AcpiOsPrintf ("Region %3d\n", (UINT32) sizeof (ACPI_OBJECT_REGION));
|
| dbnames.c | 648 if (Node->Object->Field.RegionObj->Region.SpaceId != Info->AddressSpaceId)
|
| /src/sys/external/bsd/acpica/dist/include/ |
| acobject.h | 97 #define AOPOBJ_OBJECT_INITIALIZED 0x08 /* Region is initialized */ 99 #define AOPOBJ_SETUP_COMPLETE 0x20 /* Region setup is complete */ 100 #define AOPOBJ_INVALID 0x40 /* Host OS won't allow a Region address */ 204 union acpi_operand_object *Handler; /* Handler for region access */ 330 /* COMMON FIELD (for BUFFER, REGION, BANK, and INDEX fields) */ 336 union acpi_operand_object *RegionObj; /* Parent Operation Region object (REGION/BANK fields only) */ 476 * Currently: Region and FieldUnit types 481 ACPI_NAMESPACE_NODE *Method_REG; /* _REG method for this region (if any) */ 483 void *RegionContext; /* Region-specific data * [all...] |
| /src/sys/external/bsd/acpica/dist/common/ |
| dmextern.c | 1085 /* Regions require a region sub-object */ 1088 ObjDesc->Region.Node = *Node;
|