Lines Matching refs:fls
609 log_cq_size, fls ( cq->num_cqes - 1 ) ); in arbel_create_cq()
834 qpc_eec_data.log_rq_size, fls ( qp->recv.num_wqes - 1 ), in arbel_create_qp()
836 ( fls ( sizeof ( arbel_qp->recv.wqe[0] ) - 1 ) - 4 ), in arbel_create_qp()
837 qpc_eec_data.log_sq_size, fls ( qp->send.num_wqes - 1 ), in arbel_create_qp()
839 ( fls ( sizeof ( arbel_qp->send.wqe[0] ) - 1 ) - 4 ) ); in arbel_create_qp()
1342 MLX_FILL_1 ( &eqctx, 3, log_eq_size, fls ( ARBEL_NUM_EQES - 1 ) ); in arbel_create_eq()
1698 log2_fw_pages = fls ( fw_pages - 1 ); in arbel_start_firmware()
1860 log_num_qps = fls ( arbel->limits.reserved_qps + ARBEL_MAX_QPS - 1 ); in arbel_alloc_icm()
1878 log_num_srqs = fls ( arbel->limits.reserved_srqs - 1 ); in arbel_alloc_icm()
1888 log_num_ees = fls ( arbel->limits.reserved_ees - 1 ); in arbel_alloc_icm()
1905 log_num_cqs = fls ( arbel->limits.reserved_cqs + ARBEL_MAX_CQS - 1 ); in arbel_alloc_icm()
1915 log_num_mtts = fls ( arbel->limits.reserved_mtts - 1 ); in arbel_alloc_icm()
1922 log_num_mpts = fls ( arbel->limits.reserved_mrws + 1 - 1 ); in arbel_alloc_icm()
1931 log_num_rdbs = fls ( arbel->limits.reserved_rdbs - 1 ); in arbel_alloc_icm()
1939 log_num_eqs = fls ( arbel->limits.reserved_eqs + ARBEL_MAX_EQS - 1 ); in arbel_alloc_icm()
1953 fls ( sizeof ( struct arbelprm_mgm_entry ) - 1 ) ); in arbel_alloc_icm()
1988 log2size, fls ( ( arbel->icm_aux_len / 4096 ) - 1 ), in arbel_alloc_icm()
2000 log2size, fls ( ( arbel->icm_len / 4096 ) - 1 ), in arbel_alloc_icm()