Searched refs:buf_chk_sz (Results 1 – 1 of 1) sorted by relevance
2371 u32 buf_chk_sz; in hns_roce_init_link_table() local2383 buf_chk_sz = 1 << (hr_dev->caps.tsq_buf_pg_sz + PAGE_SHIFT); in hns_roce_init_link_table()2384 pg_num_a = hr_dev->caps.num_qps * 8 / buf_chk_sz; in hns_roce_init_link_table()2389 buf_chk_sz = 1 << (hr_dev->caps.tpq_buf_pg_sz + PAGE_SHIFT); in hns_roce_init_link_table()2390 pg_num_a = hr_dev->caps.num_cqs * 4 / buf_chk_sz; in hns_roce_init_link_table()2413 link_tbl->pg_list[i].buf = dma_alloc_coherent(dev, buf_chk_sz, in hns_roce_init_link_table()2429 link_tbl->pg_sz = buf_chk_sz; in hns_roce_init_link_table()2435 dma_free_coherent(dev, buf_chk_sz, in hns_roce_init_link_table()