Home
last modified time | relevance | path

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

/dragonfly/sys/dev/netif/oce/
HDoce_mbox.c747 fwcmd->params.req.cpu_tbl_sz_log2 = LE_16(OCE_LOG2(i)); in oce_rss_itbl_init()
1637 fwcmd->params.req.frag_size = OCE_LOG2(rq->cfg.frag_size); in oce_mbox_create_rq()
1694 fwcmd->params.req.wq_size = OCE_LOG2(wq->cfg.q_len) + 1; in oce_mbox_create_wq()
1744 fwcmd->params.req.ctx.count = OCE_LOG2(eq->eq_cfg.q_len / 256); in oce_mbox_create_eq()
1805 ctx->v2.count = OCE_LOG2(cq->cq_cfg.q_len / 256); in oce_mbox_cq_create()
1820 ctx->v0.count = OCE_LOG2(cq->cq_cfg.q_len / 256); in oce_mbox_cq_create()
HDoce_queue.c411 if (OCE_LOG2(frag_size) <= 0) in oce_rq_init()
711 ctx->v1.ring_size = OCE_LOG2(q_len) + 1; in oce_mq_create()
725 ctx->v0.ring_size = OCE_LOG2(q_len) + 1; in oce_mq_create()
HDoce_if.h1123 #define OCE_LOG2(x) (oce_highbit(x)) macro