Home
last modified time | relevance | path

Searched refs:Config (Results 1 – 25 of 78) sorted by relevance

1234

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
DPciRootBridgeIo.c1506 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Config; in RootBridgeIoConfiguration() local
1527 Config = RbPrivateData->ConfigBuffer; in RootBridgeIoConfiguration()
1529 …ZeroMem (Config, TypeMax * sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) + sizeof (EFI_ACPI_END_TAG_D… in RootBridgeIoConfiguration()
1542 Config->Desc = ACPI_ADDRESS_SPACE_DESCRIPTOR; in RootBridgeIoConfiguration()
1543 Config->Len = sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) - 3; in RootBridgeIoConfiguration()
1544 Config->ResType = ACPI_ADDRESS_SPACE_TYPE_IO; in RootBridgeIoConfiguration()
1545 Config->AddrRangeMin = ResAllocNode->Base; in RootBridgeIoConfiguration()
1546 Config->AddrRangeMax = ResAllocNode->Base + ResAllocNode->Length - 1; in RootBridgeIoConfiguration()
1547 Config->AddrLen = ResAllocNode->Length; in RootBridgeIoConfiguration()
1551 Config->Desc = ACPI_ADDRESS_SPACE_DESCRIPTOR; in RootBridgeIoConfiguration()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Impl.c71 if (Instance->Config != NULL) { in EfiMtftp6GetModeData()
74 Instance->Config, in EfiMtftp6GetModeData()
166 FreePool (Instance->Config); in EfiMtftp6Configure()
167 Instance->Config = NULL; in EfiMtftp6Configure()
172 if (Instance->Config != NULL) { in EfiMtftp6Configure()
179 Instance->Config = AllocateZeroPool (sizeof (EFI_MTFTP6_CONFIG_DATA)); in EfiMtftp6Configure()
181 if (Instance->Config == NULL) { in EfiMtftp6Configure()
186 CopyMem (Instance->Config, MtftpConfigData, sizeof (EFI_MTFTP6_CONFIG_DATA)); in EfiMtftp6Configure()
232 Udp6Cfg.StationPort = Instance->Config->LocalPort; in EfiMtftp6Configure()
233 Udp6Cfg.RemotePort = Instance->Config->InitialServerPort; in EfiMtftp6Configure()
[all …]
DMtftp6Support.c392 Udp6Cfg = &(UdpIo->Config.Udp6); in Mtftp6ConfigUdpIo()
697 &Instance->Config->StationIp, in Mtftp6TransmitPacket()
698 Instance->Config->LocalPort in Mtftp6TransmitPacket()
1020 if (Instance->Config == NULL) { in Mtftp6OperationStart()
1052 Instance->ServerCmdPort = Instance->Config->InitialServerPort; in Mtftp6OperationStart()
1054 Instance->MaxRetry = Instance->Config->TryCount; in Mtftp6OperationStart()
1055 Instance->Timeout = Instance->Config->TimeoutValue; in Mtftp6OperationStart()
1060 &Instance->Config->ServerIp, in Mtftp6OperationStart()
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcMtftp.c122 IN EFI_MTFTP6_CONFIG_DATA *Config, in PxeBcMtftp6GetFileSize() argument
144 Config->InitialServerPort = PXEBC_BS_DOWNLOAD_PORT; in PxeBcMtftp6GetFileSize()
146 Status = Mtftp6->Configure (Mtftp6, Config); in PxeBcMtftp6GetFileSize()
250 IN EFI_MTFTP6_CONFIG_DATA *Config, in PxeBcMtftp6ReadFile() argument
268 Config->InitialServerPort = PXEBC_BS_DOWNLOAD_PORT; in PxeBcMtftp6ReadFile()
270 Status = Mtftp6->Configure (Mtftp6, Config); in PxeBcMtftp6ReadFile()
333 IN EFI_MTFTP6_CONFIG_DATA *Config, in PxeBcMtftp6WriteFile() argument
351 Config->InitialServerPort = PXEBC_BS_DOWNLOAD_PORT; in PxeBcMtftp6WriteFile()
353 Status = Mtftp6->Configure (Mtftp6, Config); in PxeBcMtftp6WriteFile()
408 IN EFI_MTFTP6_CONFIG_DATA *Config, in PxeBcMtftp6ReadDirectory() argument
[all …]
DPxeBcMtftp.h48 IN VOID *Config,
74 IN VOID *Config,
102 IN VOID *Config,
130 IN VOID *Config,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DMtftp4Impl.c189 EFI_MTFTP4_CONFIG_DATA *Config; in Mtftp4OverrideValid() local
199 Config = &Instance->Config; in Mtftp4OverrideValid()
204 if (!Config->UseDefaultSetting && (Gateway != 0)) { in Mtftp4OverrideValid()
205 CopyMem (&Netmask, &Config->SubnetMask, sizeof (IP4_ADDR)); in Mtftp4OverrideValid()
206 CopyMem (&Ip, &Config->StationIp, sizeof (IP4_ADDR)); in Mtftp4OverrideValid()
247 ASSERT (Instance->Config.UseDefaultSetting); in Mtftp4GetMapping()
292 EFI_MTFTP4_CONFIG_DATA *Config; in Mtftp4ConfigUnicastPort() local
297 Config = &Instance->Config; in Mtftp4ConfigUnicastPort()
308 UdpConfig.UseDefaultAddress = Config->UseDefaultSetting; in Mtftp4ConfigUnicastPort()
309 IP4_COPY_ADDRESS (&UdpConfig.StationAddress, &Config->StationIp); in Mtftp4ConfigUnicastPort()
[all …]
DMtftp4Rrq.c398 EFI_MTFTP4_CONFIG_DATA *Config; in Mtftp4RrqConfigMcastPort() local
405 Config = &Instance->Config; in Mtftp4RrqConfigMcastPort()
416 UdpConfig.UseDefaultAddress = Config->UseDefaultSetting; in Mtftp4RrqConfigMcastPort()
417 IP4_COPY_ADDRESS (&UdpConfig.StationAddress, &Config->StationIp); in Mtftp4RrqConfigMcastPort()
418 IP4_COPY_ADDRESS (&UdpConfig.SubnetMask, &Config->SubnetMask); in Mtftp4RrqConfigMcastPort()
431 if (!Config->UseDefaultSetting && in Mtftp4RrqConfigMcastPort()
432 !EFI_IP4_EQUAL (&mZeroIp4Addr, &Config->GatewayIp)) { in Mtftp4RrqConfigMcastPort()
442 &Config->GatewayIp in Mtftp4RrqConfigMcastPort()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbDesc.c66 IN USB_CONFIG_DESC *Config in UsbFreeConfigDesc() argument
73 if (Config->Interfaces != NULL) { in UsbFreeConfigDesc()
77 for (Index = 0; Index < Config->Desc.NumInterfaces; Index++) { in UsbFreeConfigDesc()
78 Interface = Config->Interfaces[Index]; in UsbFreeConfigDesc()
96 FreePool (Config->Interfaces); in UsbFreeConfigDesc()
99 FreePool (Config); in UsbFreeConfigDesc()
314 USB_CONFIG_DESC *Config; in UsbParseConfigDesc() local
323 Config = UsbCreateDesc (DescBuf, Len, USB_DESC_TYPE_CONFIG, &Consumed); in UsbParseConfigDesc()
325 if (Config == NULL) { in UsbParseConfigDesc()
332 NumIf = Config->Desc.NumInterfaces; in UsbParseConfigDesc()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Driver.c53 EFI_UDP6_CONFIG_DATA *Config; in Dhcp6ConfigureUdpIo() local
56 Config = &(UdpIo->Config.Udp6); in Dhcp6ConfigureUdpIo()
58 ZeroMem (Config, sizeof (EFI_UDP6_CONFIG_DATA)); in Dhcp6ConfigureUdpIo()
63 Config->AcceptPromiscuous = FALSE; in Dhcp6ConfigureUdpIo()
64 Config->AcceptAnyPort = FALSE; in Dhcp6ConfigureUdpIo()
65 Config->AllowDuplicatePort = FALSE; in Dhcp6ConfigureUdpIo()
66 Config->TrafficClass = 0; in Dhcp6ConfigureUdpIo()
67 Config->HopLimit = 128; in Dhcp6ConfigureUdpIo()
68 Config->ReceiveTimeout = 0; in Dhcp6ConfigureUdpIo()
69 Config->TransmitTimeout = 0; in Dhcp6ConfigureUdpIo()
[all …]
DDhcp6Impl.c90 if (Instance->Config == NULL) { in EfiDhcp6Start()
134 if (Instance->Config->IaInfoEvent == NULL) { in EfiDhcp6Start()
190 if (Instance->Config == NULL) { in EfiDhcp6Stop()
221 if (Instance->Config->IaInfoEvent == NULL) { in EfiDhcp6Stop()
278 if (Instance->Config == NULL && Dhcp6ConfigData != NULL) { in EfiDhcp6GetModeData()
294 if (EFI_ERROR (Dhcp6CopyConfigData (Dhcp6ConfigData, Instance->Config))) { in EfiDhcp6GetModeData()
480 if (Instance->Config != NULL) { in EfiDhcp6Configure()
488 Instance->Config = AllocateZeroPool (sizeof (EFI_DHCP6_CONFIG_DATA)); in EfiDhcp6Configure()
489 if (Instance->Config == NULL) { in EfiDhcp6Configure()
494 Status = Dhcp6CopyConfigData (Instance->Config, Dhcp6CfgData); in EfiDhcp6Configure()
[all …]
DDhcp6Io.c410 ASSERT(Instance->Config); in Dhcp6CleanupSession()
464 if (Instance->Config->IaInfoEvent != NULL) { in Dhcp6CleanupSession()
465 gBS->SignalEvent (Instance->Config->IaInfoEvent); in Dhcp6CleanupSession()
496 ASSERT (Instance->Config != NULL); in Dhcp6CallbackUser()
501 Callback = Instance->Config->Dhcp6Callback; in Dhcp6CallbackUser()
502 Context = Instance->Config->CallbackContext; in Dhcp6CallbackUser()
555 ASSERT (Instance->Config != NULL); in Dhcp6UpdateIaInfo()
571 &Instance->Config->IaDescriptor in Dhcp6UpdateIaInfo()
618 if (Instance->Config->IaDescriptor.Type == Dhcp6OptIana) { in Dhcp6UpdateIaInfo()
730 &Instance->Config->IaDescriptor in Dhcp6SeekStsOption()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcMtftp.h46 IN EFI_MTFTP4_CONFIG_DATA *Config,
72 IN EFI_MTFTP4_CONFIG_DATA *Config,
100 IN EFI_MTFTP4_CONFIG_DATA *Config,
128 IN EFI_MTFTP4_CONFIG_DATA *Config,
DPxeBcMtftp.c107 IN EFI_MTFTP4_CONFIG_DATA *Config, in PxeBcTftpGetFileSize() argument
129 Config->InitialServerPort = PXEBC_BS_DOWNLOAD_PORT; in PxeBcTftpGetFileSize()
131 Status = Mtftp4->Configure (Mtftp4, Config); in PxeBcTftpGetFileSize()
235 IN EFI_MTFTP4_CONFIG_DATA *Config, in PxeBcTftpReadFile() argument
253 Config->InitialServerPort = PXEBC_BS_DOWNLOAD_PORT; in PxeBcTftpReadFile()
255 Status = Mtftp4->Configure (Mtftp4, Config); in PxeBcTftpReadFile()
318 IN EFI_MTFTP4_CONFIG_DATA *Config, in PxeBcTftpWriteFile() argument
336 Config->InitialServerPort = PXEBC_BS_DOWNLOAD_PORT; in PxeBcTftpWriteFile()
338 Status = Mtftp4->Configure (Mtftp4, Config); in PxeBcTftpWriteFile()
392 IN EFI_MTFTP4_CONFIG_DATA *Config, in PxeBcTftpReadDirectory() argument
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Impl.c424 IN OUT EFI_DHCP4_CONFIG_DATA *Config in DhcpCleanConfigure() argument
429 if (Config->DiscoverTimeout != NULL) { in DhcpCleanConfigure()
430 FreePool (Config->DiscoverTimeout); in DhcpCleanConfigure()
433 if (Config->RequestTimeout != NULL) { in DhcpCleanConfigure()
434 FreePool (Config->RequestTimeout); in DhcpCleanConfigure()
437 if (Config->OptionList != NULL) { in DhcpCleanConfigure()
438 for (Index = 0; Index < Config->OptionCount; Index++) { in DhcpCleanConfigure()
439 if (Config->OptionList[Index] != NULL) { in DhcpCleanConfigure()
440 FreePool (Config->OptionList[Index]); in DhcpCleanConfigure()
444 FreePool (Config->OptionList); in DhcpCleanConfigure()
[all …]
DDhcp4Io.c91 EFI_DHCP4_CONFIG_DATA *Config; in DhcpCallUser() local
105 Config = &DhcpSb->ActiveConfig; in DhcpCallUser()
107 if (Config->Dhcp4Callback == NULL) { in DhcpCallUser()
115 Status = Config->Dhcp4Callback ( in DhcpCallUser()
117 Config->CallbackContext, in DhcpCallUser()
1171 EFI_DHCP4_CONFIG_DATA *Config; in DhcpSendMessage() local
1208 Config = &DhcpSb->ActiveConfig; in DhcpSendMessage()
1271 IpAddr = EFI_IP4 (Config->ClientAddress); in DhcpSendMessage()
1309 for (Index = 0; Index < Config->OptionCount; Index++) { in DhcpSendMessage()
1315 (Config->OptionList[Index]->OpCode != DHCP_TAG_CLIENT_ID)) { in DhcpSendMessage()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
DIp6Impl.c62 EFI_IP6_CONFIG_DATA *Config; in EfiIp6GetModeData() local
133 Config = &Ip6ModeData->ConfigData; in EfiIp6GetModeData()
135 if (IpIf->Configured || NetIp6IsUnspecifiedAddr (&Config->DestinationAddress)) { in EfiIp6GetModeData()
350 IN EFI_IP6_CONFIG_DATA *Config in Ip6ConfigProtocol() argument
380 CopyMem (Current, Config, sizeof (EFI_IP6_CONFIG_DATA)); in Ip6ConfigProtocol()
387 StationZero = NetIp6IsUnspecifiedAddr (&Config->StationAddress); in Ip6ConfigProtocol()
388 DestZero = NetIp6IsUnspecifiedAddr (&Config->DestinationAddress); in Ip6ConfigProtocol()
399 CopyMem (Current, Config, sizeof (EFI_IP6_CONFIG_DATA)); in Ip6ConfigProtocol()
406 Status = Ip6SelectSourceAddress (IpSb, &Config->DestinationAddress, &Source); in Ip6ConfigProtocol()
411 IP6_COPY_ADDRESS (&Source, &Config->StationAddress); in Ip6ConfigProtocol()
[all …]
DIp6Driver.c264 EFI_MANAGED_NETWORK_CONFIG_DATA *Config; in Ip6CreateService() local
342 Config = &IpSb->MnpConfigData; in Ip6CreateService()
343 Config->ReceivedQueueTimeoutValue = 0; in Ip6CreateService()
344 Config->TransmitQueueTimeoutValue = 0; in Ip6CreateService()
345 Config->ProtocolTypeFilter = IP6_ETHER_PROTO; in Ip6CreateService()
346 Config->EnableUnicastReceive = TRUE; in Ip6CreateService()
347 Config->EnableMulticastReceive = TRUE; in Ip6CreateService()
348 Config->EnableBroadcastReceive = TRUE; in Ip6CreateService()
349 Config->EnablePromiscuousReceive = FALSE; in Ip6CreateService()
350 Config->FlushQueuesOnReset = TRUE; in Ip6CreateService()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp6.c892 EFI_DHCP6_CONFIG_DATA Config; in HttpBootDhcp6Sarr() local
915 ZeroMem (&Config, sizeof (EFI_DHCP6_CONFIG_DATA)); in HttpBootDhcp6Sarr()
917 Config.OptionCount = OptCount; in HttpBootDhcp6Sarr()
918 Config.OptionList = OptList; in HttpBootDhcp6Sarr()
919 Config.Dhcp6Callback = HttpBootDhcp6CallBack; in HttpBootDhcp6Sarr()
920 Config.CallbackContext = Private; in HttpBootDhcp6Sarr()
921 Config.IaInfoEvent = NULL; in HttpBootDhcp6Sarr()
922 Config.RapidCommit = FALSE; in HttpBootDhcp6Sarr()
923 Config.ReconfigureAccept = FALSE; in HttpBootDhcp6Sarr()
924 Config.IaDescriptor.IaId = NET_RANDOM (NetRandomInitSeed ()); in HttpBootDhcp6Sarr()
[all …]
DHttpBootDhcp4.c748 EFI_DHCP4_CONFIG_DATA Config; in HttpBootDhcp4Dora() local
766 ZeroMem (&Config, sizeof(Config)); in HttpBootDhcp4Dora()
767 Config.OptionCount = OptCount; in HttpBootDhcp4Dora()
768 Config.OptionList = OptList; in HttpBootDhcp4Dora()
769 Config.Dhcp4Callback = HttpBootDhcp4CallBack; in HttpBootDhcp4Dora()
770 Config.CallbackContext = Private; in HttpBootDhcp4Dora()
771 Config.DiscoverTryCount = HTTP_BOOT_DHCP_RETRIES; in HttpBootDhcp4Dora()
772 Config.DiscoverTimeout = mHttpDhcpTimeout; in HttpBootDhcp4Dora()
777 Status = Dhcp4->Configure (Dhcp4, &Config); in HttpBootDhcp4Dora()
824 ZeroMem (&Config, sizeof (EFI_DHCP4_CONFIG_DATA)); in HttpBootDhcp4Dora()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Impl.c378 EFI_IP4_CONFIG_DATA *Config; in EfiIp4GetModeData() local
418 Config = &Ip4ModeData->ConfigData; in EfiIp4GetModeData()
421 CopyMem (&Config->StationAddress, &Ip, sizeof (EFI_IPv4_ADDRESS)); in EfiIp4GetModeData()
424 CopyMem (&Config->SubnetMask, &Ip, sizeof (EFI_IPv4_ADDRESS)); in EfiIp4GetModeData()
640 IN EFI_IP4_CONFIG_DATA *Config in Ip4ConfigProtocol() argument
666 CopyMem (&IpInstance->ConfigData, Config, sizeof (IpInstance->ConfigData)); in Ip4ConfigProtocol()
685 CopyMem (&Ip, &Config->StationAddress, sizeof (IP4_ADDR)); in Ip4ConfigProtocol()
686 CopyMem (&Netmask, &Config->SubnetMask, sizeof (IP4_ADDR)); in Ip4ConfigProtocol()
691 if (!Config->UseDefaultAddress) { in Ip4ConfigProtocol()
786 CopyMem (&IpInstance->ConfigData, Config, sizeof (IpInstance->ConfigData)); in Ip4ConfigProtocol()
[all …]
DIp4Input.c980 EFI_IP4_CONFIG_DATA *Config; in Ip4InstanceFrameAcceptable() local
985 Config = &IpInstance->ConfigData; in Ip4InstanceFrameAcceptable()
995 if (Config->ReceiveTimeout == (UINT32)(-1)) { in Ip4InstanceFrameAcceptable()
999 if (Config->AcceptPromiscuous) { in Ip4InstanceFrameAcceptable()
1010 …if ((Proto == EFI_IP_PROTO_ICMP) && (!Config->AcceptAnyProtocol) && (Proto != Config->DefaultProto… in Ip4InstanceFrameAcceptable()
1014 if (!Config->AcceptIcmpErrors) { in Ip4InstanceFrameAcceptable()
1026 if (!Config->AcceptAnyProtocol && (Proto != Config->DefaultProtocol)) { in Ip4InstanceFrameAcceptable()
1037 return Config->AcceptBroadcast; in Ip4InstanceFrameAcceptable()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformSecLib/Ia32/
DPlatform.inc64 ; ILB PCI Config Registers
78 ; Host Bridge PCI Config Registers
100 ; Memory Arbiter Config Registers
105 ; Host Bridge Config Registers
124 ; Memory Manager Config Registers
DFlat32.S59 # ILB PCI Config Registers
72 # Host Bridge PCI Config Registers
94 # Memory Arbiter Config Registers
99 # Host Bridge Config Registers
117 # Memory Manager Config Registers
643 # ebx - PCI Config Address
657 # Write the PCI Config Address to the address port
678 # ebx - PCI Config Address
693 # Write the PCI Config Address to the address port
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsImpl.c401 IN OUT EFI_DNS4_CONFIG_DATA *Config in Dns4CleanConfigure() argument
404 if (Config->DnsServerList != NULL) { in Dns4CleanConfigure()
405 FreePool (Config->DnsServerList); in Dns4CleanConfigure()
408 ZeroMem (Config, sizeof (EFI_DNS4_CONFIG_DATA)); in Dns4CleanConfigure()
419 IN OUT EFI_DNS6_CONFIG_DATA *Config in Dns6CleanConfigure() argument
422 if (Config->DnsServerList != NULL) { in Dns6CleanConfigure()
423 FreePool (Config->DnsServerList); in Dns6CleanConfigure()
426 ZeroMem (Config, sizeof (EFI_DNS6_CONFIG_DATA)); in Dns6CleanConfigure()
648 EFI_DNS4_CONFIG_DATA *Config; in Dns4ConfigUdp() local
652 Config = &Instance->Dns4CfgData; in Dns4ConfigUdp()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciEnumerator.h263 OUT VOID **Config
279 IN VOID *Config,

1234