HomeSort by relevance Sort by last modified time
    Searched refs:Ring (Results 1 - 25 of 52) sorted by null

1 2 3

  /device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioLib/
VirtioLib.c 29 Configure a virtio ring.
40 virtio ring, as requested by the host.
42 @param[out] Ring The virtio ring to set up.
46 Ring have indeterminate value.
48 @retval EFI_SUCCESS Allocation and setup successful. Ring->Base
57 OUT VRING *Ring
64 sizeof *Ring->Desc * QueueSize +
65 sizeof *Ring->Avail.Flags +
66 sizeof *Ring->Avail.Idx +
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Interfaces/
ComplexMovementListener.java 18 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Ring;
24 void onRingEntered(Ring ring);
  /device/linaro/bootloader/edk2/OvmfPkg/Include/Library/
VirtioLib.h 27 Configure a virtio ring.
38 virtio ring, as requested by the host.
40 @param[out] Ring The virtio ring to set up.
44 Ring have indeterminate value.
46 @retval EFI_SUCCESS Allocation and setup successful. Ring->Base
55 OUT VRING *Ring
61 Tear down the internal resources of a configured virtio ring.
63 The caller is responsible to stop the host from using this ring before
67 @param[out] Ring The virtio ring to clean up.
    [all...]
  /external/libchrome/base/task/sequence_manager/
