Home
last modified time | relevance | path

Searched refs:hr_reg_read (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_restrack.c16 hr_reg_read(context, CQC_ARM_ST))) in hns_roce_fill_cq()
21 hr_reg_read(context, CQC_CEQN))) in hns_roce_fill_cq()
25 hr_reg_read(context, CQC_CQN))) in hns_roce_fill_cq()
29 hr_reg_read(context, CQC_CQE_HOP_NUM))) in hns_roce_fill_cq()
33 hr_reg_read(context, CQC_CQ_PRODUCER_IDX))) in hns_roce_fill_cq()
37 hr_reg_read(context, CQC_CQ_CONSUMER_IDX))) in hns_roce_fill_cq()
41 hr_reg_read(context, CQC_CQ_MAX_CNT))) in hns_roce_fill_cq()
45 hr_reg_read(context, CQC_CQ_PERIOD))) in hns_roce_fill_cq()
49 hr_reg_read(context, CQC_CQE_CNT))) in hns_roce_fill_cq()
Dhns_roce_hw_v2.c1486 if (hr_reg_read(resp, FUNC_CLEAR_RST_FUN_DONE)) { in __hns_roce_function_clear()
1637 caps->qpc_bt_num = hr_reg_read(r_a, FUNC_RES_A_QPC_BT_NUM) / func_num; in load_func_res_caps()
1638 caps->srqc_bt_num = hr_reg_read(r_a, FUNC_RES_A_SRQC_BT_NUM) / func_num; in load_func_res_caps()
1639 caps->cqc_bt_num = hr_reg_read(r_a, FUNC_RES_A_CQC_BT_NUM) / func_num; in load_func_res_caps()
1640 caps->mpt_bt_num = hr_reg_read(r_a, FUNC_RES_A_MPT_BT_NUM) / func_num; in load_func_res_caps()
1641 caps->eqc_bt_num = hr_reg_read(r_a, FUNC_RES_A_EQC_BT_NUM) / func_num; in load_func_res_caps()
1642 caps->smac_bt_num = hr_reg_read(r_b, FUNC_RES_B_SMAC_NUM) / func_num; in load_func_res_caps()
1643 caps->sgid_bt_num = hr_reg_read(r_b, FUNC_RES_B_SGID_NUM) / func_num; in load_func_res_caps()
1644 caps->sccc_bt_num = hr_reg_read(r_b, FUNC_RES_B_SCCC_BT_NUM) / func_num; in load_func_res_caps()
1647 caps->sl_num = hr_reg_read(r_b, FUNC_RES_V_QID_NUM) / func_num; in load_func_res_caps()
[all …]
Dhns_roce_common.h105 #define hr_reg_read(ptr, field) _hr_reg_read(ptr, field) macro