Searched refs:size_log2 (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.2-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_user.h | 53 __u32 size_log2; member in struct:iwch_create_cq_resp_v0 59 uint32_t size_log2; member in struct:iwch_create_cq_resp 68 uint32_t size_log2; member in struct:iwch_create_qp_resp
|
H A D | iw_cxgb_wr.h | 40 #define Q_FULL(rptr,wptr,size_log2) ( (((wptr)-(rptr))>>(size_log2)) && \ 42 #define Q_GENBIT(ptr,size_log2) (!(((ptr)>>size_log2)&0x1)) 43 #define Q_FREECNT(rptr,wptr,size_log2) ((1UL<<size_log2)-((wptr)-(rptr))) 45 #define Q_PTR2IDX(ptr,size_log2) (ptr & ((1UL<<size_log2)-1)) 641 u32 size_log2; /* total wq size */ member in struct:t3_wq 662 u32 size_log2; member in struct:t3_cq [all...] |
H A D | iw_cxgb_hal.c | 132 if (Q_PTR2IDX((cq->rptr), cq->size_log2) != ret) { 141 while (Q_PTR2IDX((rptr+1), cq->size_log2) != ret) 149 cqe = cq->queue + Q_PTR2IDX(rptr, cq->size_log2); 150 while (!CQ_VLD_ENTRY(rptr, cq->size_log2, cqe)) { 199 int size = (1UL << (cq->size_log2)) * sizeof(struct t3_cqe); 222 1UL << cq->size_log2, 0, 65535, 1)); 297 int depth = 1UL << wq->size_log2; 350 (1UL << (cq->size_log2)) 354 contigfree(cq->queue,(1UL << (cq->size_log2)) 368 (1UL << (wq->size_log2)) [all...] |
H A D | iw_cxgb_provider.c | 222 chp->cq.size_log2 = ilog2(entries); 229 chp->ibcq.cqe = 1 << chp->cq.size_log2; 247 uresp.size_log2 = chp->cq.size_log2; 259 mm->len = PAGE_ALIGN((1UL << uresp.size_log2) * 263 mm->len = PAGE_ALIGN(((1UL << uresp.size_log2) + 1) * 276 chp->cq.cqid, chp, (1 << chp->cq.size_log2), 810 qhp->wq.size_log2 = ilog2(wqsize); 875 uresp.size_log2 = qhp->wq.size_log2; [all...] |
H A D | iw_cxgb_qp.c | 385 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2); 433 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2), 482 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2); 495 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2), 545 idx = Q_PTR2IDX(qhp->wq.wptr, qhp->wq.size_log2); 582 Q_GENBIT(qhp->wq.wptr, qhp->wq.size_log2), 0, 871 init_attr.qp_dma_size = (1UL << qhp->wq.size_log2);
|
Completed in 101 milliseconds