Home
last modified time | relevance | path

Searched refs:NvData (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiIbft.c204 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiFillNICAndTargetSections() local
280 NvData = &Attempt->SessionConfigData; in IScsiFillNICAndTargetSections()
298 if (NvData->InitiatorInfoFromDhcp) { in IScsiFillNICAndTargetSections()
304 if (NvData->IpMode == IP_MODE_IP4 || NvData->IpMode == IP_MODE_AUTOCONFIG) { in IScsiFillNICAndTargetSections()
308 Nic->SubnetMaskPrefixLength = IScsiGetSubnetMaskPrefixLength (&NvData->SubnetMask); in IScsiFillNICAndTargetSections()
313 IScsiMapV4ToV6Addr (&NvData->LocalIp.v4, &Nic->Ip); in IScsiFillNICAndTargetSections()
314 IScsiMapV4ToV6Addr (&NvData->Gateway.v4, &Nic->Gateway); in IScsiFillNICAndTargetSections()
319 } else if (NvData->IpMode == IP_MODE_IP6 || NvData->IpMode == IP_MODE_AUTOCONFIG) { in IScsiFillNICAndTargetSections()
321 Nic->SubnetMaskPrefixLength = NvData->PrefixLength; in IScsiFillNICAndTargetSections()
322 CopyMem (&Nic->Ip, &NvData->LocalIp, sizeof (EFI_IPv6_ADDRESS)); in IScsiFillNICAndTargetSections()
[all …]
DIScsiDhcp.c289 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiParseDhcpAck() local
300 NvData = &ConfigData->SessionConfigData; in IScsiParseDhcpAck()
302 CopyMem (&NvData->LocalIp, &Dhcp4ModeData.ClientAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck()
303 CopyMem (&NvData->SubnetMask, &Dhcp4ModeData.SubnetMask, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck()
304 CopyMem (&NvData->Gateway, &Dhcp4ModeData.RouterAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck()
387 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiDoDhcp() local
428 NvData = &ConfigData->SessionConfigData; in IScsiDoDhcp()
440 ParaList->Length = (UINT8) (NvData->TargetInfoFromDhcp ? 4 : 3); in IScsiDoDhcp()
450 if (NvData->TargetInfoFromDhcp) { in IScsiDoDhcp()
DIScsiProto.c206 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiCreateConnection() local
214 NvData = &Session->ConfigData->SessionConfigData; in IScsiCreateConnection()
231 …Conn->Ipv6Flag = NvData->IpMode == IP_MODE_IP6 || Session->ConfigData->AutoConfigureMode ==… in IScsiCreateConnection()
257 CopyMem (&Tcp4IoConfig->LocalIp, &NvData->LocalIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection()
258 CopyMem (&Tcp4IoConfig->SubnetMask, &NvData->SubnetMask, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection()
259 CopyMem (&Tcp4IoConfig->Gateway, &NvData->Gateway, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection()
260 CopyMem (&Tcp4IoConfig->RemoteIp, &NvData->TargetIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection()
262 Tcp4IoConfig->RemotePort = NvData->TargetPort; in IScsiCreateConnection()
268 CopyMem (&Tcp6IoConfig->RemoteIp, &NvData->TargetIp, sizeof (EFI_IPv6_ADDRESS)); in IScsiCreateConnection()
269 Tcp6IoConfig->RemotePort = NvData->TargetPort; in IScsiCreateConnection()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiIbft.c311 …Nic->SubnetMaskPrefixLength = IScsiGetSubnetMaskPrefixLength (&SessionConfigData->NvData.SubnetMas… in IScsiFillNICAndTargetSections()
313 if (SessionConfigData->NvData.InitiatorInfoFromDhcp) { in IScsiFillNICAndTargetSections()
321 IScsiMapV4ToV6Addr (&SessionConfigData->NvData.LocalIp, &Nic->Ip); in IScsiFillNICAndTargetSections()
322 IScsiMapV4ToV6Addr (&SessionConfigData->NvData.Gateway, &Nic->Gateway); in IScsiFillNICAndTargetSections()
351 Target->Port = SessionConfigData->NvData.TargetPort; in IScsiFillNICAndTargetSections()
362 IScsiMapV4ToV6Addr (&SessionConfigData->NvData.TargetIp, &Target->Ip); in IScsiFillNICAndTargetSections()
363 CopyMem (Target->BootLun, SessionConfigData->NvData.BootLun, sizeof (Target->BootLun)); in IScsiFillNICAndTargetSections()
368 Length = (UINT16) AsciiStrLen (SessionConfigData->NvData.TargetName); in IScsiFillNICAndTargetSections()
369 IScsiAddHeapItem (Heap, SessionConfigData->NvData.TargetName, Length); in IScsiFillNICAndTargetSections()
DIScsiDhcp.c279 CopyMem (&ConfigData->NvData.LocalIp, &Dhcp4ModeData.ClientAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck()
280 CopyMem (&ConfigData->NvData.SubnetMask, &Dhcp4ModeData.SubnetMask, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck()
281 CopyMem (&ConfigData->NvData.Gateway, &Dhcp4ModeData.RouterAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck()
413 ParaList->Length = (UINT8) (ConfigData->NvData.TargetInfoFromDhcp ? 4 : 3); in IScsiDoDhcp()
424 if (ConfigData->NvData.TargetInfoFromDhcp) { in IScsiDoDhcp()
429 Dhcp4ConfigData.CallbackContext = &ConfigData->NvData; in IScsiDoDhcp()
DIScsiExtScsiPassThru.c73 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruFunction()
136 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruGetNextTargetLun()
209 ConfigNvData = &Session->ConfigData.NvData; in IScsiExtScsiPassThruBuildDevicePath()
296 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruGetTargetLun()
DIScsiMisc.c720 BufferSize = sizeof (Session->ConfigData.NvData); in IScsiGetConfigData()
726 &Session->ConfigData.NvData in IScsiGetConfigData()
732 if (!Session->ConfigData.NvData.Enabled) { in IScsiGetConfigData()
747 if (!EFI_ERROR (Status) && Session->ConfigData.NvData.InitiatorInfoFromDhcp) { in IScsiGetConfigData()
815 (BOOLEAN) (!Session->ConfigData.NvData.InitiatorInfoFromDhcp); in IScsiGetTcpConnDevicePath()
827 &Session->ConfigData.NvData.Gateway in IScsiGetTcpConnDevicePath()
832 &Session->ConfigData.NvData.SubnetMask in IScsiGetTcpConnDevicePath()
DIScsiMisc.h47 ISCSI_SESSION_CONFIG_NVDATA NvData; member
DIScsiProto.c231 CopyMem (&Tcp4IoConfig.LocalIp, &Session->ConfigData.NvData.LocalIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection()
232 …CopyMem (&Tcp4IoConfig.SubnetMask, &Session->ConfigData.NvData.SubnetMask, sizeof (EFI_IPv4_ADDRES… in IScsiCreateConnection()
233 CopyMem (&Tcp4IoConfig.Gateway, &Session->ConfigData.NvData.Gateway, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection()
234 CopyMem (&Tcp4IoConfig.RemoteIp, &Session->ConfigData.NvData.TargetIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection()
236 Tcp4IoConfig.RemotePort = Session->ConfigData.NvData.TargetPort; in IScsiCreateConnection()
308 CopyMem (Session->Isid, Session->ConfigData.NvData.IsId, 6); in IScsiSessionLogin()
875 Session->ConfigData.NvData.TargetPort = (UINT16) Number; in IScsiUpdateTargetAddress()
881 Session->ConfigData.NvData.TargetPort = ISCSI_WELL_KNOWN_PORT; in IScsiUpdateTargetAddress()
886 Status = IScsiAsciiStrToIp (IpStr, &Session->ConfigData.NvData.TargetIp); in IScsiUpdateTargetAddress()
DIScsiCHAP.c360 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_TARGET_NAME, Session->ConfigData.NvData.TargetName); in IScsiCHAPToSendReq()
/device/linaro/bootloader/edk2/EmulatorPkg/Include/Protocol/
DEmuSnp.h451 EMU_SNP_NVDATA NvData; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleNetwork/
DSimpleNetwork.h629 EFI_SIMPLE_NETWORK_NVDATA NvData; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DSimpleNetwork.h646 EFI_SIMPLE_NETWORK_NVDATA NvData; member
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
DDriverBinding.c202 Dev->Snp.NvData = &VirtioNetNvData; in VirtioNetSnpPopulate()
/device/linaro/bootloader/edk2/EmulatorPkg/EmuSnpDxe/
DEmuSnpDxe.c395 Status = Private->Io->NvData (Private->Io, ReadOrWrite, Offset, BufferSize, Buffer); in EmuSnpNvdata()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DSnp.c396 Snp->Snp.NvData = SnpUndi32NvData; in SimpleNetworkDriverStart()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/
DSimpleNetwork.c850 pSimpleNetwork->NvData = (EFI_SIMPLE_NETWORK_NVDATA)SN_NvData; in SN_Setup()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/
DSimpleNetwork.c925 pSimpleNetwork->NvData = (EFI_SIMPLE_NETWORK_NVDATA)SN_NvData; in SN_Setup()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/
DLan9118Dxe.c88 Snp->NvData = SnpNvData; in Lan9118DxeEntry()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/
DLan91xDxe.c2170 Snp->NvData = SnpNvData; in Lan91xDxeEntry()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
DBiosSnp16.c471 SimpleNetworkDevice->SimpleNetwork.NvData = Undi16SimpleNetworkNvData; in BiosSnp16DriverBindingStart()