Searched refs:bt_ba (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/drivers/infiniband/hw/hns/ |
| D | hns_roce_hem.c | 421 u64 bt_ba; in alloc_mhop_hem() local 469 bt_ba = hns_roce_hem_addr(&iter); in alloc_mhop_hem() 472 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem() 474 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem() 476 *(table->bt_l0[index->l0] + mhop->l1_idx) = bt_ba; in alloc_mhop_hem()
|
| D | hns_roce_hw_v1.c | 478 u64 bt_ba; in hns_roce_v1_set_hem() local 504 bt_ba = hns_roce_hem_addr(&iter) >> HNS_HW_PAGE_SHIFT; in hns_roce_v1_set_hem() 525 bt_cmd_l = cpu_to_le32(bt_ba); in hns_roce_v1_set_hem() 528 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 >> 32); in hns_roce_v1_clear_hem() [all …]
|
| D | hns_roce_hw_v2.c | 3896 u64 bt_ba = 0; in hns_roce_v2_set_hem() local 3927 bt_ba = hns_roce_hem_addr(&iter); in hns_roce_v2_set_hem() 3928 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, in hns_roce_v2_set_hem() 3933 bt_ba = table->bt_l0_dma_addr[i]; in hns_roce_v2_set_hem() 3935 bt_ba = table->bt_l1_dma_addr[l1_idx]; in hns_roce_v2_set_hem() 3937 ret = set_hem_to_hw(hr_dev, obj, bt_ba, table->type, step_idx); in hns_roce_v2_set_hem() 5867 u64 bt_ba = 0; in config_eqc() local 5877 &bt_ba); in config_eqc() 5899 hr_reg_write(eqc, EQC_EQE_BA_L, bt_ba >> 3); in config_eqc() 5900 hr_reg_write(eqc, EQC_EQE_BA_H, bt_ba >> 35); in config_eqc()
|