XenevaOS
Loading...
Searching...
No Matches
PciCf8Lib.h
Go to the documentation of this file.
1
19#ifndef __PCI_CF8_LIB_H__
20#define __PCI_CF8_LIB_H__
21
22
39#define PCI_CF8_LIB_ADDRESS(Bus,Device,Function,Offset) \
40 (((Offset) & 0xfff) | (((Function) & 0x07) << 12) | (((Device) & 0x1f) << 15) | (((Bus) & 0xff) << 20))
41
68 );
69
90 );
91
109UINT8
110EFIAPI
113 IN UINT8 Value
114 );
115
137UINT8
138EFIAPI
141 IN UINT8 OrData
142 );
143
165UINT8
166EFIAPI
169 IN UINT8 AndData
170 );
171
195UINT8
196EFIAPI
199 IN UINT8 AndData,
200 IN UINT8 OrData
201 );
202
225UINT8
226EFIAPI
229 IN UINTN StartBit,
230 IN UINTN EndBit
231 );
232
258UINT8
259EFIAPI
262 IN UINTN StartBit,
263 IN UINTN EndBit,
264 IN UINT8 Value
265 );
266
295UINT8
296EFIAPI
299 IN UINTN StartBit,
300 IN UINTN EndBit,
301 IN UINT8 OrData
302 );
303
332UINT8
333EFIAPI
336 IN UINTN StartBit,
337 IN UINTN EndBit,
338 IN UINT8 AndData
339 );
340
373UINT8
374EFIAPI
377 IN UINTN StartBit,
378 IN UINTN EndBit,
379 IN UINT8 AndData,
380 IN UINT8 OrData
381 );
382
400UINT16
401EFIAPI
404 );
405
424UINT16
425EFIAPI
428 IN UINT16 Value
429 );
430
453UINT16
454EFIAPI
457 IN UINT16 OrData
458 );
459
482UINT16
483EFIAPI
486 IN UINT16 AndData
487 );
488
513UINT16
514EFIAPI
517 IN UINT16 AndData,
518 IN UINT16 OrData
519 );
520
544UINT16
545EFIAPI
548 IN UINTN StartBit,
549 IN UINTN EndBit
550 );
551
578UINT16
579EFIAPI
582 IN UINTN StartBit,
583 IN UINTN EndBit,
584 IN UINT16 Value
585 );
586
616UINT16
617EFIAPI
620 IN UINTN StartBit,
621 IN UINTN EndBit,
622 IN UINT16 OrData
623 );
624
654UINT16
655EFIAPI
658 IN UINTN StartBit,
659 IN UINTN EndBit,
660 IN UINT16 AndData
661 );
662
696UINT16
697EFIAPI
700 IN UINTN StartBit,
701 IN UINTN EndBit,
702 IN UINT16 AndData,
703 IN UINT16 OrData
704 );
705
723UINT32
724EFIAPI
727 );
728
747UINT32
748EFIAPI
751 IN UINT32 Value
752 );
753
776UINT32
777EFIAPI
780 IN UINT32 OrData
781 );
782
805UINT32
806EFIAPI
809 IN UINT32 AndData
810 );
811
836UINT32
837EFIAPI
840 IN UINT32 AndData,
841 IN UINT32 OrData
842 );
843
867UINT32
868EFIAPI
871 IN UINTN StartBit,
872 IN UINTN EndBit
873 );
874
901UINT32
902EFIAPI
905 IN UINTN StartBit,
906 IN UINTN EndBit,
907 IN UINT32 Value
908 );
909
939UINT32
940EFIAPI
943 IN UINTN StartBit,
944 IN UINTN EndBit,
945 IN UINT32 OrData
946 );
947
977UINT32
978EFIAPI
981 IN UINTN StartBit,
982 IN UINTN EndBit,
983 IN UINT32 AndData
984 );
985
1019UINT32
1020EFIAPI
1023 IN UINTN StartBit,
1024 IN UINTN EndBit,
1025 IN UINT32 AndData,
1026 IN UINT32 OrData
1027 );
1028
1053UINTN
1054EFIAPI
1056 IN UINTN StartAddress,
1057 IN UINTN Size,
1058 OUT VOID *Buffer
1059 );
1060
1086UINTN
1087EFIAPI
1089 IN UINTN StartAddress,
1090 IN UINTN Size,
1091 IN VOID *Buffer
1092 );
1093
1094#endif
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define IN
Definition Base.h:347
UINTN RETURN_STATUS
Definition Base.h:965
#define OUT
Definition Base.h:352
uint32_t Size
Definition pe.h:1
UINT8 EFIAPI PciCf8Read8(IN UINTN Address)
UINT32 EFIAPI PciCf8BitFieldOr32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 OrData)
UINT32 EFIAPI PciCf8BitFieldRead32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit)
UINT32 EFIAPI PciCf8BitFieldWrite32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 Value)
UINT8 EFIAPI PciCf8And8(IN UINTN Address, IN UINT8 AndData)
UINT32 EFIAPI PciCf8Write32(IN UINTN Address, IN UINT32 Value)
UINT32 EFIAPI PciCf8And32(IN UINTN Address, IN UINT32 AndData)
UINTN EFIAPI PciCf8WriteBuffer(IN UINTN StartAddress, IN UINTN Size, IN VOID *Buffer)
UINT8 EFIAPI PciCf8BitFieldWrite8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 Value)
UINT32 EFIAPI PciCf8Or32(IN UINTN Address, IN UINT32 OrData)
UINT32 EFIAPI PciCf8Read32(IN UINTN Address)
UINT8 EFIAPI PciCf8AndThenOr8(IN UINTN Address, IN UINT8 AndData, IN UINT8 OrData)
UINT8 EFIAPI PciCf8BitFieldRead8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit)
UINT8 EFIAPI PciCf8Or8(IN UINTN Address, IN UINT8 OrData)
UINT16 EFIAPI PciCf8BitFieldOr16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 OrData)
UINT16 EFIAPI PciCf8Write16(IN UINTN Address, IN UINT16 Value)
UINT16 EFIAPI PciCf8And16(IN UINTN Address, IN UINT16 AndData)
UINT8 EFIAPI PciCf8BitFieldAndThenOr8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData, IN UINT8 OrData)
UINT8 EFIAPI PciCf8Write8(IN UINTN Address, IN UINT8 Value)
UINT32 EFIAPI PciCf8AndThenOr32(IN UINTN Address, IN UINT32 AndData, IN UINT32 OrData)
RETURN_STATUS EFIAPI PciCf8RegisterForRuntimeAccess(IN UINTN Address)
UINT32 EFIAPI PciCf8BitFieldAndThenOr32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData, IN UINT32 OrData)
UINT16 EFIAPI PciCf8Read16(IN UINTN Address)
UINT16 EFIAPI PciCf8Or16(IN UINTN Address, IN UINT16 OrData)
UINT16 EFIAPI PciCf8BitFieldAndThenOr16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData, IN UINT16 OrData)
UINT16 EFIAPI PciCf8BitFieldAnd16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 AndData)
UINT8 EFIAPI PciCf8BitFieldAnd8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 AndData)
UINT16 EFIAPI PciCf8AndThenOr16(IN UINTN Address, IN UINT16 AndData, IN UINT16 OrData)
UINT16 EFIAPI PciCf8BitFieldWrite16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT16 Value)
UINT8 EFIAPI PciCf8BitFieldOr8(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT8 OrData)
UINTN EFIAPI PciCf8ReadBuffer(IN UINTN StartAddress, IN UINTN Size, OUT VOID *Buffer)
UINT32 EFIAPI PciCf8BitFieldAnd32(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit, IN UINT32 AndData)
UINT16 EFIAPI PciCf8BitFieldRead16(IN UINTN Address, IN UINTN StartBit, IN UINTN EndBit)
#define VOID
Definition acefi.h:190
ACPI_PHYSICAL_ADDRESS Address
Definition acpixf.h:637
unsigned short UINT16
Definition actypes.h:237
unsigned char UINT8
Definition actypes.h:236