Home
last modified time | relevance | path

Searched refs:MnpServiceData (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DMnpDriver.c46 MNP_SERVICE_DATA *MnpServiceData; in MnpDestroyServiceDataEntry() local
48 MnpServiceData = MNP_SERVICE_DATA_FROM_LINK (Entry); in MnpDestroyServiceDataEntry()
49 return MnpDestroyServiceData (MnpServiceData); in MnpDestroyServiceDataEntry()
69 MNP_SERVICE_DATA *MnpServiceData; in MnpDestroyServiceChildEntry() local
71 MnpServiceData = MNP_SERVICE_DATA_FROM_LINK (Entry); in MnpDestroyServiceChildEntry()
72 return MnpDestroyServiceChild (MnpServiceData); in MnpDestroyServiceChildEntry()
160 MNP_SERVICE_DATA *MnpServiceData; in MnpDriverBindingStart() local
205 MnpServiceData = MnpCreateServiceData (MnpDeviceData, 0, 0); in MnpDriverBindingStart()
206 Status = (MnpServiceData != NULL) ? EFI_SUCCESS : EFI_OUT_OF_RESOURCES; in MnpDriverBindingStart()
233 MnpServiceData = MnpCreateServiceData (MnpDeviceData, 0, 0); in MnpDriverBindingStart()
[all …]
DMnpVlan.c187 IN MNP_SERVICE_DATA *MnpServiceData, in MnpInsertVlanTag() argument
200 MnpDeviceData = MnpServiceData->MnpDeviceData; in MnpInsertVlanTag()
227 VlanTci->Bits.Vid = MnpServiceData->VlanId; in MnpInsertVlanTag()
229 VlanTci->Bits.Priority = MnpServiceData->Priority; in MnpInsertVlanTag()
371 MNP_SERVICE_DATA *MnpServiceData; in VlanConfigSet() local
391 MnpServiceData = MNP_SERVICE_DATA_FROM_LINK (Entry); in VlanConfigSet()
397 Status = MnpDestroyServiceChild (MnpServiceData); in VlanConfigSet()
402 Status = MnpDestroyServiceData (MnpServiceData); in VlanConfigSet()
410 MnpServiceData = MnpCreateServiceData (MnpDeviceData, VlanId, Priority); in VlanConfigSet()
411 if (MnpServiceData == NULL) { in VlanConfigSet()
[all …]
DMnpConfig.c707 MNP_SERVICE_DATA *MnpServiceData; in MnpCreateServiceData() local
715 MnpServiceData = AllocateZeroPool (sizeof (MNP_SERVICE_DATA)); in MnpCreateServiceData()
716 if (MnpServiceData == NULL) { in MnpCreateServiceData()
725 InsertTailList (&MnpDeviceData->ServiceList, &MnpServiceData->Link); in MnpCreateServiceData()
727 MnpServiceData->Signature = MNP_SERVICE_DATA_SIGNATURE; in MnpCreateServiceData()
728 MnpServiceData->MnpDeviceData = MnpDeviceData; in MnpCreateServiceData()
733 …CopyMem (&MnpServiceData->ServiceBinding, &mMnpServiceBindingProtocol, sizeof (EFI_SERVICE_BINDING… in MnpCreateServiceData()
738 InitializeListHead (&MnpServiceData->ChildrenList); in MnpCreateServiceData()
749 &MnpServiceData->DevicePath in MnpCreateServiceData()
775 MnpServiceData->Mtu = SnpMode->MaxPacketSize - NET_VLAN_TAG_LEN; in MnpCreateServiceData()
[all …]
DMnpIo.c34 MNP_SERVICE_DATA *MnpServiceData; in MnpIsValidTxToken() local
40 MnpServiceData = Instance->MnpServiceData; in MnpIsValidTxToken()
41 NET_CHECK_SIGNATURE (MnpServiceData, MNP_SERVICE_DATA_SIGNATURE); in MnpIsValidTxToken()
94 if (TxData->DataLength > MnpServiceData->Mtu) { in MnpIsValidTxToken()
121 IN MNP_SERVICE_DATA *MnpServiceData, in MnpBuildTxPacket() argument
133 MnpDeviceData = MnpServiceData->MnpDeviceData; in MnpBuildTxPacket()
143 if (MnpServiceData->VlanId != 0) { in MnpBuildTxPacket()
216 IN MNP_SERVICE_DATA *MnpServiceData, in MnpSyncSendPacket() argument
229 MnpDeviceData = MnpServiceData->MnpDeviceData; in MnpSyncSendPacket()
249 if (MnpServiceData->VlanId != 0) { in MnpSyncSendPacket()
[all …]
DMnpMain.c76 Snp = Instance->MnpServiceData->MnpDeviceData->Snp; in MnpGetModeData()
263 Snp = Instance->MnpServiceData->MnpDeviceData->Snp; in MnpMcastIpToMac()
374 SnpMode = Instance->MnpServiceData->MnpDeviceData->Snp->Mode; in MnpGroups()
522 MNP_SERVICE_DATA *MnpServiceData; in MnpTransmit() local
549 MnpServiceData = Instance->MnpServiceData; in MnpTransmit()
550 NET_CHECK_SIGNATURE (MnpServiceData, MNP_SERVICE_DATA_SIGNATURE); in MnpTransmit()
555 Status = MnpBuildTxPacket (MnpServiceData, Token->Packet.TxData, &PktBuf, &PktLen); in MnpTransmit()
563 Status = MnpSyncSendPacket (MnpServiceData, PktBuf, PktLen, Token); in MnpTransmit()
785 Status = MnpReceivePacket (Instance->MnpServiceData->MnpDeviceData); in MnpPoll()
DMnpImpl.h54 MNP_SERVICE_DATA *MnpServiceData; member
171 IN OUT MNP_SERVICE_DATA *MnpServiceData,
187 IN OUT MNP_SERVICE_DATA *MnpServiceData
201 IN OUT MNP_SERVICE_DATA *MnpServiceData
229 IN MNP_SERVICE_DATA *MnpServiceData,
362 IN MNP_SERVICE_DATA *MnpServiceData,
387 IN MNP_SERVICE_DATA *MnpServiceData,
DMnpVlan.h75 IN MNP_SERVICE_DATA *MnpServiceData,
DComponentName.c169 Instance->MnpServiceData->VlanId in UpdateName()