Searched defs:size_log2 (Results 1 – 2 of 2) sorted by relevance
51 __le32 size_log2; member
47 #define Q_FULL(rptr,wptr,size_log2) ( (((wptr)-(rptr))>>(size_log2)) && \ argument49 #define Q_GENBIT(ptr,size_log2) (!(((ptr)>>size_log2)&0x1)) argument50 #define Q_FREECNT(rptr,wptr,size_log2) ((1UL<<size_log2)-((wptr)-(rptr))) argument52 #define Q_PTR2IDX(ptr,size_log2) (ptr & ((1UL<<size_log2)-1)) argument698 u32 size_log2; /* total wq size */ member719 u32 size_log2; member728 #define CQ_VLD_ENTRY(ptr,size_log2,cqe) (Q_GENBIT(ptr,size_log2) == \ argument