Home
last modified time | relevance | path

Searched refs:Para (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Io.c285 IN DHCP_PARAMETER *Para in DhcpComputeLease() argument
288 ASSERT (Para != NULL); in DhcpComputeLease()
290 DhcpSb->Lease = Para->Lease; in DhcpComputeLease()
291 DhcpSb->T2 = Para->T2; in DhcpComputeLease()
292 DhcpSb->T1 = Para->T1; in DhcpComputeLease()
298 if ((DhcpSb->T2 == 0) || (DhcpSb->T2 >= Para->Lease)) { in DhcpComputeLease()
299 DhcpSb->T2 = Para->Lease - (Para->Lease >> 3); in DhcpComputeLease()
302 if ((DhcpSb->T1 == 0) || (DhcpSb->T1 >= Para->T2)) { in DhcpComputeLease()
367 if ((DhcpSb->Para != NULL) && (DhcpSb->Para->Router != 0)) { in DhcpConfigLeaseIoPort()
370 Ip = HTONL (DhcpSb->Para->Router); in DhcpConfigLeaseIoPort()
[all …]
DDhcp4Option.c247 OUT DHCP_PARAMETER *Para in DhcpGetParameter() argument
252 Para->NetMask = NetGetUint32 (Data); in DhcpGetParameter()
259 Para->Router = NetGetUint32 (Data); in DhcpGetParameter()
263 Para->Lease = NetGetUint32 (Data); in DhcpGetParameter()
267 Para->Overload = *Data; in DhcpGetParameter()
269 if ((Para->Overload < 1) || (Para->Overload > 3)) { in DhcpGetParameter()
275 Para->DhcpType = *Data; in DhcpGetParameter()
277 if ((Para->DhcpType < 1) || (Para->DhcpType > 9)) { in DhcpGetParameter()
283 Para->ServerId = NetGetUint32 (Data); in DhcpGetParameter()
287 Para->T1 = NetGetUint32 (Data); in DhcpGetParameter()
[all …]
DDhcp4Impl.c363 DHCP_PARAMETER *Para; in EfiDhcp4GetModeData() local
396 Para = DhcpSb->Para; in EfiDhcp4GetModeData()
398 if (Para != NULL) { in EfiDhcp4GetModeData()
399 Ip = HTONL (Para->Router); in EfiDhcp4GetModeData()
401 Dhcp4ModeData->LeaseTime = Para->Lease; in EfiDhcp4GetModeData()
921 if (DHCP_IS_BOOTP (DhcpSb->Para)) { in EfiDhcp4RenewRebind()
944 DhcpSb->Para, in EfiDhcp4RenewRebind()
1031 if (!DHCP_IS_BOOTP (DhcpSb->Para) && (DhcpSb->DhcpState == Dhcp4Bound)) { in EfiDhcp4Release()
1035 DhcpSb->Para, in EfiDhcp4Release()
DDhcp4Io.h109 IN DHCP_PARAMETER *Para,
DDhcp4Impl.h104 DHCP_PARAMETER *Para; member
DDhcp4Option.h255 OUT DHCP_PARAMETER **Para OPTIONAL
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp4.c64 OptEnt.Para = (HTTP_BOOT_DHCP4_OPTION_PARA *) OptList[Index]->Data; in HttpBootBuildDhcp4Options()
65 OptEnt.Para->ParaList[0] = HTTP_BOOT_DHCP4_TAG_NETMASK; in HttpBootBuildDhcp4Options()
66 OptEnt.Para->ParaList[1] = HTTP_BOOT_DHCP4_TAG_TIME_OFFSET; in HttpBootBuildDhcp4Options()
67 OptEnt.Para->ParaList[2] = HTTP_BOOT_DHCP4_TAG_ROUTER; in HttpBootBuildDhcp4Options()
68 OptEnt.Para->ParaList[3] = HTTP_BOOT_DHCP4_TAG_TIME_SERVER; in HttpBootBuildDhcp4Options()
69 OptEnt.Para->ParaList[4] = HTTP_BOOT_DHCP4_TAG_NAME_SERVER; in HttpBootBuildDhcp4Options()
70 OptEnt.Para->ParaList[5] = HTTP_BOOT_DHCP4_TAG_DNS_SERVER; in HttpBootBuildDhcp4Options()
71 OptEnt.Para->ParaList[6] = HTTP_BOOT_DHCP4_TAG_HOSTNAME; in HttpBootBuildDhcp4Options()
72 OptEnt.Para->ParaList[7] = HTTP_BOOT_DHCP4_TAG_BOOTFILE_LEN; in HttpBootBuildDhcp4Options()
73 OptEnt.Para->ParaList[8] = HTTP_BOOT_DHCP4_TAG_DOMAINNAME; in HttpBootBuildDhcp4Options()
[all …]
DHttpBootDhcp4.h194 HTTP_BOOT_DHCP4_OPTION_PARA *Para; member
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.c270 OptEnt.Para = (PXEBC_DHCP4_OPTION_PARA *) OptList[Index]->Data; in PxeBcBuildDhcp4Options()
271 OptEnt.Para->ParaList[0] = PXEBC_DHCP4_TAG_NETMASK; in PxeBcBuildDhcp4Options()
272 OptEnt.Para->ParaList[1] = PXEBC_DHCP4_TAG_TIME_OFFSET; in PxeBcBuildDhcp4Options()
273 OptEnt.Para->ParaList[2] = PXEBC_DHCP4_TAG_ROUTER; in PxeBcBuildDhcp4Options()
274 OptEnt.Para->ParaList[3] = PXEBC_DHCP4_TAG_TIME_SERVER; in PxeBcBuildDhcp4Options()
275 OptEnt.Para->ParaList[4] = PXEBC_DHCP4_TAG_NAME_SERVER; in PxeBcBuildDhcp4Options()
276 OptEnt.Para->ParaList[5] = PXEBC_DHCP4_TAG_DNS_SERVER; in PxeBcBuildDhcp4Options()
277 OptEnt.Para->ParaList[6] = PXEBC_DHCP4_TAG_HOSTNAME; in PxeBcBuildDhcp4Options()
278 OptEnt.Para->ParaList[7] = PXEBC_DHCP4_TAG_BOOTFILE_LEN; in PxeBcBuildDhcp4Options()
279 OptEnt.Para->ParaList[8] = PXEBC_DHCP4_TAG_DOMAINNAME; in PxeBcBuildDhcp4Options()
[all …]
DPxeBcDhcp4.h254 PXEBC_DHCP4_OPTION_PARA *Para; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c1034 OptEnt.Para = (PXEBC_DHCP4_OPTION_PARA *) OptList[Index]->Data; in PxeBcBuildDhcpOptions()
1035 OptEnt.Para->ParaList[0] = PXEBC_DHCP4_TAG_NETMASK; in PxeBcBuildDhcpOptions()
1036 OptEnt.Para->ParaList[1] = PXEBC_DHCP4_TAG_TIME_OFFSET; in PxeBcBuildDhcpOptions()
1037 OptEnt.Para->ParaList[2] = PXEBC_DHCP4_TAG_ROUTER; in PxeBcBuildDhcpOptions()
1038 OptEnt.Para->ParaList[3] = PXEBC_DHCP4_TAG_TIME_SERVER; in PxeBcBuildDhcpOptions()
1039 OptEnt.Para->ParaList[4] = PXEBC_DHCP4_TAG_NAME_SERVER; in PxeBcBuildDhcpOptions()
1040 OptEnt.Para->ParaList[5] = PXEBC_DHCP4_TAG_DNS_SERVER; in PxeBcBuildDhcpOptions()
1041 OptEnt.Para->ParaList[6] = PXEBC_DHCP4_TAG_HOSTNAME; in PxeBcBuildDhcpOptions()
1042 OptEnt.Para->ParaList[7] = PXEBC_DHCP4_TAG_BOOTFILE_LEN; in PxeBcBuildDhcpOptions()
1043 OptEnt.Para->ParaList[8] = PXEBC_DHCP4_TAG_DOMAINNAME; in PxeBcBuildDhcpOptions()
[all …]
DPxeBcDhcp.h220 PXEBC_DHCP4_OPTION_PARA *Para; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/
DFloppyPeim.c827 DISKET_PARA_TABLE *Para; in Seek() local
852Para = (DISKET_PARA_TABLE *) ((UINT8 *) DiskPara + sizeof (DISKET_PARA_TABLE) * Info->Type); in Seek()
853 EndOfTrack = Para->EndOfTrack; in Seek()
998 DISKET_PARA_TABLE *Para; in DiscoverFdcDevice() local
1039Para = (DISKET_PARA_TABLE *) ((UINT8 *) DiskPara + sizeof (DISKET_PARA_TABLE) * I… in DiscoverFdcDevice()
1041 MediaInfo->BlockSize = BytePerSector[Para->Number]; in DiscoverFdcDevice()
1042 MediaInfo->LastBlock = Para->EndOfTrack * 2 * (Para->MaxTrackNum + 1) - 1; in DiscoverFdcDevice()
1184 DISKET_PARA_TABLE *Para; in FillPara() local
1193Para = (DISKET_PARA_TABLE *) ((UINT8 *) DiskPara + sizeof (DISKET_PARA_TABLE) * Info->Type); in FillPara()
1195 EndOfTrack = Para->EndOfTrack; in FillPara()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DQueryTable.h562 IN UINT16 Para,
DQueryTable.c4023 IN UINT16 Para, in DisplayMemoryDeviceTypeDetail() argument
4028 PRINT_INFO_OPTION (Para, Option); in DisplayMemoryDeviceTypeDetail()
4029 PRINT_BITS_INFO (MemoryDeviceTypeDetailTable, Para); in DisplayMemoryDeviceTypeDetail()