| /src/sys/external/bsd/acpica/dist/resources/ |
| rsserial.c | 3 * Module Name: rsserial - GPIO/SerialBus resource descriptors 181 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET (Data.Gpio.RevisionId), 182 AML_OFFSET (Gpio.RevisionId), 185 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.Gpio.ProducerConsumer), 186 AML_OFFSET (Gpio.Flags), 189 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.Gpio.Shareable), 190 AML_OFFSET (Gpio.IntFlags), 193 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.Gpio.WakeCapable), 194 AML_OFFSET (Gpio.IntFlags), 197 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET (Data.Gpio.IoRestriction) [all...] |
| rscalc.c | 468 (Resource->Data.Gpio.PinTableLength * 2) + 469 Resource->Data.Gpio.ResourceSource.StringLength + 470 Resource->Data.Gpio.VendorLength); 707 if (AmlResource->Gpio.VendorLength) 710 AmlResource->Gpio.VendorOffset - 711 AmlResource->Gpio.PinTableOffset + 712 AmlResource->Gpio.VendorLength; 719 AmlResource->Gpio.PinTableOffset;
|
| rsdumpinfo.c | 345 {ACPI_RSD_TITLE, ACPI_RSD_TABLE_SIZE (AcpiRsDumpGpio), "GPIO", NULL}, 346 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET (Gpio.RevisionId), "RevisionId", NULL}, 347 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET (Gpio.ConnectionType), "ConnectionType", AcpiGbl_CtDecode}, 348 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (Gpio.ProducerConsumer), "ProducerConsumer", AcpiGbl_ConsumeDecode}, 349 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET (Gpio.PinConfig), "PinConfig", AcpiGbl_PpcDecode}, 350 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (Gpio.Shareable), "Sharing", AcpiGbl_ShrDecode}, 351 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (Gpio.IoRestriction), "IoRestriction", AcpiGbl_IorDecode}, 352 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (Gpio.Triggering), "Triggering", AcpiGbl_HeDecode}, 353 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (Gpio.Polarity), "Polarity", AcpiGbl_LlDecode}, 354 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET (Gpio.DriveStrength), "DriveStrength", NULL} [all...] |
| /src/sys/external/bsd/acpica/dist/disassembler/ |
| dmresrcl2.c | 299 * DESCRIPTION: Decode common parts of a GPIO Interrupt descriptor 319 if (Resource->Gpio.ResSourceOffset) 322 Resource, Resource->Gpio.ResSourceOffset); 327 AcpiOsPrintf ("0x%2.2X, ", Resource->Gpio.ResSourceIndex); 329 AcpiGbl_ConsumeDecode [ACPI_GET_1BIT_FLAG (Resource->Gpio.Flags)]); 338 if (Resource->Gpio.VendorOffset) 343 Resource->Gpio.VendorOffset); 346 Resource->Gpio.VendorLength, Level); 356 PinCount = ((UINT32) (Resource->Gpio.ResSourceOffset - 357 Resource->Gpio.PinTableOffset)) [all...] |
| /src/sys/external/bsd/acpica/dist/compiler/ |
| aslrestype2s.c | 181 * This module contains descriptors for serial buses and GPIO: 256 * DESCRIPTION: Get the length of a list of interrupt DWORDs for the GPIO 277 /* Interrupt list starts at offset StartIndex (Gpio descriptors) */ 478 Descriptor->Gpio.ResourceLength = DescriptorSize; 479 Descriptor->Gpio.DescriptorType = ACPI_RESOURCE_NAME_GPIO; 480 Descriptor->Gpio.RevisionId = AML_RESOURCE_GPIO_REVISION; 481 Descriptor->Gpio.ConnectionType = AML_RESOURCE_GPIO_TYPE_INT; 493 Descriptor->Gpio.PinTableOffset = (UINT16) 496 Descriptor->Gpio.ResSourceOffset = (UINT16) 507 RsSetFlagBits16 (&Descriptor->Gpio.IntFlags, InitializerOp, 0, 0) [all...] |
| aslmapenter.c | 179 * PARAMETERS: Resource - GPIO resource descriptor 180 * PinCount - From GPIO descriptor 181 * PinList - From GPIO descriptor 187 * Save GPIO resource descriptor information. 188 * Creates new GPIO info blocks, one for each pin defined by the 189 * GPIO descriptor. 223 Info->Type = Resource->Gpio.ConnectionType; 224 Info->Direction = (UINT8) (Resource->Gpio.IntFlags & 0x0003); /* _IOR, for IO descriptor */ 225 Info->Polarity = (UINT8) ((Resource->Gpio.IntFlags >> 1) & 0x0003); /* _POL, for INT descriptor */ 308 * PARAMETERS: PinNumber - GPIO pin numbe [all...] |
| /src/sys/dev/acpi/ |
| acpi_gpio.c | 33 * ACPI GPIO resource support. 36 #include "gpio.h" 43 #include <sys/gpio.h> 45 #include <dev/gpio/gpiovar.h> 103 if (res->Data.Gpio.PinTableLength != 1) { 107 res->Data.Gpio.PinTableLength); 113 &res->Data.Gpio, &gpiop); 187 /* Find the device node providing the GPIO resource. */ 239 if (res->Data.Gpio.ConnectionType != ctx->conntype) { 243 ctx->res = &res->Data.Gpio; 259 ACPI_RESOURCE_GPIO *gpio; local in function:acpi_gpio_get_int [all...] |
| acpi_event.c | 99 ACPI_RESOURCE_GPIO *gpio; local in function:acpi_event_gpio_resource_cb 105 gpio = &res->Data.Gpio; 106 if (gpio->ConnectionType != ACPI_RESOURCE_GPIO_TYPE_INT) 108 if (gpio->PinTableLength != 1) 111 rv = acpi_event_create(ctx->ctx_dev, ctx->ctx_handle, gpio->PinTable[0], gpio->Triggering, &ev); 113 ctx->ctx_func(ctx->ctx_arg, ev, gpio);
|
| /src/sys/external/bsd/acpica/dist/common/ |
| dmrestag.c | 362 /* Subtype tables for GPIO descriptors */ 545 /* GPIO Subtypes */ 997 /* GPIO connection has 2 subtypes: Interrupt and I/O */ 999 if (Resource->Gpio.ConnectionType > AML_RESOURCE_MAX_GPIOTYPE) 1004 TagList = AcpiGbl_GpioResourceTags[Resource->Gpio.ConnectionType];
|
| /src/sys/external/bsd/acpica/dist/include/ |
| amlresrc.h | 829 AML_RESOURCE_GPIO Gpio;
|
| acrestyp.h | 585 /* Values for GPIO ConnectionType field above */ 900 ACPI_RESOURCE_GPIO Gpio;
|