bt_chk_sz 5316 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u32 bt_chk_sz; bt_chk_sz 5324 drivers/infiniband/hw/hns/hns_roce_hw_v2.c bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT); bt_chk_sz 5332 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dma_free_coherent(dev, bt_chk_sz, eq->bt_l0, eq->l0_dma); bt_chk_sz 5347 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dma_free_coherent(dev, bt_chk_sz, eq->bt_l1[i], bt_chk_sz 5350 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { bt_chk_sz 5351 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * (bt_chk_sz / BA_BYTE_LEN) + j; bt_chk_sz 5552 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u32 bt_chk_sz; bt_chk_sz 5565 drivers/infiniband/hw/hns/hns_roce_hw_v2.c bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT); bt_chk_sz 5569 drivers/infiniband/hw/hns/hns_roce_hw_v2.c bt_num = DIV_ROUND_UP(ba_num, bt_chk_sz / BA_BYTE_LEN); bt_chk_sz 5606 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq->bt_l0 = dma_alloc_coherent(dev, bt_chk_sz, &eq->l0_dma, GFP_KERNEL); bt_chk_sz 5611 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (ba_num > (bt_chk_sz / BA_BYTE_LEN)) bt_chk_sz 5616 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (i = 0; i < bt_chk_sz / BA_BYTE_LEN; i++) { bt_chk_sz 5641 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (i = 0; i < bt_chk_sz / BA_BYTE_LEN; i++) { bt_chk_sz 5642 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq->bt_l1[i] = dma_alloc_coherent(dev, bt_chk_sz, bt_chk_sz 5649 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { bt_chk_sz 5650 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * bt_chk_sz / BA_BYTE_LEN + j; bt_chk_sz 5689 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dma_free_coherent(dev, bt_chk_sz, eq->bt_l0, eq->l0_dma); bt_chk_sz 5693 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dma_free_coherent(dev, bt_chk_sz, eq->bt_l1[i], bt_chk_sz 5696 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { bt_chk_sz 5697 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * bt_chk_sz / BA_BYTE_LEN + j; bt_chk_sz 5705 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dma_free_coherent(dev, bt_chk_sz, eq->bt_l0, eq->l0_dma); bt_chk_sz 5717 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dma_free_coherent(dev, bt_chk_sz, eq->bt_l1[i], bt_chk_sz 5720 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { bt_chk_sz 5724 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * bt_chk_sz / BA_BYTE_LEN + j;