Home
last modified time | relevance | path

Searched refs:RING_SIZE (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/
Dring.h178 #define RING_SIZE(_r) \ macro
183 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
198 UINT32 rsp = RING_SIZE(_r) - \
206 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
208 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
213 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
216 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
220 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
224 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/
Dgdbstub.c119 #define RING_SIZE 256 macro
126 unsigned char data[RING_SIZE];
137 return (ring->head + 1) & (RING_SIZE - 1); in ring_next_head()
142 return (ring->tail + 1) & (RING_SIZE - 1); in ring_next_tail()
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DBlockFront.c575 if (RING_FREE_REQUESTS (&Dev->Ring) == RING_SIZE (&Dev->Ring)) { in XenPvBlockSync()