Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DMnpConfig.c62 IN OUT MNP_DEVICE_DATA *MnpDeviceData, in MnpAddFreeNbuf() argument
70 NET_CHECK_SIGNATURE (MnpDeviceData, MNP_DEVICE_DATA_SIGNATURE); in MnpAddFreeNbuf()
71 ASSERT ((Count > 0) && (MnpDeviceData->BufferLength > 0)); in MnpAddFreeNbuf()
75 Nbuf = NetbufAlloc (MnpDeviceData->BufferLength + MnpDeviceData->PaddingSize); in MnpAddFreeNbuf()
83 if (MnpDeviceData->PaddingSize > 0) { in MnpAddFreeNbuf()
87 NetbufAllocSpace (Nbuf, MnpDeviceData->PaddingSize, NET_BUF_TAIL); in MnpAddFreeNbuf()
88 NetbufTrim (Nbuf, MnpDeviceData->PaddingSize, NET_BUF_HEAD); in MnpAddFreeNbuf()
91 NetbufQueAppend (&MnpDeviceData->FreeNbufQue, Nbuf); in MnpAddFreeNbuf()
94 MnpDeviceData->NbufCnt += Index; in MnpAddFreeNbuf()
112 IN OUT MNP_DEVICE_DATA *MnpDeviceData in MnpAllocNbuf() argument
[all …]
DMnpVlan.c126 IN OUT MNP_DEVICE_DATA *MnpDeviceData, in MnpRemoveVlanTag() argument
136 ProtocolOffset = MnpDeviceData->Snp->Mode->HwAddressSize * 2; in MnpRemoveVlanTag()
197 MNP_DEVICE_DATA *MnpDeviceData; in MnpInsertVlanTag() local
200 MnpDeviceData = MnpServiceData->MnpDeviceData; in MnpInsertVlanTag()
201 SnpMode = MnpDeviceData->Snp->Mode; in MnpInsertVlanTag()
247 IN MNP_DEVICE_DATA *MnpDeviceData, in MnpCheckVlanVariable() argument
281 Status = MnpSetVlanVariable (MnpDeviceData, *NewNumberOfVlan, Buffer); in MnpCheckVlanVariable()
303 IN MNP_DEVICE_DATA *MnpDeviceData, in MnpGetVlanVariable() argument
319 MnpDeviceData->MacString, in MnpGetVlanVariable()
338 MnpDeviceData->MacString, in MnpGetVlanVariable()
[all …]
DMnpDriver.c161 MNP_DEVICE_DATA *MnpDeviceData; in MnpDriverBindingStart() local
172 MnpDeviceData = AllocateZeroPool (sizeof (MNP_DEVICE_DATA)); in MnpDriverBindingStart()
173 if (MnpDeviceData == NULL) { in MnpDriverBindingStart()
179 Status = MnpInitializeDeviceData (MnpDeviceData, This->DriverBindingHandle, ControllerHandle); in MnpDriverBindingStart()
183 FreePool (MnpDeviceData); in MnpDriverBindingStart()
203 MnpDeviceData->NumberOfVlan = 0; in MnpDriverBindingStart()
204 ZeroMem (&MnpDeviceData->VlanConfig, sizeof (EFI_VLAN_CONFIG_PROTOCOL)); in MnpDriverBindingStart()
205 MnpServiceData = MnpCreateServiceData (MnpDeviceData, 0, 0); in MnpDriverBindingStart()
216 &MnpDeviceData->VlanConfig, in MnpDriverBindingStart()
227 Status = MnpGetVlanVariable (MnpDeviceData, &NumberOfVlan, &VlanVariable); in MnpDriverBindingStart()
[all …]
DMnpIo.c130 MNP_DEVICE_DATA *MnpDeviceData; in MnpBuildTxPacket() local
133 MnpDeviceData = MnpServiceData->MnpDeviceData; in MnpBuildTxPacket()
135 TxBuf = MnpAllocTxBuf (MnpDeviceData); in MnpBuildTxPacket()
163 SnpMode = MnpDeviceData->Snp->Mode; in MnpBuildTxPacket()
226 MNP_DEVICE_DATA *MnpDeviceData; in MnpSyncSendPacket() local
229 MnpDeviceData = MnpServiceData->MnpDeviceData; in MnpSyncSendPacket()
230 Snp = MnpDeviceData->Snp; in MnpSyncSendPacket()
271 Status = MnpRecycleTxBuf (MnpDeviceData); in MnpSyncSendPacket()
321 MNP_DEVICE_DATA *MnpDeviceData; in MnpInstanceDeliverPacket() local
328 MnpDeviceData = Instance->MnpServiceData->MnpDeviceData; in MnpInstanceDeliverPacket()
[all …]
DMnpImpl.h121 IN OUT MNP_DEVICE_DATA *MnpDeviceData,
135 IN OUT MNP_DEVICE_DATA *MnpDeviceData,
152 IN MNP_DEVICE_DATA *MnpDeviceData,
215 IN MNP_DEVICE_DATA *MnpDeviceData,
437 IN OUT MNP_DEVICE_DATA *MnpDeviceData
453 IN OUT MNP_DEVICE_DATA *MnpDeviceData
465 IN OUT MNP_DEVICE_DATA *MnpDeviceData,
482 IN OUT MNP_DEVICE_DATA *MnpDeviceData
496 IN OUT MNP_DEVICE_DATA *MnpDeviceData
902 IN MNP_DEVICE_DATA *MnpDeviceData
DMnpVlan.h56 IN OUT MNP_DEVICE_DATA *MnpDeviceData,
98 IN MNP_DEVICE_DATA *MnpDeviceData,
116 IN MNP_DEVICE_DATA *MnpDeviceData,
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()
785 Status = MnpReceivePacket (Instance->MnpServiceData->MnpDeviceData); in MnpPoll()
DMnpDriver.h112 MNP_DEVICE_DATA *MnpDeviceData; member