Searched refs:bt_ba (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 411 u64 bt_ba; in alloc_mhop_hem() local 459 bt_ba = hns_roce_hem_addr(&iter); in alloc_mhop_hem() 462 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem() 464 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 466 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
|
H A D | hns_roce_hw_v1.c | 466 u64 bt_ba; in hns_roce_v1_set_hem() local 493 bt_ba = hns_roce_hem_addr(&iter) >> HNS_HW_PAGE_SHIFT; in hns_roce_v1_set_hem() 514 bt_cmd_l = cpu_to_le32(bt_ba); in hns_roce_v1_set_hem() 517 upper_32_bits(bt_ba)); in hns_roce_v1_set_hem() 2416 u64 bt_ba = 0; in hns_roce_v1_clear_hem() local 2420 bt_ba = priv->bt_table.qpc_buf.map >> 12; in hns_roce_v1_clear_hem() 2423 bt_ba = priv->bt_table.mtpt_buf.map >> 12; in hns_roce_v1_clear_hem() 2426 bt_ba = priv->bt_table.cqc_buf.map >> 12; in hns_roce_v1_clear_hem() 2460 bt_cmd_val[0] = cpu_to_le32(bt_ba); in hns_roce_v1_clear_hem() 2462 ROCEE_BT_CMD_H_ROCEE_BT_CMD_BA_H_S, bt_ba >> 3 in hns_roce_v1_clear_hem() 2551 find_wqe_mtt(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, u64 *sq_ba, u64 *rq_ba, dma_addr_t *bt_ba) find_wqe_mtt() argument [all...] |
H A D | hns_roce_hw_v2.c | 3593 static int set_hem_to_hw(struct hns_roce_dev *hr_dev, int obj, u64 bt_ba, in set_hem_to_hw() argument 3608 ret = hns_roce_cmd_mbox(hr_dev, bt_ba, mailbox->dma, obj, in set_hem_to_hw() 3628 u64 bt_ba = 0; in hns_roce_v2_set_hem() local 3659 bt_ba = hns_roce_hem_addr(&iter); in hns_roce_v2_set_hem() 3660 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, in hns_roce_v2_set_hem() 3665 bt_ba = table->bt_l0_dma_addr[i]; in hns_roce_v2_set_hem() 3667 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem() 3669 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, step_idx); in hns_roce_v2_set_hem() 5749 u64 bt_ba = 0; in config_eqc() local 5765 &bt_ba); in config_eqc() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 420 u64 bt_ba; in alloc_mhop_hem() local 468 bt_ba = hns_roce_hem_addr(&iter); in alloc_mhop_hem() 471 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem() 473 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 475 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
|
H A D | hns_roce_hw_v2.c | 4057 u64 bt_ba = 0; in hns_roce_v2_set_hem() local 4088 bt_ba = hns_roce_hem_addr(&iter); in hns_roce_v2_set_hem() 4089 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, in hns_roce_v2_set_hem() 4094 bt_ba = table->bt_l0_dma_addr[i]; in hns_roce_v2_set_hem() 4096 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem() 4098 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, step_idx); in hns_roce_v2_set_hem() 6294 u64 bt_ba = 0; in config_eqc() local 6304 &bt_ba); in config_eqc() 6335 hr_reg_write(eqc, EQC_EQE_BA_L, bt_ba >> 3); in config_eqc() 6336 hr_reg_write(eqc, EQC_EQE_BA_H, bt_ba >> 3 in config_eqc() [all...] |
Completed in 23 milliseconds