Home
last modified time | relevance | path

Searched refs:Cpb (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DTransmit.c46 PXE_CPB_FILL_HEADER_FRAGMENTED *Cpb; in PxeFillHeader() local
48 Cpb = Snp->Cpb; in PxeFillHeader()
51 (VOID *) Cpb->SrcAddr, in PxeFillHeader()
57 (VOID *) Cpb->SrcAddr, in PxeFillHeader()
64 (VOID *) Cpb->DestAddr, in PxeFillHeader()
72 Cpb->Protocol = (UINT16) PXE_SWAP_UINT16 (*ProtocolPtr); in PxeFillHeader()
74 Cpb->PacketLen = (UINT32) (BufferSize); in PxeFillHeader()
75 Cpb->MediaHeaderLen = (UINT16) HeaderSize; in PxeFillHeader()
77 Cpb->FragCnt = 2; in PxeFillHeader()
78 Cpb->reserved = 0; in PxeFillHeader()
[all …]
DInitialize.c36 PXE_CPB_INITIALIZE *Cpb; in PxeInit() local
42 Cpb = Snp->Cpb; in PxeInit()
69 Cpb->MemoryAddr = (UINT64)(UINTN) Snp->TxRxBuffer; in PxeInit()
71 Cpb->MemoryLength = Snp->TxRxBufferSize; in PxeInit()
76 Cpb->LinkSpeed = 0; in PxeInit()
77 Cpb->TxBufCnt = 0; in PxeInit()
78 Cpb->TxBufSize = 0; in PxeInit()
79 Cpb->RxBufCnt = 0; in PxeInit()
80 Cpb->RxBufSize = 0; in PxeInit()
82 Cpb->DuplexMode = PXE_DUPLEX_DEFAULT; in PxeInit()
[all …]
DReceive.c55 PXE_CPB_RECEIVE *Cpb; in PxeReceive() local
59 Cpb = Snp->Cpb; in PxeReceive()
63 Cpb->BufferAddr = (UINT64)(UINTN) Buffer; in PxeReceive()
64 Cpb->BufferLen = (UINT32) *BufferSize; in PxeReceive()
66 Cpb->reserved = 0; in PxeReceive()
72 Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb; in PxeReceive()
DMcast_ip_to_mac.c41 PXE_CPB_MCAST_IP_TO_MAC *Cpb; in PxeIp2Mac() local
44 Cpb = Snp->Cpb; in PxeIp2Mac()
51 Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb; in PxeIp2Mac()
59 CopyMem (&Cpb->IP, IP, sizeof (PXE_IP_ADDR)); in PxeIp2Mac()
DStation_address.c108 PXE_CPB_STATION_ADDRESS *Cpb; in PxeSetStnAddr() local
111 Cpb = Snp->Cpb; in PxeSetStnAddr()
124 CopyMem (&Cpb->StationAddr, NewMacAddr, Snp->Mode.HwAddressSize); in PxeSetStnAddr()
127 Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb; in PxeSetStnAddr()
DReceive_filters.c76 Snp->Cdb.CPBaddr = (UINT64)(UINTN)Snp->Cpb; in PxeRecvFilterEnable()
77 CopyMem (Snp->Cpb, MCastAddressList, Snp->Cdb.CPBsize); in PxeRecvFilterEnable()
DStart.c34 Cpb31 = Snp->Cpb; in PxeStart()
DSnp.c464 Snp->Cpb = (VOID *) (UINTN) Address; in SimpleNetworkDriverStart()
688 Snp->Cpb in SimpleNetworkDriverStart()
815 Snp->Cpb in SimpleNetworkDriverStop()
DSnp.h110 VOID *Cpb; member
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/
DDecode.c1124 PXE_CPB_FILL_HEADER *Cpb; in UNDI_FillHeader() local
1161 Cpb = (PXE_CPB_FILL_HEADER *) (UINTN) CdbPtr->CPBaddr; in UNDI_FillHeader()
1163 MacHeader = (EtherHeader *) (UINTN) Cpb->MediaHeader; in UNDI_FillHeader()
1167 MacHeader->type = Cpb->Protocol; in UNDI_FillHeader()
1170 MacHeader->dest_addr[Index] = Cpb->DestAddr[Index]; in UNDI_FillHeader()
1171 MacHeader->src_addr[Index] = Cpb->SrcAddr[Index]; in UNDI_FillHeader()