Home
last modified time | relevance | path

Searched refs:Cdb (Results 1 – 25 of 45) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DReceive_filters.c43 Snp->Cdb.OpCode = PXE_OPCODE_RECEIVE_FILTERS; in PxeRecvFilterEnable()
44 Snp->Cdb.OpFlags = PXE_OPFLAGS_RECEIVE_FILTER_ENABLE; in PxeRecvFilterEnable()
45 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeRecvFilterEnable()
46 Snp->Cdb.DBsize = PXE_DBSIZE_NOT_USED; in PxeRecvFilterEnable()
47 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeRecvFilterEnable()
48 Snp->Cdb.DBaddr = PXE_DBADDR_NOT_USED; in PxeRecvFilterEnable()
49 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeRecvFilterEnable()
50 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeRecvFilterEnable()
51 Snp->Cdb.IFnum = Snp->IfNum; in PxeRecvFilterEnable()
52 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeRecvFilterEnable()
[all …]
DStation_address.c36 Snp->Cdb.OpCode = PXE_OPCODE_STATION_ADDRESS; in PxeGetStnAddr()
37 Snp->Cdb.OpFlags = PXE_OPFLAGS_STATION_ADDRESS_READ; in PxeGetStnAddr()
39 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeGetStnAddr()
40 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeGetStnAddr()
42 Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_STATION_ADDRESS); in PxeGetStnAddr()
43 Snp->Cdb.DBaddr = (UINT64)(UINTN) Db; in PxeGetStnAddr()
45 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeGetStnAddr()
46 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeGetStnAddr()
47 Snp->Cdb.IFnum = Snp->IfNum; in PxeGetStnAddr()
48 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeGetStnAddr()
[all …]
DTransmit.c87 Snp->Cdb.OpCode = PXE_OPCODE_FILL_HEADER; in PxeFillHeader()
88 Snp->Cdb.OpFlags = PXE_OPFLAGS_FILL_HEADER_FRAGMENTED; in PxeFillHeader()
90 Snp->Cdb.DBsize = PXE_DBSIZE_NOT_USED; in PxeFillHeader()
91 Snp->Cdb.DBaddr = PXE_DBADDR_NOT_USED; in PxeFillHeader()
93 Snp->Cdb.CPBsize = (UINT16) sizeof (PXE_CPB_FILL_HEADER_FRAGMENTED); in PxeFillHeader()
94 Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb; in PxeFillHeader()
96 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeFillHeader()
97 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeFillHeader()
98 Snp->Cdb.IFnum = Snp->IfNum; in PxeFillHeader()
99 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeFillHeader()
[all …]
DReset.c32 Snp->Cdb.OpCode = PXE_OPCODE_RESET; in PxeReset()
33 Snp->Cdb.OpFlags = PXE_OPFLAGS_NOT_USED; in PxeReset()
34 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeReset()
35 Snp->Cdb.DBsize = PXE_DBSIZE_NOT_USED; in PxeReset()
36 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeReset()
37 Snp->Cdb.DBaddr = PXE_DBADDR_NOT_USED; in PxeReset()
38 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeReset()
39 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeReset()
40 Snp->Cdb.IFnum = Snp->IfNum; in PxeReset()
41 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeReset()
[all …]
DStop.c32 Snp->Cdb.OpCode = PXE_OPCODE_STOP; in PxeStop()
33 Snp->Cdb.OpFlags = PXE_OPFLAGS_NOT_USED; in PxeStop()
34 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeStop()
35 Snp->Cdb.DBsize = PXE_DBSIZE_NOT_USED; in PxeStop()
36 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeStop()
37 Snp->Cdb.DBaddr = PXE_DBADDR_NOT_USED; in PxeStop()
38 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeStop()
39 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeStop()
40 Snp->Cdb.IFnum = Snp->IfNum; in PxeStop()
41 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeStop()
[all …]
DStatistics.c121 Snp->Cdb.OpCode = PXE_OPCODE_STATISTICS; in SnpUndi32Statistics()
122 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in SnpUndi32Statistics()
123 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in SnpUndi32Statistics()
124 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in SnpUndi32Statistics()
125 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in SnpUndi32Statistics()
126 Snp->Cdb.IFnum = Snp->IfNum; in SnpUndi32Statistics()
127 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in SnpUndi32Statistics()
130 Snp->Cdb.OpFlags = PXE_OPFLAGS_STATISTICS_RESET; in SnpUndi32Statistics()
131 Snp->Cdb.DBsize = PXE_DBSIZE_NOT_USED; in SnpUndi32Statistics()
132 Snp->Cdb.DBaddr = PXE_DBADDR_NOT_USED; in SnpUndi32Statistics()
[all …]
DMcast_ip_to_mac.c46 Snp->Cdb.OpCode = PXE_OPCODE_MCAST_IP_TO_MAC; in PxeIp2Mac()
47 …Snp->Cdb.OpFlags = (UINT16) (IPv6 ? PXE_OPFLAGS_MCAST_IPV6_TO_MAC : PXE_OPFLAGS_MCAST_IPV4_TO_M… in PxeIp2Mac()
48 Snp->Cdb.CPBsize = (UINT16) sizeof (PXE_CPB_MCAST_IP_TO_MAC); in PxeIp2Mac()
49 Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_MCAST_IP_TO_MAC); in PxeIp2Mac()
51 Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb; in PxeIp2Mac()
52 Snp->Cdb.DBaddr = (UINT64)(UINTN) Db; in PxeIp2Mac()
54 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeIp2Mac()
55 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeIp2Mac()
56 Snp->Cdb.IFnum = Snp->IfNum; in PxeIp2Mac()
57 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeIp2Mac()
[all …]
DWaitForPacket.c55 ((SNP_DRIVER *) SnpPtr)->Cdb.OpCode = PXE_OPCODE_GET_STATUS; in SnpWaitForPacketNotify()
56 ((SNP_DRIVER *) SnpPtr)->Cdb.OpFlags = 0; in SnpWaitForPacketNotify()
57 ((SNP_DRIVER *) SnpPtr)->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in SnpWaitForPacketNotify()
58 ((SNP_DRIVER *) SnpPtr)->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in SnpWaitForPacketNotify()
59 ((SNP_DRIVER *) SnpPtr)->Cdb.DBsize = (UINT16) (sizeof (UINT32) * 2); in SnpWaitForPacketNotify()
60 ((SNP_DRIVER *) SnpPtr)->Cdb.DBaddr = (UINT64)(UINTN) (((SNP_DRIVER *) SnpPtr)->Db); in SnpWaitForPacketNotify()
61 ((SNP_DRIVER *) SnpPtr)->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in SnpWaitForPacketNotify()
62 ((SNP_DRIVER *) SnpPtr)->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in SnpWaitForPacketNotify()
63 ((SNP_DRIVER *) SnpPtr)->Cdb.IFnum = ((SNP_DRIVER *) SnpPtr)->IfNum; in SnpWaitForPacketNotify()
64 ((SNP_DRIVER *) SnpPtr)->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in SnpWaitForPacketNotify()
[all …]
DStart.c38 Snp->Cdb.OpCode = PXE_OPCODE_START; in PxeStart()
39 Snp->Cdb.OpFlags = PXE_OPFLAGS_NOT_USED; in PxeStart()
40 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeStart()
41 Snp->Cdb.DBsize = PXE_DBSIZE_NOT_USED; in PxeStart()
42 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeStart()
43 Snp->Cdb.DBaddr = PXE_DBADDR_NOT_USED; in PxeStart()
44 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeStart()
45 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeStart()
46 Snp->Cdb.IFnum = Snp->IfNum; in PxeStart()
47 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeStart()
[all …]
DNvdata.c44 Snp->Cdb.OpCode = PXE_OPCODE_NVDATA; in PxeNvDataRead()
46 Snp->Cdb.OpFlags = PXE_OPFLAGS_NVDATA_READ; in PxeNvDataRead()
48 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeNvDataRead()
49 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeNvDataRead()
51 Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_NVDATA); in PxeNvDataRead()
52 Snp->Cdb.DBaddr = (UINT64)(UINTN) Db; in PxeNvDataRead()
54 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeNvDataRead()
55 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeNvDataRead()
56 Snp->Cdb.IFnum = Snp->IfNum; in PxeNvDataRead()
57 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeNvDataRead()
[all …]
DShutdown.c32 Snp->Cdb.OpCode = PXE_OPCODE_SHUTDOWN; in PxeShutdown()
33 Snp->Cdb.OpFlags = PXE_OPFLAGS_NOT_USED; in PxeShutdown()
34 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeShutdown()
35 Snp->Cdb.DBsize = PXE_DBSIZE_NOT_USED; in PxeShutdown()
36 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeShutdown()
37 Snp->Cdb.DBaddr = PXE_DBADDR_NOT_USED; in PxeShutdown()
38 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeShutdown()
39 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeShutdown()
40 Snp->Cdb.IFnum = Snp->IfNum; in PxeShutdown()
41 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeShutdown()
[all …]
DGet_status.c49 Snp->Cdb.OpCode = PXE_OPCODE_GET_STATUS; in PxeGetStatus()
51 Snp->Cdb.OpFlags = 0; in PxeGetStatus()
54 Snp->Cdb.OpFlags |= PXE_OPFLAGS_GET_TRANSMITTED_BUFFERS; in PxeGetStatus()
59 Snp->Cdb.OpFlags |= PXE_OPFLAGS_GET_INTERRUPT_STATUS; in PxeGetStatus()
63 Snp->Cdb.OpFlags |= PXE_OPFLAGS_GET_MEDIA_STATUS; in PxeGetStatus()
66 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in PxeGetStatus()
67 Snp->Cdb.CPBaddr = PXE_CPBADDR_NOT_USED; in PxeGetStatus()
69 Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_GET_STATUS); in PxeGetStatus()
70 Snp->Cdb.DBaddr = (UINT64)(UINTN) Db; in PxeGetStatus()
72 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeGetStatus()
[all …]
DReceive.c68 Snp->Cdb.OpCode = PXE_OPCODE_RECEIVE; in PxeReceive()
69 Snp->Cdb.OpFlags = PXE_OPFLAGS_NOT_USED; in PxeReceive()
71 Snp->Cdb.CPBsize = (UINT16) sizeof (PXE_CPB_RECEIVE); in PxeReceive()
72 Snp->Cdb.CPBaddr = (UINT64)(UINTN) Cpb; in PxeReceive()
74 Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_RECEIVE); in PxeReceive()
75 Snp->Cdb.DBaddr = (UINT64)(UINTN) Db; in PxeReceive()
77 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeReceive()
78 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeReceive()
79 Snp->Cdb.IFnum = Snp->IfNum; in PxeReceive()
80 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeReceive()
[all …]
DInitialize.c86 Snp->Cdb.OpCode = PXE_OPCODE_INITIALIZE; in PxeInit()
87 Snp->Cdb.OpFlags = CableDetectFlag; in PxeInit()
89 Snp->Cdb.CPBsize = (UINT16) sizeof (PXE_CPB_INITIALIZE); in PxeInit()
90 Snp->Cdb.DBsize = (UINT16) sizeof (PXE_DB_INITIALIZE); in PxeInit()
92 Snp->Cdb.CPBaddr = (UINT64)(UINTN) Snp->Cpb; in PxeInit()
93 Snp->Cdb.DBaddr = (UINT64)(UINTN) Snp->Db; in PxeInit()
95 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in PxeInit()
96 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in PxeInit()
97 Snp->Cdb.IFnum = Snp->IfNum; in PxeInit()
98 Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST; in PxeInit()
[all …]
DSnp.c55 UINT64 Cdb in IssueHwUndiCommand() argument
60 if (Cdb == 0) { in IssueHwUndiCommand()
512 Snp->Cdb.OpCode = PXE_OPCODE_GET_INIT_INFO; in SimpleNetworkDriverStart()
513 Snp->Cdb.OpFlags = PXE_OPFLAGS_NOT_USED; in SimpleNetworkDriverStart()
515 Snp->Cdb.CPBsize = PXE_CPBSIZE_NOT_USED; in SimpleNetworkDriverStart()
516 Snp->Cdb.CPBaddr = PXE_DBADDR_NOT_USED; in SimpleNetworkDriverStart()
518 Snp->Cdb.DBsize = (UINT16) sizeof (Snp->InitInfo); in SimpleNetworkDriverStart()
519 Snp->Cdb.DBaddr = (UINT64)(UINTN) (&Snp->InitInfo); in SimpleNetworkDriverStart()
521 Snp->Cdb.StatCode = PXE_STATCODE_INITIALIZE; in SimpleNetworkDriverStart()
522 Snp->Cdb.StatFlags = PXE_STATFLAGS_INITIALIZE; in SimpleNetworkDriverStart()
[all …]
DSnp.h58 UINT64 Cdb
109 PXE_CDB Cdb; member
/device/linaro/bootloader/edk2/MdePkg/Library/UefiScsiLib/
DUefiScsiLib.c149 UINT8 Cdb[EFI_SCSI_OP_LENGTH_SIX]; in ScsiTestUnitReadyCommand() local
157 ZeroMem (Cdb, EFI_SCSI_OP_LENGTH_SIX); in ScsiTestUnitReadyCommand()
165 CommandPacket.Cdb = Cdb; in ScsiTestUnitReadyCommand()
169 Cdb[0] = EFI_SCSI_OP_TEST_UNIT_READY; in ScsiTestUnitReadyCommand()
289 UINT8 Cdb[EFI_SCSI_OP_LENGTH_SIX]; in ScsiInquiryCommandEx() local
298 ZeroMem (Cdb, EFI_SCSI_OP_LENGTH_SIX); in ScsiInquiryCommandEx()
305 CommandPacket.Cdb = Cdb; in ScsiInquiryCommandEx()
307 Cdb[0] = EFI_SCSI_OP_INQUIRY; in ScsiInquiryCommandEx()
309 Cdb[1] |= 0x01; in ScsiInquiryCommandEx()
310 Cdb[2] = PageCode; in ScsiInquiryCommandEx()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsBlockIoPei.c155 UINT8 Cdb[UFS_SCSI_OP_LENGTH_SIX]; in UfsPeimRequestSense() local
159 ZeroMem (Cdb, sizeof (Cdb)); in UfsPeimRequestSense()
161 Cdb[0] = EFI_SCSI_OP_REQUEST_SENSE; in UfsPeimRequestSense()
164 Packet.Cdb = Cdb; in UfsPeimRequestSense()
165 Packet.CdbLength = sizeof (Cdb); in UfsPeimRequestSense()
203 UINT8 Cdb[UFS_SCSI_OP_LENGTH_SIX]; in UfsPeimTestUnitReady() local
207 ZeroMem (Cdb, sizeof (Cdb)); in UfsPeimTestUnitReady()
209 Cdb[0] = EFI_SCSI_OP_TEST_UNIT_READY; in UfsPeimTestUnitReady()
212 Packet.Cdb = Cdb; in UfsPeimTestUnitReady()
213 Packet.CdbLength = sizeof (Cdb); in UfsPeimTestUnitReady()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/
DVirtioScsi.h67 UINT8 Cdb[VIRTIO_SCSI_CDB_SIZE]; member
/device/linaro/bootloader/edk2/OptionRomPkg/AtapiPassThruDxe/
DAtapiPassThru.c1714 if (Packet->Cdb == NULL) { in CheckSCSIRequestPacket()
1754 OpCode = (UINT8 *) (Packet->Cdb); in IsCommandValid()
1824 CopyMem (&PacketCommand, Packet->Cdb, Packet->CdbLength); in SubmitBlockingIoCommand()
1905 UINT8 Cdb[12]; in RequestSenseCommand() local
1909 ZeroMem (Cdb, 12); in RequestSenseCommand()
1911 Cdb[0] = OP_REQUEST_SENSE; in RequestSenseCommand()
1912 Cdb[4] = (UINT8) (*SenseDataLength); in RequestSenseCommand()
1917 Packet.Cdb = Cdb; in RequestSenseCommand()
1956 if (Packet->Cdb == NULL) { in CheckExtSCSIRequestPacket()
1997 OpCode = (UINT8 *) (Packet->Cdb); in IsExtCommandValid()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/ScsiIo/
DScsiIo.h77 VOID *Cdb; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DScsiIo.h122 VOID *Cdb; member
DScsiPassThru.h94 VOID *Cdb; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DAtaAtapiPassThru.c1910 UINT8 Cdb[12]; in AtaPacketRequestSense() local
1914 ZeroMem (Cdb, 12); in AtaPacketRequestSense()
1916 Cdb[0] = ATA_CMD_REQUEST_SENSE; in AtaPacketRequestSense()
1917 Cdb[4] = SenseDataLength; in AtaPacketRequestSense()
1920 Packet.Cdb = Cdb; in AtaPacketRequestSense()
1997 if ((Packet == NULL) || (Packet->Cdb == NULL)) { in ExtScsiPassThruPassThru()
2058 if (*((UINT8*)Packet->Cdb) == ATA_CMD_IDENTIFY_DEVICE) { in ExtScsiPassThruPassThru()
2099 …if (EFI_ERROR (Status) && (Packet->SenseDataLength != 0) && (*((UINT8*)Packet->Cdb) != ATA_CMD_REQ… in ExtScsiPassThruPassThru()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/ScsiPassThru/
DScsiPassThru.h71 VOID *Cdb; member

12