/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
H A D | UsbMassBot.c | 540 OUT UINT8 *MaxLun in UsbBotGetMaxLun() argument 549 if (Context == NULL || MaxLun == NULL) { in UsbBotGetMaxLun() 571 (VOID *) MaxLun, in UsbBotGetMaxLun() 575 if (EFI_ERROR (Status) || *MaxLun > USB_BOT_MAX_LUN) { in UsbBotGetMaxLun() 585 *MaxLun = 0; in UsbBotGetMaxLun()
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 390 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 443 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 477 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 487 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 490 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 797 UINT8 MaxLun; in USBMassDriverBindingStart() local 806 MaxLun = 0; in USBMassDriverBindingStart() 808 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 814 if (MaxLun == 0) { in USBMassDriverBindingStart() 864 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
H A D | UsbMassBot.c | 540 OUT UINT8 *MaxLun in UsbBotGetMaxLun() argument 549 if (Context == NULL || MaxLun == NULL) { in UsbBotGetMaxLun() 571 (VOID *) MaxLun, in UsbBotGetMaxLun() 575 if (EFI_ERROR (Status) || *MaxLun > USB_BOT_MAX_LUN) { in UsbBotGetMaxLun() 585 *MaxLun = 0; in UsbBotGetMaxLun()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
H A D | UsbMassBot.c | 540 OUT UINT8 *MaxLun in UsbBotGetMaxLun() argument 549 if (Context == NULL || MaxLun == NULL) { in UsbBotGetMaxLun() 571 (VOID *) MaxLun, in UsbBotGetMaxLun() 575 if (EFI_ERROR (Status) || *MaxLun > USB_BOT_MAX_LUN) { in UsbBotGetMaxLun() 585 *MaxLun = 0; in UsbBotGetMaxLun()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
H A D | UsbMassBot.c | 540 OUT UINT8 *MaxLun in UsbBotGetMaxLun() argument 549 if (Context == NULL || MaxLun == NULL) { in UsbBotGetMaxLun() 571 (VOID *) MaxLun, in UsbBotGetMaxLun() 575 if (EFI_ERROR (Status) || *MaxLun > USB_BOT_MAX_LUN) { in UsbBotGetMaxLun() 585 *MaxLun = 0; in UsbBotGetMaxLun()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
H A D | UsbMassBot.c | 540 OUT UINT8 *MaxLun in UsbBotGetMaxLun() argument 549 if (Context == NULL || MaxLun == NULL) { in UsbBotGetMaxLun() 571 (VOID *) MaxLun, in UsbBotGetMaxLun() 575 if (EFI_ERROR (Status) || *MaxLun > USB_BOT_MAX_LUN) { in UsbBotGetMaxLun() 585 *MaxLun = 0; in UsbBotGetMaxLun()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
/dports/sysutils/edk2/edk2-edk2-stable202102/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
H A D | UsbMassImpl.c | 392 OUT UINT8 *MaxLun in UsbMassInitTransport() argument 445 (*Transport)->GetMaxLun (*Context, MaxLun); in UsbMassInitTransport() 479 IN UINT8 MaxLun in UsbMassInitMultiLun() argument 489 ASSERT (MaxLun > 0); in UsbMassInitMultiLun() 492 for (Index = 0; Index <= MaxLun; Index++) { in UsbMassInitMultiLun() 799 UINT8 MaxLun; in USBMassDriverBindingStart() local 808 MaxLun = 0; in USBMassDriverBindingStart() 810 Status = UsbMassInitTransport (This, Controller, &Transport, &Context, &MaxLun); in USBMassDriverBindingStart() 816 if (MaxLun == 0) { in USBMassDriverBindingStart() 866 Status = UsbMassInitMultiLun (This, Controller, Transport, Context, DevicePath, MaxLun); in USBMassDriverBindingStart() [all …]
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 197 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 524 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 528 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 563 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 610 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 782 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 786 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 787 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 929 Dev->MaxLun = 0; in VirtioScsiInit() 953 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/OvmfPkg/VirtioScsiDxe/ |
H A D | VirtioScsi.c | 192 Target > Dev->MaxTarget || Lun > Dev->MaxLun || in PopulateRequest() 743 if (LastTarget > Dev->MaxTarget || *Lun > Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 747 if (*Lun < Dev->MaxLun) { in VirtioScsiGetNextTargetLun() 782 if (TargetValue > Dev->MaxTarget || Lun > Dev->MaxLun || Lun > 0xFFFF) { in VirtioScsiBuildDevicePath() 829 ScsiDevicePath->Lun > Dev->MaxLun) { in VirtioScsiGetTargetLun() 1001 Status = VIRTIO_CFG_READ (Dev, MaxLun, &Dev->MaxLun); in VirtioScsiInit() 1005 if (Dev->MaxLun > PcdGet32 (PcdVirtioScsiMaxLunLimit)) { in VirtioScsiInit() 1006 Dev->MaxLun = PcdGet32 (PcdVirtioScsiMaxLunLimit); in VirtioScsiInit() 1181 Dev->MaxLun = 0; in VirtioScsiInit() 1204 Dev->MaxLun = 0; in VirtioScsiUninit()
|