Searched refs:Indices (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioLib/ |
D | VirtioLib.c | 160 OUT DESC_INDICES *Indices in VirtioPrepare() argument 175 Indices->HeadDescIdx = 0; in VirtioPrepare() 176 Indices->NextDescIdx = Indices->HeadDescIdx; in VirtioPrepare() 224 IN OUT DESC_INDICES *Indices in VirtioAppendDesc() argument 229 Desc = &Ring->Desc[Indices->NextDescIdx++ % Ring->QueueSize]; in VirtioAppendDesc() 233 Desc->Next = Indices->NextDescIdx % Ring->QueueSize; in VirtioAppendDesc() 270 IN DESC_INDICES *Indices, in VirtioFlush() argument 293 Indices->HeadDescIdx % Ring->QueueSize; in VirtioFlush() 336 ASSERT (UsedElem->Id == Indices->HeadDescIdx); in VirtioFlush()
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/Library/ |
D | VirtioLib.h | 103 OUT DESC_INDICES *Indices 151 IN OUT DESC_INDICES *Indices 188 IN DESC_INDICES *Indices,
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioGpuDxe/ |
D | Commands.c | 267 DESC_INDICES Indices; in VirtioGpuSendCommand() local 292 VirtioPrepare (&VgpuDev->Ring, &Indices); in VirtioGpuSendCommand() 294 VRING_DESC_F_NEXT, &Indices); in VirtioGpuSendCommand() 296 VRING_DESC_F_WRITE, &Indices); in VirtioGpuSendCommand() 302 &VgpuDev->Ring, &Indices, &ResponseSize); in VirtioGpuSendCommand()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioBlkDxe/ |
D | VirtioBlk.c | 252 DESC_INDICES Indices; in SynchronousRequest() local 277 VirtioPrepare (&Dev->Ring, &Indices); in SynchronousRequest() 294 VRING_DESC_F_NEXT, &Indices); in SynchronousRequest() 315 &Indices); in SynchronousRequest() 322 VRING_DESC_F_WRITE, &Indices); in SynchronousRequest() 327 if (VirtioFlush (Dev->VirtIo, 0, &Dev->Ring, &Indices, in SynchronousRequest()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioRngDxe/ |
D | VirtioRng.c | 136 DESC_INDICES Indices; in VirtioRngGetRNG() local 170 VirtioPrepare (&Dev->Ring, &Indices); in VirtioRngGetRNG() 175 &Indices); in VirtioRngGetRNG() 177 if (VirtioFlush (Dev->VirtIo, 0, &Dev->Ring, &Indices, &Len) != in VirtioRngGetRNG()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioScsiDxe/ |
D | VirtioScsi.c | 412 DESC_INDICES Indices; in VirtioScsiPassThru() local 425 VirtioPrepare (&Dev->Ring, &Indices); in VirtioScsiPassThru() 442 VRING_DESC_F_NEXT, &Indices); in VirtioScsiPassThru() 449 Packet->OutTransferLength, VRING_DESC_F_NEXT, &Indices); in VirtioScsiPassThru() 458 &Indices); in VirtioScsiPassThru() 465 Packet->InTransferLength, VRING_DESC_F_WRITE, &Indices); in VirtioScsiPassThru() 473 &Indices, NULL) != EFI_SUCCESS) { in VirtioScsiPassThru()
|