Home
last modified time | relevance | path

Searched refs:ScsiDevicePath (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/OvmfPkg/VirtioScsiDxe/
DVirtioScsi.c555 SCSI_DEVICE_PATH *ScsiDevicePath; in VirtioScsiBuildDevicePath() local
567 ScsiDevicePath = AllocatePool (sizeof *ScsiDevicePath); in VirtioScsiBuildDevicePath()
568 if (ScsiDevicePath == NULL) { in VirtioScsiBuildDevicePath()
572 ScsiDevicePath->Header.Type = MESSAGING_DEVICE_PATH; in VirtioScsiBuildDevicePath()
573 ScsiDevicePath->Header.SubType = MSG_SCSI_DP; in VirtioScsiBuildDevicePath()
574 ScsiDevicePath->Header.Length[0] = (UINT8) sizeof *ScsiDevicePath; in VirtioScsiBuildDevicePath()
575 ScsiDevicePath->Header.Length[1] = (UINT8) (sizeof *ScsiDevicePath >> 8); in VirtioScsiBuildDevicePath()
576 ScsiDevicePath->Pun = TargetValue; in VirtioScsiBuildDevicePath()
577 ScsiDevicePath->Lun = (UINT16) Lun; in VirtioScsiBuildDevicePath()
579 *DevicePath = &ScsiDevicePath->Header; in VirtioScsiBuildDevicePath()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiBusDxe/
DScsiBus.c1129 EFI_DEVICE_PATH_PROTOCOL *ScsiDevicePath; in ScsiScanCreateDevice() local
1136 ScsiDevicePath = NULL; in ScsiScanCreateDevice()
1147 &ScsiDevicePath in ScsiScanCreateDevice()
1154 &ScsiDevicePath in ScsiScanCreateDevice()
1164 ScsiDevicePath in ScsiScanCreateDevice()
1267 FreePool (ScsiDevicePath); in ScsiScanCreateDevice()