Home
last modified time | relevance | path

Searched refs:bt_chk_sz (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c4507 u32 bt_chk_sz; in hns_roce_mhop_free_eq() local
4515 bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT); in hns_roce_mhop_free_eq()
4525 dma_free_coherent(dev, bt_chk_sz, eq->bt_l0, eq->l0_dma); in hns_roce_mhop_free_eq()
4540 dma_free_coherent(dev, bt_chk_sz, eq->bt_l1[i], in hns_roce_mhop_free_eq()
4543 for (j = 0; j < bt_chk_sz / 8; j++) { in hns_roce_mhop_free_eq()
4544 idx = i * (bt_chk_sz / 8) + j; in hns_roce_mhop_free_eq()
4745 u32 bt_chk_sz; in hns_roce_mhop_alloc_eq() local
4758 bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT); in hns_roce_mhop_alloc_eq()
4762 bt_num = (ba_num + bt_chk_sz / 8 - 1) / (bt_chk_sz / 8); in hns_roce_mhop_alloc_eq()
4802 eq->bt_l0 = dma_alloc_coherent(dev, bt_chk_sz, &eq->l0_dma, GFP_KERNEL); in hns_roce_mhop_alloc_eq()
[all …]