Searched refs:QueueSize (Results 1 – 12 of 12) sorted by relevance
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioLib/ |
D | VirtioLib.c | 56 IN UINT16 QueueSize, in VirtioRingInit() argument 64 sizeof *Ring->Desc * QueueSize + in VirtioRingInit() 67 sizeof *Ring->Avail.Ring * QueueSize + in VirtioRingInit() 74 sizeof *Ring->Used.UsedElem * QueueSize + in VirtioRingInit() 87 RingPagesPtr += sizeof *Ring->Desc * QueueSize; in VirtioRingInit() 96 RingPagesPtr += sizeof *Ring->Avail.Ring * QueueSize; in VirtioRingInit() 112 RingPagesPtr += sizeof *Ring->Used.UsedElem * QueueSize; in VirtioRingInit() 117 Ring->QueueSize = QueueSize; in VirtioRingInit() 229 Desc = &Ring->Desc[Indices->NextDescIdx++ % Ring->QueueSize]; in VirtioAppendDesc() 233 Desc->Next = Indices->NextDescIdx % Ring->QueueSize; in VirtioAppendDesc() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/ |
D | SnpInitialize.c | 55 UINT16 QueueSize; in VirtioNetInitRing() local 64 Status = Dev->VirtIo->GetQueueNumMax (Dev->VirtIo, &QueueSize); in VirtioNetInitRing() 73 if (QueueSize < 2) { in VirtioNetInitRing() 76 Status = VirtioRingInit (QueueSize, Ring); in VirtioNetInitRing() 85 Status = Dev->VirtIo->SetQueueNum (Dev->VirtIo, QueueSize); in VirtioNetInitRing() 144 Dev->TxMaxPending = (UINT16) MIN (Dev->TxRing.QueueSize / 2, in VirtioNetInitTx() 246 RxAlwaysPending = (UINT16) MIN (Dev->RxRing.QueueSize / 2, VNET_MAX_PENDING); in VirtioNetInitRx()
|
D | SnpReceive.c | 115 UsedElemIdx = Dev->RxLastUsed % Dev->RxRing.QueueSize; in VirtioNetReceive() 173 Dev->RxRing.Avail.Ring[AvailIdx++ % Dev->RxRing.QueueSize] = in VirtioNetReceive()
|
D | SnpGetStatus.c | 139 UsedElemIdx = Dev->TxLastUsed++ % Dev->TxRing.QueueSize; in VirtioNetGetStatus()
|
D | SnpTransmit.c | 158 Dev->TxRing.Avail.Ring[AvailIdx++ % Dev->TxRing.QueueSize] = DescIdx; in VirtioNetTransmit()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioBlkDxe/ |
D | VirtioBlk.c | 288 ASSERT (Dev->Ring.QueueSize >= 3); in SynchronousRequest() 601 UINT16 QueueSize; in VirtioBlkInit() local 701 Status = Dev->VirtIo->GetQueueNumMax (Dev->VirtIo, &QueueSize); in VirtioBlkInit() 705 if (QueueSize < 3) { // SynchronousRequest() uses at most three descriptors in VirtioBlkInit() 710 Status = VirtioRingInit (QueueSize, &Dev->Ring); in VirtioBlkInit() 719 Status = Dev->VirtIo->SetQueueNum (Dev->VirtIo, QueueSize); in VirtioBlkInit()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/ |
D | VirtioMmioDeviceFunctions.c | 105 UINT16 QueueSize in VirtioMmioSetQueueSize() argument 112 VIRTIO_CFG_WRITE (Device, VIRTIO_MMIO_OFFSET_QUEUE_NUM, QueueSize); in VirtioMmioSetQueueSize()
|
D | VirtioMmioDevice.h | 96 UINT16 QueueSize
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/Library/ |
D | VirtioLib.h | 54 IN UINT16 QueueSize,
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioScsiDxe/ |
D | VirtioScsi.c | 436 ASSERT (Dev->Ring.QueueSize >= 4); in VirtioScsiPassThru() 713 UINT16 QueueSize; in VirtioScsiInit() local 810 Status = Dev->VirtIo->GetQueueNumMax (Dev->VirtIo, &QueueSize); in VirtioScsiInit() 817 if (QueueSize < 4) { in VirtioScsiInit() 822 Status = VirtioRingInit (QueueSize, &Dev->Ring); in VirtioScsiInit() 831 Status = Dev->VirtIo->SetQueueNum (Dev->VirtIo, QueueSize); in VirtioScsiInit()
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/ |
D | Virtio.h | 156 UINT16 QueueSize; member
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/Protocol/ |
D | VirtioDevice.h | 301 IN UINT16 QueueSize
|