Searched refs:OCE_LOG2 (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.3-release/sys/dev/oce/
H A Doce_queue.c407 if (OCE_LOG2(frag_size) <= 0)
706 ctx->v1.ring_size = OCE_LOG2(q_len) + 1;
720 ctx->v0.ring_size = OCE_LOG2(q_len) + 1;
H A Doce_mbox.c770 fwcmd->params.req.cpu_tbl_sz_log2 = LE_16(OCE_LOG2(i));
1697 fwcmd->params.req.frag_size = OCE_LOG2(rq->cfg.frag_size);
1758 fwcmd->params.req.wq_size = OCE_LOG2(wq->cfg.q_len) + 1;
1810 fwcmd->params.req.ctx.count = OCE_LOG2(eq->eq_cfg.q_len / 256);
1873 ctx->v2.count = OCE_LOG2(cq->cq_cfg.q_len / 256);
1888 ctx->v0.count = OCE_LOG2(cq->cq_cfg.q_len / 256);
H A Doce_if.h1117 #define OCE_LOG2(x) (oce_highbit(x)) macro

Completed in 103 milliseconds