Home
last modified time | relevance | path

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

/freebsd/sys/dev/oce/
H A Doce_mbox.c800 fwcmd->params.req.cpu_tbl_sz_log2 = LE_16(OCE_LOG2(INDIRECTION_TABLE_ENTRIES)); in oce_rss_itbl_init()
1668 fwcmd->params.req.frag_size = OCE_LOG2(rq->cfg.frag_size); in oce_mbox_create_rq()
1727 fwcmd->params.req.wq_size = OCE_LOG2(wq->cfg.q_len) + 1; in oce_mbox_create_wq()
1777 fwcmd->params.req.ctx.count = OCE_LOG2(eq->eq_cfg.q_len / 256); in oce_mbox_create_eq()
1836 ctx->v2.count = OCE_LOG2(cq->cq_cfg.q_len / 256); in oce_mbox_cq_create()
1851 ctx->v0.count = OCE_LOG2(cq->cq_cfg.q_len / 256); in oce_mbox_cq_create()
H A Doce_queue.c394 if (OCE_LOG2(frag_size) <= 0) in oce_rq_init()
676 ctx->v1.ring_size = OCE_LOG2(q_len) + 1; in oce_mq_create()
690 ctx->v0.ring_size = OCE_LOG2(q_len) + 1; in oce_mq_create()
H A Doce_if.h1135 #define OCE_LOG2(x) (oce_highbit(x)) macro