Searched refs:ilog2 (Results 26 - 46 of 46) sorted by relevance
12
/freebsd-11-stable/sys/powerpc/booke/ |
H A D | pmap.c | 200 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 D | mthca_provider.c | 127 (1 << (32 - ilog2(mdev->limits.num_mpts))) - 1; 808 ret = mthca_RESIZE_CQ(dev, cq->cqn, lkey, ilog2(entries));
|
H A D | mthca_qp.c | 599 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 D | mlx5_ib_cq.c | 966 MLX5_SET(cqc, cqc, log_cq_size, ilog2(entries)); 1318 MLX5_SET(cqc, cqc, log_cq_size, ilog2(entries));
|
H A D | mlx5_ib_mr.c | 536 npages = ALIGN(len + offset, page_size) >> ilog2(page_size);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | en.h | 227 #define ROUNDUP_LOG2(x) ilog2(roundup_pow_of_two(x))
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cq.c | 151 ilog2((*umem)->page_size), &buf->mtt);
|
/freebsd-11-stable/stand/libsa/zfs/ |
H A D | zfs.c | 294 zl.l_bs = ilog2(bsize);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_main.c | 167 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 D | mlx4_mr.c | 933 ilog2((u32)dev->caps.num_mtts /
|
H A D | mlx4_fw.c | 1883 (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 D | mlx4_eq.c | 1028 eq_context->log_eq_size = ilog2(eq->nent);
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe.h | 157 #ifndef ilog2 165 #define ilog2(x) bxe_ilog2(x) macro
|
H A D | bxe.c | 5899 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 D | qp.c | 686 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 D | t4_sge.c | 582 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 D | t4_netmap.c | 122 V_FW_IQ_CMD_IQESIZE(ilog2(IQ_ESIZE) - 4));
|
H A D | t4_main.c | 2702 V_WINDOW(ilog2(mw->mw_aperture) - 10));
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 440 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 D | drm_bufs.c | 176 int bits = ilog2(SHMLBA >> PAGE_SHIFT) + 1;
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tree.c | 803 log_table_sz = ilog2(ft_size);
|
Completed in 277 milliseconds
12