Searched refs:bt_chunk_num (Results 1 – 1 of 1) sorted by relevance
85 u32 bt_chunk_num, u64 hem_max_num) in hns_roce_check_hem_null() argument87 u64 start_idx = round_down(hem_idx, bt_chunk_num); in hns_roce_check_hem_null()88 u64 check_max_num = start_idx + bt_chunk_num; in hns_roce_check_hem_null()98 static bool hns_roce_check_bt_null(u64 **bt, u64 ba_idx, u32 bt_chunk_num) in hns_roce_check_bt_null() argument100 u64 start_idx = round_down(ba_idx, bt_chunk_num); in hns_roce_check_bt_null()103 for (i = 0; i < bt_chunk_num; i++) in hns_roce_check_bt_null()812 unsigned long bt_chunk_num; in hns_roce_init_hem_table() local826 bt_chunk_num = bt_chunk_size / BA_BYTE_LEN; in hns_roce_init_hem_table()829 num_bt_l0 = bt_chunk_num; in hns_roce_init_hem_table()839 num_bt_l1 = DIV_ROUND_UP(num_hem, bt_chunk_num); in hns_roce_init_hem_table()