#include "acpi.h"
#include "accommon.h"
#include "acevents.h"
Go to the source code of this file.
|
static ACPI_STATUS | AcpiHwEnableWakeupGpeBlock (ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context) |
|
static ACPI_STATUS | AcpiHwGpeEnableWrite (UINT8 EnableMask, ACPI_GPE_REGISTER_INFO *GpeRegisterInfo) |
|
UINT32 | AcpiHwGetGpeRegisterBit (ACPI_GPE_EVENT_INFO *GpeEventInfo) |
|
ACPI_STATUS | AcpiHwLowSetGpe (ACPI_GPE_EVENT_INFO *GpeEventInfo, UINT32 Action) |
|
ACPI_STATUS | AcpiHwClearGpe (ACPI_GPE_EVENT_INFO *GpeEventInfo) |
|
ACPI_STATUS | AcpiHwGetGpeStatus (ACPI_GPE_EVENT_INFO *GpeEventInfo, ACPI_EVENT_STATUS *EventStatus) |
|
ACPI_STATUS | AcpiHwDisableGpeBlock (ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context) |
|
ACPI_STATUS | AcpiHwClearGpeBlock (ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context) |
|
ACPI_STATUS | AcpiHwEnableRuntimeGpeBlock (ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context) |
|
static ACPI_STATUS | AcpiHwGetGpeBlockStatus (ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *RetPtr) |
|
ACPI_STATUS | AcpiHwDisableAllGpes (void) |
|
ACPI_STATUS | AcpiHwEnableAllRuntimeGpes (void) |
|
ACPI_STATUS | AcpiHwEnableAllWakeupGpes (void) |
|
UINT8 | AcpiHwCheckAllGpes (void) |
|
◆ _COMPONENT
◆ AcpiHwCheckAllGpes()
Definition at line 677 of file hwgpe.c.
679{
681
682
684
686 return (Ret != 0);
687}
#define ACPI_FUNCTION_TRACE(a)
ACPI_STATUS AcpiEvWalkGpeList(ACPI_GPE_CALLBACK GpeWalkCallback, void *Context)
static ACPI_STATUS AcpiHwGetGpeBlockStatus(ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *RetPtr)
UINT8 AcpiHwCheckAllGpes(void)
Referenced by AcpiAnyGpeStatusSet(), and AcpiHwCheckAllGpes().
◆ AcpiHwClearGpe()
Definition at line 190 of file hwgpe.c.
192{
196
197
199
200
201
203 if (!GpeRegisterInfo)
204 {
206 }
207
208
209
210
211
213
216}
ACPI_GPE_EVENT_INFO * GpeEventInfo
#define ACPI_FUNCTION_ENTRY()
UINT32 AcpiHwGetGpeRegisterBit(ACPI_GPE_EVENT_INFO *GpeEventInfo)
ACPI_STATUS AcpiHwWrite(UINT64 Value, ACPI_GENERIC_ADDRESS *Reg)
struct acpi_gpe_register_info * RegisterInfo
ACPI_GENERIC_ADDRESS StatusAddress
Referenced by AcpiClearGpe(), AcpiEvAddGpeReference(), AcpiEvFinishGpe(), and AcpiEvGpeDispatch().
◆ AcpiHwClearGpeBlock()
Definition at line 404 of file hwgpe.c.
408{
411
412
413
414
416 {
417
418
421 {
423 }
424 }
425
427}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
ACPI_GPE_REGISTER_INFO * RegisterInfo
Referenced by AcpiHwClearAcpiStatus().
◆ AcpiHwDisableAllGpes()
◆ AcpiHwDisableGpeBlock()
◆ AcpiHwEnableAllRuntimeGpes()
◆ AcpiHwEnableAllWakeupGpes()
◆ AcpiHwEnableRuntimeGpeBlock()
Definition at line 445 of file hwgpe.c.
449{
454
455
456
457
458
459
461 {
464 {
465 continue;
466 }
467
468
469
471 ~GpeRegisterInfo->MaskForRun;
474 {
476 }
477 }
478
480}
Referenced by AcpiHwEnableAllRuntimeGpes().
◆ AcpiHwEnableWakeupGpeBlock()
◆ AcpiHwGetGpeBlockStatus()
Definition at line 544 of file hwgpe.c.
548{
555
556
557
558
560 {
562
565 {
566 continue;
567 }
568
571 {
572 continue;
573 }
574
575 *Ret |= InEnable & InStatus;
576 }
577
579}
unsigned long long UINT64
ACPI_STATUS AcpiHwRead(UINT64 *Value, ACPI_GENERIC_ADDRESS *Reg)
ACPI_GENERIC_ADDRESS EnableAddress
Referenced by AcpiHwCheckAllGpes().
◆ AcpiHwGetGpeRegisterBit()
◆ AcpiHwGetGpeStatus()
Definition at line 233 of file hwgpe.c.
236{
242
243
245
246
247 if (!EventStatus)
248 {
250 }
251
252
253
256 {
258 }
259
260
261
263
264
265
267
268
269
271 {
273 }
274
275
276
277 if (RegisterBit & GpeRegisterInfo->
MaskForRun)
278 {
280 }
281
282
283
285 {
287 }
288
289
290
293 {
295 }
296
297 if (RegisterBit & InByte)
298 {
300 }
301
302
303
306 {
308 }
309
310 if (RegisterBit & InByte)
311 {
313 }
314
315
316
317 (*EventStatus) = LocalEventStatus;
319}
#define ACPI_EVENT_FLAG_ENABLED
#define ACPI_EVENT_FLAG_MASKED
#define ACPI_GPE_DISPATCH_NONE
#define ACPI_GPE_DISPATCH_TYPE(flags)
#define ACPI_EVENT_FLAG_HAS_HANDLER
#define ACPI_EVENT_FLAG_STATUS_SET
#define ACPI_EVENT_FLAG_ENABLE_SET
#define ACPI_EVENT_FLAG_WAKE_ENABLED
Referenced by AcpiGetGpeStatus().
◆ AcpiHwGpeEnableWrite()
◆ AcpiHwLowSetGpe()