Home
last modified time | relevance | path

Searched refs:NicInfo (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiMisc.c484 ISCSI_NIC_INFO *NicInfo; in IScsiAddNic() local
507 NicInfo = NET_LIST_USER_STRUCT (Entry, ISCSI_NIC_INFO, Link); in IScsiAddNic()
508 if (NicInfo->HwAddressSize == HwAddressSize && in IScsiAddNic()
509 CompareMem (&NicInfo->PermanentAddress, MacAddr.Addr, HwAddressSize) == 0 && in IScsiAddNic()
510 NicInfo->VlanId == VlanId) { in IScsiAddNic()
511 mPrivate->CurrentNic = NicInfo->NicIndex; in IScsiAddNic()
515 if (mPrivate->MaxNic < NicInfo->NicIndex) { in IScsiAddNic()
516 mPrivate->MaxNic = NicInfo->NicIndex; in IScsiAddNic()
523 NicInfo = AllocateZeroPool (sizeof (ISCSI_NIC_INFO)); in IScsiAddNic()
524 if (NicInfo == NULL) { in IScsiAddNic()
[all …]
DIScsiConfig.c476 ISCSI_NIC_INFO *NicInfo; in IScsiConvertIfrNvDataToAttemptConfigData() local
683 NicInfo = IScsiGetNicInfoByIndex (Attempt->NicIndex); in IScsiConvertIfrNvDataToAttemptConfigData()
684 if (NicInfo == NULL) { in IScsiConvertIfrNvDataToAttemptConfigData()
700 NicInfo->BusNumber, in IScsiConvertIfrNvDataToAttemptConfigData()
701 NicInfo->DeviceNumber, in IScsiConvertIfrNvDataToAttemptConfigData()
702 NicInfo->FunctionNumber, in IScsiConvertIfrNvDataToAttemptConfigData()
1000 ISCSI_NIC_INFO *NicInfo; in IScsiConfigAddAttempt() local
1025 NicInfo = NET_LIST_USER_STRUCT (Entry, ISCSI_NIC_INFO, Link); in IScsiConfigAddAttempt()
1027 &NicInfo->PermanentAddress, in IScsiConfigAddAttempt()
1028 NicInfo->HwAddressSize, in IScsiConfigAddAttempt()
[all …]
DIScsiIbft.c211 ISCSI_NIC_INFO *NicInfo; in IScsiFillNICAndTargetSections() local
335 NicInfo = IScsiGetNicInfoByIndex (Attempt->NicIndex); in IScsiFillNICAndTargetSections()
336 ASSERT (NicInfo != NULL); in IScsiFillNICAndTargetSections()
338 Nic->VLanTag = NicInfo->VlanId; in IScsiFillNICAndTargetSections()
339 CopyMem (Nic->Mac, &NicInfo->PermanentAddress, sizeof (Nic->Mac)); in IScsiFillNICAndTargetSections()
340 Nic->PciLocation = (UINT16) ((NicInfo->BusNumber << 8) | in IScsiFillNICAndTargetSections()
341 (NicInfo->DeviceNumber << 3) | NicInfo->FunctionNumber); in IScsiFillNICAndTargetSections()
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/
DInit.c304 &UNDI32Device->NicInfo.OriginalPciAttributes in UndiDriverStart()
374 &UNDI32Device->NicInfo.Config in UndiDriverStart()
377 CfgHdr = (PCI_CONFIG_HEADER *) &(UNDI32Device->NicInfo.Config[0]); in UndiDriverStart()
414 PxeUpdate (&UNDI32Device->NicInfo, pxe_31); in UndiDriverStart()
416 UNDI32Device->NicInfo.Io_Function = PciIoFncs; in UndiDriverStart()
423 &UNDI32Device->NicInfo in UndiDriverStart()
530 UNDI32Device->NicInfo.OriginalPciAttributes, in UndiDriverStart()
646 Status = UNDI32Device->NicInfo.Io_Function->Attributes ( in UndiDriverStop()
647 UNDI32Device->NicInfo.Io_Function, in UndiDriverStop()
649 UNDI32Device->NicInfo.OriginalPciAttributes, in UndiDriverStop()
DUndi32.h61 #define UNDI_DEV_FROM_NIC(a) CR(a, UNDI32_DEV, NicInfo, UNDI_DEV_SIGNATURE)
71 NIC_DATA_INSTANCE NicInfo; member
DDecode.c1299 AdapterInfo = &(UNDI32DeviceList[CdbPtr->IFnum]->NicInfo); in UNDI_APIEntry_new()
1379 AdapterInfo = &(UNDI32DeviceList[CdbPtr->IFnum]->NicInfo); in UNDI_APIEntry_Common()