Searched refs:ilog2 (Results 26 - 46 of 46) sorted by relevance

12

/freebsd-11-stable/sys/powerpc/booke/
H A Dpmap.c200 static unsigned int ilog2(unsigned int);
2869 sz = 1 << (ilog2(size) & ~1);
3245 ilog2(unsigned int num) function
3275 return (ilog2(size) / 2 - 5);
3457 tlb1_map_base = roundup2(tlb1_map_base, 1 << (ilog2(size) & ~1));
3461 sz = 1 << (ilog2(size) & ~1);
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_provider.c127 (1 << (32 - ilog2(mdev->limits.num_mpts))) - 1;
808 ret = mthca_RESIZE_CQ(dev, cq->cqn, lkey, ilog2(entries));
H A Dmthca_qp.c599 qp_context->rq_size_stride = ilog2(qp->rq.max) << 3;
603 qp_context->sq_size_stride = ilog2(qp->sq.max) << 3;
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c966 MLX5_SET(cqc, cqc, log_cq_size, ilog2(entries));
1318 MLX5_SET(cqc, cqc, log_cq_size, ilog2(entries));
H A Dmlx5_ib_mr.c536 npages = ALIGN(len + offset, page_size) >> ilog2(page_size);
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Den.h227 #define ROUNDUP_LOG2(x) ilog2(roundup_pow_of_two(x))
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c151 ilog2((*umem)->page_size), &buf->mtt);
/freebsd-11-stable/stand/libsa/zfs/
H A Dzfs.c294 zl.l_bs = ilog2(bsize);
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_main.c167 int log_mtts_per_seg = ilog2(MLX4_MTT_ENTRY_PER_SEG);
2257 dev->caps.max_fmr_maps = (1 << (32 - ilog2(dev->caps.num_mpts))) - 1;
2260 init_hca.log_uar_sz = ilog2(dev->caps.num_uars) +
2264 init_hca.log_uar_sz = ilog2(dev->caps.num_uars);
H A Dmlx4_mr.c933 ilog2((u32)dev->caps.num_mtts /
H A Dmlx4_fw.c1883 (ilog2(cache_line_size()) - 4) << 5;
1937 MLX4_PUT(inbox, (u8)((ilog2(dev->caps.eqe_size) - 5) << 4 |
1938 (ilog2(dev->caps.eqe_size) - 5)),
H A Dmlx4_eq.c1028 eq_context->log_eq_size = ilog2(eq->nent);
/freebsd-11-stable/sys/dev/bxe/
H A Dbxe.h157 #ifndef ilog2
165 #define ilog2(x) bxe_ilog2(x) macro
H A Dbxe.c5899 ilog2(ilt_client->page_size >> 12));
5920 ilog2(ilt_client->page_size >> 12));
5938 ilog2(ilt_client->page_size >> 12));
5954 ilog2(ilt_client->page_size >> 12));
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c686 V_FW_RI_TPTE_PS(ilog2(wr->mr->page_size) - 12));
715 wqe->fr.pgsz_shift = ilog2(wr->mr->page_size) - 12;
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_sge.c582 v = V_INGPADBOUNDARY(ilog2(pad) - pad_shift);
614 v = V_INGPACKBOUNDARY(ilog2(pack) - 5);
2841 V_FW_IQ_CMD_IQESIZE(ilog2(IQ_ESIZE) - 4));
3433 fthresh = ilog2(qsize);
H A Dt4_netmap.c122 V_FW_IQ_CMD_IQESIZE(ilog2(IQ_ESIZE) - 4));
H A Dt4_main.c2702 V_WINDOW(ilog2(mw->mw_aperture) - 10));
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c440 i = ilog2(eth_proto_oper);
2160 MLX5_SET(wq, wq, log_wq_stride, ilog2(sizeof(struct mlx5e_rx_wqe) +
2178 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB));
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_bufs.c176 int bits = ilog2(SHMLBA >> PAGE_SHIFT) + 1;
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tree.c803 log_table_sz = ilog2(ft_size);

Completed in 277 milliseconds

12