BA_BYTE_LEN 191 drivers/infiniband/hw/hns/hns_roce_hem.c mhop->ba_l0_num = mhop->bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 199 drivers/infiniband/hw/hns/hns_roce_hem.c mhop->ba_l0_num = mhop->bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 207 drivers/infiniband/hw/hns/hns_roce_hem.c mhop->ba_l0_num = mhop->bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 215 drivers/infiniband/hw/hns/hns_roce_hem.c mhop->ba_l0_num = mhop->bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 248 drivers/infiniband/hw/hns/hns_roce_hem.c chunk_ba_num = mhop->bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 467 drivers/infiniband/hw/hns/hns_roce_hem.c chunk_ba_num = bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 682 drivers/infiniband/hw/hns/hns_roce_hem.c chunk_ba_num = bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 836 drivers/infiniband/hw/hns/hns_roce_hem.c hem_idx = i * (mhop.bt_chunk_size / BA_BYTE_LEN) + j; BA_BYTE_LEN 959 drivers/infiniband/hw/hns/hns_roce_hem.c bt_chunk_num = bt_chunk_size / BA_BYTE_LEN; BA_BYTE_LEN 1141 drivers/infiniband/hw/hns/hns_roce_hem.c count * BA_BYTE_LEN, BA_BYTE_LEN 1162 drivers/infiniband/hw/hns/hns_roce_hem.c dma_free_coherent(hr_dev->dev, hem->count * BA_BYTE_LEN, BA_BYTE_LEN 1354 drivers/infiniband/hw/hns/hns_roce_hem.c step = (cur->start - pre->start) / step * BA_BYTE_LEN; BA_BYTE_LEN 1419 drivers/infiniband/hw/hns/hns_roce_hem.c cpu_base = root_hem->addr + total * BA_BYTE_LEN; BA_BYTE_LEN 1420 drivers/infiniband/hw/hns/hns_roce_hem.c phy_base = root_hem->dma_addr + total * BA_BYTE_LEN; BA_BYTE_LEN 1446 drivers/infiniband/hw/hns/hns_roce_hem.c offset = hem->start / step * BA_BYTE_LEN; BA_BYTE_LEN 1488 drivers/infiniband/hw/hns/hns_roce_hem.c unit = (1 << hem_list->bt_pg_shift) / BA_BYTE_LEN; BA_BYTE_LEN 1562 drivers/infiniband/hw/hns/hns_roce_hem.c cpu_base = hem->addr + nr * BA_BYTE_LEN; BA_BYTE_LEN 1563 drivers/infiniband/hw/hns/hns_roce_hem.c phy_base = hem->dma_addr + nr * BA_BYTE_LEN; BA_BYTE_LEN 5350 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { BA_BYTE_LEN 5351 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * (bt_chk_sz / BA_BYTE_LEN) + j; BA_BYTE_LEN 5569 drivers/infiniband/hw/hns/hns_roce_hw_v2.c bt_num = DIV_ROUND_UP(ba_num, bt_chk_sz / BA_BYTE_LEN); BA_BYTE_LEN 5611 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (ba_num > (bt_chk_sz / BA_BYTE_LEN)) BA_BYTE_LEN 5616 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (i = 0; i < bt_chk_sz / BA_BYTE_LEN; i++) { BA_BYTE_LEN 5641 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (i = 0; i < bt_chk_sz / BA_BYTE_LEN; i++) { BA_BYTE_LEN 5649 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { BA_BYTE_LEN 5650 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * bt_chk_sz / BA_BYTE_LEN + j; BA_BYTE_LEN 5696 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { BA_BYTE_LEN 5697 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * bt_chk_sz / BA_BYTE_LEN + j; BA_BYTE_LEN 5720 drivers/infiniband/hw/hns/hns_roce_hw_v2.c for (j = 0; j < bt_chk_sz / BA_BYTE_LEN; j++) { BA_BYTE_LEN 5724 drivers/infiniband/hw/hns/hns_roce_hw_v2.c idx = i * bt_chk_sz / BA_BYTE_LEN + j; BA_BYTE_LEN 314 drivers/infiniband/hw/hns/hns_roce_mr.c for (j = 0; j < pbl_bt_sz / BA_BYTE_LEN; j++) { BA_BYTE_LEN 318 drivers/infiniband/hw/hns/hns_roce_mr.c bt_idx = i * pbl_bt_sz / BA_BYTE_LEN + j; BA_BYTE_LEN 329 drivers/infiniband/hw/hns/hns_roce_mr.c for (j = 0; j < pbl_bt_sz / BA_BYTE_LEN; j++) { BA_BYTE_LEN 330 drivers/infiniband/hw/hns/hns_roce_mr.c bt_idx = i * pbl_bt_sz / BA_BYTE_LEN + j; BA_BYTE_LEN 604 drivers/infiniband/hw/hns/hns_roce_mr.c npages * BA_BYTE_LEN, BA_BYTE_LEN 636 drivers/infiniband/hw/hns/hns_roce_mr.c dma_free_coherent(dev, (unsigned int)(npages * BA_BYTE_LEN), BA_BYTE_LEN 648 drivers/infiniband/hw/hns/hns_roce_mr.c i * (pbl_bt_sz / BA_BYTE_LEN); BA_BYTE_LEN 651 drivers/infiniband/hw/hns/hns_roce_mr.c (npages - npages_allocated) * BA_BYTE_LEN, BA_BYTE_LEN 666 drivers/infiniband/hw/hns/hns_roce_mr.c for (j = 0; j < pbl_bt_sz / BA_BYTE_LEN; j++) { BA_BYTE_LEN 667 drivers/infiniband/hw/hns/hns_roce_mr.c bt_idx = i * (pbl_bt_sz / BA_BYTE_LEN) + j; BA_BYTE_LEN 672 drivers/infiniband/hw/hns/hns_roce_mr.c (pbl_bt_sz / BA_BYTE_LEN); BA_BYTE_LEN 676 drivers/infiniband/hw/hns/hns_roce_mr.c BA_BYTE_LEN, BA_BYTE_LEN 722 drivers/infiniband/hw/hns/hns_roce_mr.c (unsigned int)(npages * BA_BYTE_LEN), BA_BYTE_LEN 1117 drivers/infiniband/hw/hns/hns_roce_mr.c if (j >= (pbl_bt_sz / BA_BYTE_LEN)) { BA_BYTE_LEN 1166 drivers/infiniband/hw/hns/hns_roce_mr.c BA_BYTE_LEN; BA_BYTE_LEN 1667 drivers/infiniband/hw/hns/hns_roce_mr.c memcpy(&mtts[total], addr, BA_BYTE_LEN * npage); BA_BYTE_LEN 509 drivers/infiniband/hw/hns/hns_roce_qp.c ba_num = (1 << bt_pg_shift) / BA_BYTE_LEN;