Searched refs:bt_ba (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_hem.c | 342 u64 bt_ba; in hns_roce_set_hem() local 369 bt_ba = hns_roce_hem_addr(&iter) >> DMA_ADDR_T_SHIFT; in hns_roce_set_hem() 390 bt_cmd_l = cpu_to_le32(bt_ba); in hns_roce_set_hem() 393 bt_ba >> BT_BA_SHIFT); in hns_roce_set_hem() 490 u64 bt_ba; in alloc_mhop_hem() local 538 bt_ba = hns_roce_hem_addr(&iter); in alloc_mhop_hem() 541 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem() 543 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 545 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
|
| H A D | hns_roce_hw_v2.c | 3582 static int set_hem_to_hw(struct hns_roce_dev *hr_dev, int obj, u64 bt_ba, in set_hem_to_hw() argument 3597 ret = hns_roce_cmd_mbox(hr_dev, bt_ba, mailbox->dma, obj, in set_hem_to_hw() 3617 u64 bt_ba = 0; in hns_roce_v2_set_hem() local 3648 bt_ba = hns_roce_hem_addr(&iter); in hns_roce_v2_set_hem() 3649 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, in hns_roce_v2_set_hem() 3654 bt_ba = table->bt_l0_dma_addr[i]; in hns_roce_v2_set_hem() 3656 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem() 3658 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, step_idx); in hns_roce_v2_set_hem() 5740 u64 bt_ba = 0; in config_eqc() local 5756 &bt_ba); in config_eqc() [all …]
|
| H A D | hns_roce_hw_v1.c | 2345 u64 bt_ba = 0; in hns_roce_v1_clear_hem() local 2349 bt_ba = priv->bt_table.qpc_buf.map >> 12; in hns_roce_v1_clear_hem() 2352 bt_ba = priv->bt_table.mtpt_buf.map >> 12; in hns_roce_v1_clear_hem() 2355 bt_ba = priv->bt_table.cqc_buf.map >> 12; in hns_roce_v1_clear_hem() 2389 bt_cmd_val[0] = cpu_to_le32(bt_ba); in hns_roce_v1_clear_hem() 2391 ROCEE_BT_CMD_H_ROCEE_BT_CMD_BA_H_S, bt_ba >> 32); in hns_roce_v1_clear_hem() 2481 u64 *sq_ba, u64 *rq_ba, dma_addr_t *bt_ba) in find_wqe_mtt() argument 2486 count = hns_roce_mtr_find(hr_dev, &hr_qp->mtr, 0, sq_ba, 1, bt_ba); in find_wqe_mtt()
|