Searched refs:SIZE_TO_BITS (Results 1 – 1 of 1) sorted by relevance
277 #define SIZE_TO_BITS(num) ((((num)-1)>>2)&0x0f) macro278 #define TX_RX_TO_RINGSIZE(tx,rx) ((SIZE_TO_BITS(tx)<<12)|(SIZE_TO_BITS(rx)<<8))