Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/
DVlvCommonDefinitions.h118 #define MmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
122 (UINTN)(Function << 12) + \
130 #define MmPci64Ptr( Segment, Bus, Device, Function, Register ) \ argument
131 ( (volatile UINT64 *)MmPciAddress( Segment, Bus, Device, Function, Register ) )
133 #define MmPci64( Segment, Bus, Device, Function, Register ) \ argument
134 *MmPci64Ptr( Segment, Bus, Device, Function, Register )
136 #define MmPci64Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
137 MmPci64( Segment, Bus, Device, Function, Register ) = \
139 MmPci64( Segment, Bus, Device, Function, Register ) | \
143 #define MmPci64And( Segment, Bus, Device, Function, Register, AndData ) \ argument
[all …]
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/
DPchCommonDefinitions.h96 #define PchPciDeviceMmBase(Bus, Device, Function) \ argument
99 (Function << 12) \
105 #define PchPciDeviceMmAddress(Segment, Bus, Device, Function, Register) \ argument
108 (Function << 12) + (UINTN) (Register) \
114 #define PchMmPci32Ptr(Segment, Bus, Device, Function, Register) \ argument
115 ((volatile UINT32 *) PchPciDeviceMmAddress (Segment, Bus, Device, Function, Register))
117 #define PchMmPci32(Segment, Bus, Device, Function, Register) *PchMmPci32Ptr (Segment, Bus, Device,… argument
119 #define PchMmPci32Or(Segment, Bus, Device, Function, Register, OrData) \ argument
124 Function, \
126 ) = (UINT32) (PchMmPci32 (Segment, Bus, Device, Function, Register) | (UINT32) (OrData))
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Include/
DQNCCommonDefinitions.h244 #define QNCMmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
248 (UINTN)(Function << 12) + \
255 #define PciDeviceMmBase( Bus, Device, Function) \ argument
259 (UINTN)(Function << 12) \
265 #define QNCMmPci32Ptr( Segment, Bus, Device, Function, Register ) \ argument
266 ( (volatile UINT32 *)QNCMmPciAddress( Segment, Bus, Device, Function, Register ) )
268 #define QNCMmPci32( Segment, Bus, Device, Function, Register ) \ argument
269 *QNCMmPci32Ptr( Segment, Bus, Device, Function, Register )
271 #define QNCMmPci32Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
272 QNCMmPci32( Segment, Bus, Device, Function, Register ) = \
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Include/
DIohCommonDefinitions.h246 #define IohMmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
250 (UINTN)(Function << 12) + \
257 #define IohMmPci32Ptr( Segment, Bus, Device, Function, Register ) \ argument
258 ( (volatile UINT32 *)IohMmPciAddress( Segment, Bus, Device, Function, Register ) )
260 #define IohMmPci32( Segment, Bus, Device, Function, Register ) \ argument
261 *IohMmPci32Ptr( Segment, Bus, Device, Function, Register )
263 #define IohMmPci32Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
264 IohMmPci32( Segment, Bus, Device, Function, Register ) = \
266 IohMmPci32( Segment, Bus, Device, Function, Register ) | \
270 #define IohMmPci32And( Segment, Bus, Device, Function, Register, AndData ) \ argument
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/
DArmVExpressSysConfigRuntimeLib.c69 IN UINT32 Function, in AccessSysCfgRegister() argument
91 …SysCfgCtrl = SYS_CFGCTRL_START | ReadWrite | SYS_CFGCTRL_FUNCTION(Function) | SYS_CFGCTRL_SITE(Sit… in AccessSysCfgRegister()
113 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigGet() argument
125 switch(Function) { in ArmPlatformSysConfigGet()
128 Function = SYS_CFG_OSC; in ArmPlatformSysConfigGet()
133 Function = SYS_CFG_OSC; in ArmPlatformSysConfigGet()
159 return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value); in ArmPlatformSysConfigGet()
164 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigGetValues() argument
174 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigSet() argument
186 switch(Function) { in ArmPlatformSysConfigSet()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/
DArmVExpressSysConfig.c66 IN UINT32 Function, in AccessSysCfgRegister() argument
84 …SysCfgCtrl = SYS_CFGCTRL_START | ReadWrite | SYS_CFGCTRL_FUNCTION(Function) | SYS_CFGCTRL_SITE(Sit… in AccessSysCfgRegister()
106 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigGet() argument
118 switch(Function) { in ArmPlatformSysConfigGet()
121 Function = SYS_CFG_OSC; in ArmPlatformSysConfigGet()
126 Function = SYS_CFG_OSC; in ArmPlatformSysConfigGet()
152 return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value); in ArmPlatformSysConfigGet()
157 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigGetValues() argument
167 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigSet() argument
179 switch(Function) { in ArmPlatformSysConfigSet()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcPei/
DSdMmcPciHcPei.c87 UINT16 Function; in InitializeSdMmcHcPeim() local
129 for (Function = 0; Function < 8; Function++) { in InitializeSdMmcHcPeim()
130 SubClass = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, 0x0A)); in InitializeSdMmcHcPeim()
131 BaseClass = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, 0x0B)); in InitializeSdMmcHcPeim()
137 SlotInfo = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, SD_MMC_HC_PEI_SLOT_OFFSET)); in InitializeSdMmcHcPeim()
146 …PciAnd16 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_COMMAND_OFFSET), (UINT16)~(EFI_PCI_COMMAND_B… in InitializeSdMmcHcPeim()
147 …PciWrite32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET + 4 * Slot), 0xFFFF… in InitializeSdMmcHcPeim()
148 … Size = PciRead32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET + 4 * Slot)); in InitializeSdMmcHcPeim()
162 … PciWrite32 (PCI_LIB_ADDRESS(Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET + 4), 0xFFFFFFFF); in InitializeSdMmcHcPeim()
163 … Size = PciRead32 (PCI_LIB_ADDRESS(Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET + 4)); in InitializeSdMmcHcPeim()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcPei/
DUfsPciHcPei.c83 UINT16 Function; in InitializeUfsHcPeim() local
117 for (Function = 0; Function < 8; Function++) { in InitializeUfsHcPeim()
118 SubClass = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, 0x0A)); in InitializeUfsHcPeim()
119 BaseClass = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, 0x0B)); in InitializeUfsHcPeim()
125 …PciAnd16 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_COMMAND_OFFSET), (UINT16)~(EFI_PCI_COMMAND_B… in InitializeUfsHcPeim()
126 … PciWrite32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET), 0xFFFFFFFF); in InitializeUfsHcPeim()
127 Size = PciRead32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET)); in InitializeUfsHcPeim()
132 …PciWrite32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET), (UINT32)(PcdGet32… in InitializeUfsHcPeim()
133 …PciOr16 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_COMMAND_OFFSET), (EFI_PCI_COMMAND_BUS_MASTER … in InitializeUfsHcPeim()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/
DArmPlatformSysConfigLibNull.c39 IN UINT32 Function, in AccessSysCfgRegister() argument
51 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigGet() argument
60 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigGetValues() argument
70 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigSet() argument
79 IN SYS_CONFIG_FUNCTION Function, in ArmPlatformSysConfigSetDevice() argument
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DDatabase.py182 for Function in File.FunctionList:
183 …FunctionID = self.TblFunction.Insert(Function.Header, Function.Modifier, Function.Name, Function.R…
184Function.StartLine, Function.StartColumn, Function.EndLine, Function.EndColumn, \
185 Function.BodyStartLine, Function.BodyStartColumn, FileID, \
186 Function.FunNameStartLine, Function.FunNameStartColumn)
189 for Identifier in Function.IdentifierList:
/device/linaro/bootloader/edk2/ArmPlatformPkg/Include/Library/
DArmPlatformSysConfigLib.h39 IN SYS_CONFIG_FUNCTION Function,
45 IN SYS_CONFIG_FUNCTION Function,
52 IN SYS_CONFIG_FUNCTION Function,
58 IN SYS_CONFIG_FUNCTION Function,
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DDatabase.py182 for Function in File.FunctionList:
183 …FunctionID = self.TblFunction.Insert(Function.Header, Function.Modifier, Function.Name, Function.R…
184Function.StartLine, Function.StartColumn, Function.EndLine, Function.EndColumn, \
185 Function.BodyStartLine, Function.BodyStartColumn, FileID, \
186 Function.FunNameStartLine, Function.FunNameStartColumn)
190 for Identifier in Function.IdentifierList:
196 for Pcd in Function.PcdList:
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DNotify.c35 ProtNotify->Function (&ProtEntry->ProtocolID, Prot->Interface, Prot->Handle); in SmmNotifyProtocol()
105 IN EFI_SMM_NOTIFY_FN Function, in SmmRegisterProtocolNotify() argument
118 if (Function == NULL) { in SmmRegisterProtocolNotify()
164 (ProtNotify->Function == Function)) { in SmmRegisterProtocolNotify()
182 ProtNotify->Function = Function; in SmmRegisterProtocolNotify()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/
DPciExpress.c56 UINT8 Function, in PcieFindCapId() argument
65 CapHeader = QNCMmPci8 (0, Bus, Device, Function, R_QNC_PCIE_CAP_PTR); in PcieFindCapId()
72 if (QNCMmPci8 (0, Bus, Device, Function, CapHeader) == CapId) { in PcieFindCapId()
75 CapHeader = QNCMmPci8 (0, Bus, Device, Function, CapHeader + 1); in PcieFindCapId()
101 UINT8 Function, in PcieFindExtendedCapId() argument
114 CapHeaderId = QNCMmPci16 (0, Bus, Device, Function, CapHeaderOffset); in PcieFindExtendedCapId()
118 CapHeaderOffset = (QNCMmPci16 (0, Bus, Device, Function, CapHeaderOffset + 2) >> 4); in PcieFindExtendedCapId()
332 UINT8 Function; in PcieSetClkreq() local
339 for (Function = 0; Function < 8; Function++) { in PcieSetClkreq()
343 CapOffset = PcieFindCapId (Bus, Device, Function, PCIE_CAPID); in PcieSetClkreq()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/MiscSubClassPlatformDxe/
DMiscSubclassDriver.h60 EFI_MISC_SMBIOS_DATA_FUNCTION *Function; member
68 extern EFI_MISC_SMBIOS_DATA_FUNCTION NAME3 ## Function
77 & NAME2 ## Function \
87 EFI_STATUS EFIAPI NAME2 ## Function( \
/device/linaro/bootloader/edk2/EmulatorPkg/MiscSubClassPlatformDxe/
DMiscSubClassDriver.h64 EFI_MISC_SMBIOS_DATA_FUNCTION *Function; member
72 extern EFI_MISC_SMBIOS_DATA_FUNCTION NAME3 ## Function
81 & NAME2 ## Function \
91 EFI_STATUS EFIAPI NAME2 ## Function( \
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DebugAgentLibNull/
DDebugAgentLibNull.c44 IN DEBUG_AGENT_CONTINUE Function OPTIONAL in InitializeDebugAgent()
47 if (Function != NULL) { in InitializeDebugAgent()
48 Function (Context); in InitializeDebugAgent()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/
DQuarkSouthCluster.asi19 Device (SDIO) // SDIO [Bus 0, Device 20, Function 0]
26 Device (URT0) // UART0 [Bus 0, Device 20, Function 1]
33 Device (USBD) // USB Device [Bus 0, Device 20, Function 2]
40 Device (EHCI) // EHCI [Bus 0, Device 20, Function 3]
47 Device (OHCI) // OHCI [Bus 0, Device 20, Function 4]
54 Device (URT1) // UART1 [Bus 0, Device 20, Function 5]
61 Device (ENT0) // Ethernet0 [Bus 0, Device 20, Function 6]
68 Device (ENT1) // Ethernet1 [Bus 0, Device 20, Function 7]
75 Device (SPI0) // SPI0 [Bus 0, Device 21, Function 0]
82 Device (SPI1) // SPI1 [Bus 0, Device 21, Function 1]
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/Ipf/
DEsalServiceLib.c70 IN SAL_INTERNAL_EXTENDED_SAL_PROC Function, in RegisterEsalFunction() argument
96 Function, in RegisterEsalFunction()
128 SAL_INTERNAL_EXTENDED_SAL_PROC Function; in RegisterEsalClass() local
136 Function = (SAL_INTERNAL_EXTENDED_SAL_PROC) VA_ARG (Args, SAL_INTERNAL_EXTENDED_SAL_PROC); in RegisterEsalClass()
137 if (Function == NULL) { in RegisterEsalClass()
143 Status = RegisterEsalFunction (FunctionId, ClassGuid, Function, ModuleGlobal); in RegisterEsalClass()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/
DUefiShellLevel1CommandsLib.c125 IN CONST LIST_MANIP_FUNC Function, in TestNodeForMove() argument
191 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &Command… in TestNodeForMove()
209 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &Command… in TestNodeForMove()
249 IN CONST LIST_MANIP_FUNC Function, in MoveToTag() argument
273 …for (CommandNode = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &ScriptFile->Curre… in MoveToTag()
275 … ; CommandNode = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &CommandNode->Link) in MoveToTag()
278 Function, in MoveToTag()
292 … ; CommandNode = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &CommandNode->Link) in MoveToTag()
295 Function, in MoveToTag()
/device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/
DXenSupport.c64 IN UINTN Function, in PcatPciRootBridgeParseBars() argument
88 PCI_LIB_ADDRESS (Bus, Device, Function, Offset), in PcatPciRootBridgeParseBars()
143 PCI_LIB_ADDRESS (Bus, Device, Function, Offset), in PcatPciRootBridgeParseBars()
181 UINT8 Function; in ScanForRootBridges() local
212 for (Function = 0; Function <= PCI_MAX_FUNC; Function++) { in ScanForRootBridges()
217 Address = PCI_LIB_ADDRESS (PrimaryBus, Device, Function, 0); in ScanForRootBridges()
223 if (Function == 0) { in ScanForRootBridges()
367 Function, in ScanForRootBridges()
424 if (Function == 0 && !IS_PCI_MULTI_FUNC (&Pci)) { in ScanForRootBridges()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/
DSmbiosMisc.h78 EFI_MISC_SMBIOS_DATA_FUNCTION *Function; member
98 extern EFI_MISC_SMBIOS_DATA_FUNCTION NAME3 ## Function
108 & NAME2 ## Function \
119 EFI_STATUS EFIAPI NAME2 ## Function( \
/device/linaro/bootloader/edk2/MdePkg/Include/Ipf/
DIpfMacro.i54 #define GLOBAL_FUNCTION(Function) \ argument
55 .##type Function, @function; \
56 .##globl Function
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DS3Save.c269 PciAddress.Function = 0;
281 PciAddress.Function,
307 PciAddress.Function = RegTable[Index++];
315 PciAddress.Function,
334 …oRead32 (MmPciAddress (0, PciAddress.Bus, PciAddress.Device, PciAddress.Function, PciAddress.Regis…
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/
DDispatchExecute.c86 IN UINT64 Function,
105 IN UINT64 Function, in Execute32BitCode() argument
141 ASSERT (Function != 0); in Execute32BitCode()
144 Function, in Execute32BitCode()

12345678910>>...14