Lines Matching refs:fls
756 log_cq_size, fls ( cq->num_cqes - 1 ) ); in hermon_create_cq()
980 ( 1 << fls ( hermon_qp->send.num_wqes - 1 ) ); /* round up */ in hermon_create_qp()
1012 qpc_eec_data.log_rq_size, fls ( qp->recv.num_wqes - 1 ), in hermon_create_qp()
1014 ( fls ( sizeof ( hermon_qp->recv.wqe[0] ) - 1 ) - 4 ), in hermon_create_qp()
1016 fls ( hermon_qp->send.num_wqes - 1 ), in hermon_create_qp()
1018 ( fls ( sizeof ( hermon_qp->send.wqe[0] ) - 1 ) - 4 ) ); in hermon_create_qp()
1609 MLX_FILL_1 ( &eqctx, 3, log_eq_size, fls ( HERMON_NUM_EQES - 1 ) ); in hermon_create_eq()
2235 log_num_qps = fls ( hermon->cap.reserved_qps + in hermon_alloc_icm()
2237 log_num_srqs = fls ( hermon->cap.reserved_srqs - 1 ); in hermon_alloc_icm()
2238 log_num_cqs = fls ( hermon->cap.reserved_cqs + HERMON_MAX_CQS - 1 ); in hermon_alloc_icm()
2239 log_num_eqs = fls ( hermon->cap.reserved_eqs + HERMON_MAX_EQS - 1 ); in hermon_alloc_icm()
2240 log_num_mtts = fls ( hermon->cap.reserved_mtts + HERMON_MAX_MTTS - 1 ); in hermon_alloc_icm()
2345 log_num_mpts = fls ( hermon->cap.reserved_mrws + 1 - 1 ); in hermon_alloc_icm()
2364 fls ( sizeof ( struct hermonprm_mcg_entry ) - 1 ) ); in hermon_alloc_icm()
2469 ( 1 << fls ( ( hermon->icm_map[i].len / in hermon_free_icm()