Home
last modified time | relevance | path

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

/linux-4.1.27/include/xen/interface/io/
Dring.h155 #define RING_SIZE(_r) \ macro
160 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
175 unsigned int rsp = RING_SIZE(_r) - \
182 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
185 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
189 (((_cons) - (_r)->rsp_prod_pvt) >= RING_SIZE(_r))
193 (((_prod) - (_r)->rsp_prod_pvt) > RING_SIZE(_r))
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dadf_transport_access_macros.h106 #define ADF_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \ argument
107 ((((1 << (RING_SIZE - 1)) << 3) >> ADF_SIZE_TO_POW(MSG_SIZE)) - 1)
/linux-4.1.27/drivers/atm/
Dzatm.h34 #define RING_SIZE (sizeof(unsigned long)*(RING_ENTRIES+1)*RING_WORDS) macro
Dzatm.c956 zatm_vcc->ring = kzalloc(RING_SIZE,GFP_KERNEL); in open_tx_first()
/linux-4.1.27/drivers/net/irda/
Ddonauboe.c84 #define RING_SIZE (OBOE_RING_SIZE_RX8 | OBOE_RING_SIZE_TX8) macro
553 OUTB (RING_SIZE, OBOE_RING_SIZE); in toshoboe_startchip()