OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Gpio
(Results
1 - 11
of
11
) sorted by relevancy
/src/sys/external/bsd/acpica/dist/resources/
rsserial.c
3
* Module Name: rsserial -
GPIO
/SerialBus resource descriptors
73
{ACPI_RSC_MOVE8, ACPI_RS_OFFSET (Data.
Gpio
.RevisionId),
74
AML_OFFSET (
Gpio
.RevisionId),
77
{ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.
Gpio
.ProducerConsumer),
78
AML_OFFSET (
Gpio
.Flags),
81
{ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.
Gpio
.Shareable),
82
AML_OFFSET (
Gpio
.IntFlags),
85
{ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.
Gpio
.WakeCapable),
86
AML_OFFSET (
Gpio
.IntFlags),
89
{ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET (Data.
Gpio
.IoRestriction)
[
all
...]
rscalc.c
360
(Resource->Data.
Gpio
.PinTableLength * 2) +
361
Resource->Data.
Gpio
.ResourceSource.StringLength +
362
Resource->Data.
Gpio
.VendorLength);
599
if (AmlResource->
Gpio
.VendorLength)
602
AmlResource->
Gpio
.VendorOffset -
603
AmlResource->
Gpio
.PinTableOffset +
604
AmlResource->
Gpio
.VendorLength;
611
AmlResource->
Gpio
.PinTableOffset;
rsdumpinfo.c
237
{ACPI_RSD_TITLE, ACPI_RSD_TABLE_SIZE (AcpiRsDumpGpio), "
GPIO
", NULL},
238
{ACPI_RSD_UINT8, ACPI_RSD_OFFSET (
Gpio
.RevisionId), "RevisionId", NULL},
239
{ACPI_RSD_UINT8, ACPI_RSD_OFFSET (
Gpio
.ConnectionType), "ConnectionType", AcpiGbl_CtDecode},
240
{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (
Gpio
.ProducerConsumer), "ProducerConsumer", AcpiGbl_ConsumeDecode},
241
{ACPI_RSD_UINT8, ACPI_RSD_OFFSET (
Gpio
.PinConfig), "PinConfig", AcpiGbl_PpcDecode},
242
{ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (
Gpio
.Shareable), "Sharing", AcpiGbl_ShrDecode},
243
{ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (
Gpio
.IoRestriction), "IoRestriction", AcpiGbl_IorDecode},
244
{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET (
Gpio
.Triggering), "Triggering", AcpiGbl_HeDecode},
245
{ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET (
Gpio
.Polarity), "Polarity", AcpiGbl_LlDecode},
246
{ACPI_RSD_UINT16, ACPI_RSD_OFFSET (
Gpio
.DriveStrength), "DriveStrength", NULL}
[
all
...]
/src/sys/external/bsd/acpica/dist/disassembler/
dmresrcl2.c
191
* DESCRIPTION: Decode common parts of a
GPIO
Interrupt descriptor
211
if (Resource->
Gpio
.ResSourceOffset)
214
Resource, Resource->
Gpio
.ResSourceOffset);
219
AcpiOsPrintf ("0x%2.2X, ", Resource->
Gpio
.ResSourceIndex);
221
AcpiGbl_ConsumeDecode [ACPI_GET_1BIT_FLAG (Resource->
Gpio
.Flags)]);
230
if (Resource->
Gpio
.VendorOffset)
235
Resource->
Gpio
.VendorOffset);
238
Resource->
Gpio
.VendorLength, Level);
248
PinCount = ((UINT32) (Resource->
Gpio
.ResSourceOffset -
249
Resource->
Gpio
.PinTableOffset))
[
all
...]
/src/sys/external/bsd/acpica/dist/compiler/
aslrestype2s.c
73
* This module contains descriptors for serial buses and
GPIO
:
148
* DESCRIPTION: Get the length of a list of interrupt DWORDs for the
GPIO
169
/* Interrupt list starts at offset StartIndex (
Gpio
descriptors) */
370
Descriptor->
Gpio
.ResourceLength = DescriptorSize;
371
Descriptor->
Gpio
.DescriptorType = ACPI_RESOURCE_NAME_GPIO;
372
Descriptor->
Gpio
.RevisionId = AML_RESOURCE_GPIO_REVISION;
373
Descriptor->
Gpio
.ConnectionType = AML_RESOURCE_GPIO_TYPE_INT;
385
Descriptor->
Gpio
.PinTableOffset = (UINT16)
388
Descriptor->
Gpio
.ResSourceOffset = (UINT16)
399
RsSetFlagBits16 (&Descriptor->
Gpio
.IntFlags, InitializerOp, 0, 0)
[
all
...]
aslmapenter.c
71
* PARAMETERS: Resource -
GPIO
resource descriptor
72
* PinCount - From
GPIO
descriptor
73
* PinList - From
GPIO
descriptor
79
* Save
GPIO
resource descriptor information.
80
* Creates new
GPIO
info blocks, one for each pin defined by the
81
*
GPIO
descriptor.
115
Info->Type = Resource->
Gpio
.ConnectionType;
116
Info->Direction = (UINT8) (Resource->
Gpio
.IntFlags & 0x0003); /* _IOR, for IO descriptor */
117
Info->Polarity = (UINT8) ((Resource->
Gpio
.IntFlags >> 1) & 0x0003); /* _POL, for INT descriptor */
200
* 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
[
all
...]
acpi_event.c
99
ACPI_RESOURCE_GPIO *
gpio
;
local
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
254
/* Subtype tables for
GPIO
descriptors */
437
/*
GPIO
Subtypes */
889
/*
GPIO
connection has 2 subtypes: Interrupt and I/O */
891
if (Resource->
Gpio
.ConnectionType > AML_RESOURCE_MAX_GPIOTYPE)
896
TagList = AcpiGbl_GpioResourceTags[Resource->
Gpio
.ConnectionType];
/src/sys/external/bsd/acpica/dist/include/
amlresrc.h
721
AML_RESOURCE_GPIO
Gpio
;
acrestyp.h
477
/* Values for
GPIO
ConnectionType field above */
792
ACPI_RESOURCE_GPIO
Gpio
;
Completed in 22 milliseconds
Indexes created Sat Feb 21 16:20:20 UTC 2026