lazily_deallocated_deque.h 39 // Minimum allocation for a ring. Note a ring of size 4 will only hold up to
64 for (const Ring* iter = head_.get(); iter; iter = iter->next_.get()) {
82 head_ = std::make_unique<Ring>(kMinimumRingSize);
88 std::unique_ptr<Ring> new_ring = std::make_unique<Ring>(kMinimumRingSize);
100 head_ = std::make_unique<Ring>(kMinimumRingSize);
106 tail_->next_ = std::make_unique<Ring>(tail_->capacity() * 2);
139 // If the ring has become empty and we have several rings then, remove the
168 // Due to the way the Ring works we need 1 more slot than is used
    [all...]
lazily_deallocated_deque_unittest.cc 270 // We need 1 more spot than the size due to the way the Ring works.
280 LazilyDeallocatedDeque<int>::Ring r(4);
291 LazilyDeallocatedDeque<int>::Ring r(4);
302 LazilyDeallocatedDeque<int>::Ring r1(4);
303 LazilyDeallocatedDeque<int>::Ring r2(4);
318 LazilyDeallocatedDeque<int>::Ring r(4);
  /external/skia/src/gpu/ops/
GrAAConvexTessellator.h 67 // CandidateVerts holds the vertices for the next ring while they are
127 // The Ring holds a set of indices into the global pool that together define
129 class Ring {
142 // Upgrade this ring so that it can behave like an originating ring
228 void terminate(const Ring& lastRing);
235 void fanRing(const Ring& ring);
237 Ring* getNextRing(Ring* lastRing)
    [all...]
GrAAConvexTessellator.cpp 203 // depth. If we are in fill mode, the final ring will automatically be fanned.
204 bool GrAAConvexTessellator::createInsetRings(Ring& previousRing, SkScalar initialDepth,
206 SkScalar targetCoverage, Ring** finalRing) {
212 Ring* currentRing = &previousRing;
215 Ring* nextRing = this->getNextRing(currentRing);
243 // The polygon state is captured in the Ring class while the GrAAConvexTessellator
245 // next ring.
258 Ring outerStrokeAndAARing;
263 // discard all the triangles added between the originating ring and the new outer ring
    [all...]
  /external/skqp/src/gpu/ops/
GrAAConvexTessellator.h 67 // CandidateVerts holds the vertices for the next ring while they are
127 // The Ring holds a set of indices into the global pool that together define
129 class Ring {
142 // Upgrade this ring so that it can behave like an originating ring
228 void terminate(const Ring& lastRing);
235 void fanRing(const Ring& ring);
237 Ring* getNextRing(Ring* lastRing)
    [all...]
GrAAConvexTessellator.cpp 203 // depth. If we are in fill mode, the final ring will automatically be fanned.
204 bool GrAAConvexTessellator::createInsetRings(Ring& previousRing, SkScalar initialDepth,
206 SkScalar targetCoverage, Ring** finalRing) {
212 Ring* currentRing = &previousRing;
215 Ring* nextRing = this->getNextRing(currentRing);
243 // The polygon state is captured in the Ring class while the GrAAConvexTessellator
245 // next ring.
258 Ring outerStrokeAndAARing;
263 // discard all the triangles added between the originating ring and the new outer ring
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/PathUtilityClasses/
Ring.java 23 * Ring object, contains all the information about a ring.
25 public class Ring {
35 * Constructor to the ring. The ring is always initialised to not entered.
37 * @param location the location of the center of the ring
38 * @param pathNumber the path that the ring is located along
39 * @param rotation the orientation of the ring
40 * @param rectangleHitBox the four corners of the rectangular hit box covered by the ring in a
43 public Ring(float[] location, int pathNumber
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioRngDxe/
VirtioRng.h 39 VRING Ring; // VirtioRingInit 2
VirtioRng.c 170 VirtioPrepare (&Dev->Ring, &Indices);
171 VirtioAppendDesc (&Dev->Ring,
177 if (VirtioFlush (Dev->VirtIo, 0, &Dev->Ring, &Indices, &Len) !=
278 Status = VirtioRingInit (QueueSize, &Dev->Ring);
285 // size. If anything fails from here on, we must release the ring resources.
300 Status = Dev->VirtIo->SetQueueAddress (Dev->VirtIo, &Dev->Ring);
334 VirtioRingUninit (&Dev->Ring);
361 VirtioRingUninit (&Dev->Ring);
380 // ring.
382 // We allocated said ring in EfiBootServicesData type memory, and code
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
ComplexMovementTest.java 24 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Ring;
71 * Tests whether the current location enters a ring.
76 Ring ring = ((ComplexMovementPath) mTestPath).hasRingBeenEntered(location); local
77 if (ring != null && !ring.isEntered()) {
78 // If ring has not already been entered.
79 mManager.ringEntered(ring);
80 ring.setEntered(true);
87 * @return true if all rings are entered and false if there is at least one ring not entere
107 Ring ring = ((ComplexMovementPath) mTestPath).getRings().get(ringIndex); local
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
BlockFront.c 95 if (Dev->Ring.sring != NULL) {
96 FreePages (Dev->Ring.sring, 1);
215 FRONT_RING_INIT (&Dev->Ring, SharedRing, EFI_PAGE_SIZE);
229 Status = XenBusIo->XsPrintf (XenBusIo, &Transaction, NodeName, "ring-ref", "%d",
232 DEBUG ((EFI_D_ERROR, "XenPvBlk: Failed to write ring-ref.\n"));
328 XenBusIo->XsRemove (XenBusIo, XST_NIL, "ring-ref");
409 XenBusIo->XsRemove (XenBusIo, XST_NIL, "ring-ref");
423 if (RING_FULL (&Dev->Ring)) {
426 if (!RING_FULL (&Dev->Ring)) {
462 RingIndex = Dev->Ring.req_prod_pvt;
    [all...]
BlockFront.h 53 blkif_front_ring_t Ring;
  /device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/
DebugCommunicationLibUsb3Transfer.c 17 Synchronize the specified transfer ring to update the enqueue and dequeue pointer.
20 @param TrsRing The transfer ring to sync.
22 @retval EFI_SUCCESS The transfer ring is synchronized successfully.
80 Synchronize the specified event ring to update the enqueue and dequeue pointer.
83 @param EvtRing The event ring to sync.
85 @retval EFI_SUCCESS The event ring is synchronized successfully.
132 @param EvtRing The event ring to check.
135 @retval EFI_SUCCESS Found a new event TRB at the event ring.
136 @retval EFI_NOT_READY The event ring has no new event.
163 // If the dequeue pointer is beyond the ring, then roll-back it to the begining of the ring.
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
ComplexMovementRenderer.java 25 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Ring;
64 private ArrayList<Ring> mRings;
66 public ComplexMovementRenderer(Context context, ArrayList<Ring> rings) {
83 for (Ring ring : mRings) {
85 MathsUtils.convertToOpenGlCoordinates(ring.getLocation(), mOpenGlRotation);
87 MathsUtils.convertToOpenGlCoordinates(ring.getRingRotation(), mOpenGlRotation);
90 ring.setRingRenderable(ringRenderable);
141 for (Ring ring : mRings)
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioGpuDxe/
Commands.c 26 initialized VgpuDev->VirtIo. On output, VgpuDev->Ring
130 Status = VirtioRingInit (QueueSize, &VgpuDev->Ring);
134 Status = VgpuDev->VirtIo->SetQueueAddress (VgpuDev->VirtIo, &VgpuDev->Ring);
151 VirtioRingUninit (&VgpuDev->Ring);
172 called VirtioGpuInit(). On output, VgpuDev->Ring has
186 VirtioRingUninit (&VgpuDev->Ring);
292 VirtioPrepare (&VgpuDev->Ring, &Indices);
293 VirtioAppendDesc (&VgpuDev->Ring, (UINTN)Header, (UINT32)RequestSize,
295 VirtioAppendDesc (&VgpuDev->Ring, (UINTN)&Response, sizeof Response,
302 &VgpuDev->Ring, &Indices, &ResponseSize);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
ComplexMovementPath.java 29 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Ring;
39 private ArrayList<Ring> mRings = new ArrayList<>();
45 * Possible locations for a ring.
72 * Defines the different ring locations that can be used when adding the rings.
99 * @throws WaypointRingNotEnteredException if a ring is not entered
104 for (Ring ring : mRings) {
105 if (ring.getPathNumber() == mCurrentLap && !ring.isEntered()) {
141 * Calculates the location for the ring and adds it to the path
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioBlkDxe/
VirtioBlk.c 277 VirtioPrepare (&Dev->Ring, &Indices);
288 ASSERT (Dev->Ring.QueueSize >= 3);
293 VirtioAppendDesc (&Dev->Ring, (UINTN) &Request, sizeof Request,
313 VirtioAppendDesc (&Dev->Ring, (UINTN) Buffer, (UINT32) BufferSize,
321 VirtioAppendDesc (&Dev->Ring, (UINTN) &HostStatus, sizeof HostStatus,
327 if (VirtioFlush (Dev->VirtIo, 0, &Dev->Ring, &Indices,
578 @retval EFI_UNSUPPORTED The driver is unable to work with the virtio ring or
725 Status = VirtioRingInit (QueueSize, &Dev->Ring);
732 // size. If anything fails from here on, we must release the ring resources.
747 Status = Dev->VirtIo->SetQueueAddress (Dev->VirtIo, &Dev->Ring);
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
SnpInitialize.c 26 Initialize a virtio ring for a specific transfer direction of the virtio-net
35 @param[out] Ring The virtio-ring inside the VNET_DEV structure,
42 @retval EFI_SUCCESS Ring initialized.
51 OUT VRING *Ring
76 Status = VirtioRingInit (QueueSize, Ring);
83 // size. If anything fails from here on, we must release the ring resources.
98 Status = Dev->VirtIo->SetQueueAddress (Dev->VirtIo, Ring);
106 VirtioRingUninit (Ring);
291 // link each chain into (from) the available ring as well
    [all...]
TechNotes.txt 205 "Available Ring", and answered (processed) requests show up on the "Used Ring".
220 Ring |DescIdx|DescIdx|DescIdx|DescIdx|DescIdx|
240 Ring |DescIdx:Len|DescIdx:Len|DescIdx:Len|DescIdx:Len|DescIdx:Len|
267 Finally, the guest populates the Available Ring with the indices of the head
268 descriptors. All descriptor indices on both the Available Ring and the Used
269 Ring are even.
273 - The host consumes a descriptor index off the Available Ring. This index is
281 - The host places the index of the head descriptor, 2*N, onto the Used Ring,
282 and sets the Len field in the same Used Ring Element to the total number of
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DataFragment.java 26 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Ring;
218 public ArrayList<Ring> getRings() {
  /device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/
VirtioMmioDeviceFunctions.c 184 IN VRING *Ring
192 (UINT32)((UINTN)Ring->Base >> EFI_PAGE_SHIFT));
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/
VirtioPciFunctions.c 185 IN VRING *Ring
193 (UINT32)((UINTN)Ring->Base >> EFI_PAGE_SHIFT));

Completed in 814 milliseconds

1 2 3