Home
last modified time | relevance | path

Searched refs:hclge_write_dev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c107 hclge_write_dev(hw, HCLGE_NIC_CSQ_BASEADDR_L_REG, in hclge_cmd_config_regs()
109 hclge_write_dev(hw, HCLGE_NIC_CSQ_BASEADDR_H_REG, in hclge_cmd_config_regs()
114 hclge_write_dev(hw, HCLGE_NIC_CSQ_DEPTH_REG, reg_val); in hclge_cmd_config_regs()
115 hclge_write_dev(hw, HCLGE_NIC_CSQ_HEAD_REG, 0); in hclge_cmd_config_regs()
116 hclge_write_dev(hw, HCLGE_NIC_CSQ_TAIL_REG, 0); in hclge_cmd_config_regs()
118 hclge_write_dev(hw, HCLGE_NIC_CRQ_BASEADDR_L_REG, in hclge_cmd_config_regs()
120 hclge_write_dev(hw, HCLGE_NIC_CRQ_BASEADDR_H_REG, in hclge_cmd_config_regs()
122 hclge_write_dev(hw, HCLGE_NIC_CRQ_DEPTH_REG, in hclge_cmd_config_regs()
124 hclge_write_dev(hw, HCLGE_NIC_CRQ_HEAD_REG, 0); in hclge_cmd_config_regs()
125 hclge_write_dev(hw, HCLGE_NIC_CRQ_TAIL_REG, 0); in hclge_cmd_config_regs()
[all …]
Dhclge_cmd.h1112 #define hclge_write_dev(a, reg, value) \ macro
Dhclge_mbx.c818 hclge_write_dev(&hdev->hw, HCLGE_NIC_CRQ_HEAD_REG, crq->next_to_use); in hclge_mbx_handler()
Dhclge_main.c3125 hclge_write_dev(&hdev->hw, HCLGE_MISC_RESET_STS_REG, regclr); in hclge_clear_event_cause()
3128 hclge_write_dev(&hdev->hw, HCLGE_VECTOR0_CMDQ_SRC_REG, regclr); in hclge_clear_event_cause()
3508 hclge_write_dev(&hdev->hw, HCLGE_PF_OTHER_INT_REG, reg_val); in hclge_handle_imp_error()
3514 hclge_write_dev(&hdev->hw, HCLGE_PF_OTHER_INT_REG, reg_val); in hclge_handle_imp_error()
3555 hclge_write_dev(&hdev->hw, HCLGE_GLOBAL_RESET_REG, val); in hclge_do_reset()
3645 hclge_write_dev(&hdev->hw, HCLGE_MISC_RESET_STS_REG, in hclge_clear_reset_cause()
3661 hclge_write_dev(&hdev->hw, HCLGE_NIC_CSQ_DEPTH_REG, reg_val); in hclge_reset_handshake()
3711 hclge_write_dev(&hdev->hw, HCLGE_PF_OTHER_INT_REG, in hclge_reset_prepare_wait()