Home
last modified time | relevance | path

Searched refs:cmq (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_cmd.c38 hclge_comm_cmd_config_regs(hw, &hw->cmq.csq); in hclge_comm_cmd_init_regs()
39 hclge_comm_cmd_config_regs(hw, &hw->cmq.crq); in hclge_comm_cmd_init_regs()
213 (ring_type == HCLGE_COMM_TYPE_CSQ) ? &hw->cmq.csq : in hclge_comm_alloc_cmd_queue()
214 &hw->cmq.crq; in hclge_comm_alloc_cmd_queue()
302 desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; in hclge_comm_cmd_copy_desc()
304 (hw->cmq.csq.next_to_use)++; in hclge_comm_cmd_copy_desc()
305 if (hw->cmq.csq.next_to_use >= hw->cmq.csq.desc_num) in hclge_comm_cmd_copy_desc()
306 hw->cmq.csq.next_to_use = 0; in hclge_comm_cmd_copy_desc()
325 struct hclge_comm_cmq_ring *csq = &hw->cmq.csq; in hclge_comm_cmd_csq_clean()
333 dev_warn(&hw->cmq.csq.pdev->dev, "wrong cmd head (%u, %d-%d)\n", in hclge_comm_cmd_csq_clean()
[all …]
Dhclge_comm_rss.c113 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_set_rss_tc_mode()
170 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_set_rss_tuple()
177 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_set_rss_tuple()
307 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_set_rss_indir_table()
340 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_set_rss_input_tuple()
414 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_set_rss_algo_key()
Dhclge_comm_tqp_stats.c80 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_tqps_update_stats()
94 dev_err(&hw->cmq.csq.pdev->dev, in hclge_comm_tqps_update_stats()
Dhclge_comm_cmd.h457 struct hclge_comm_cmq cmq; member
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_trace.h94 __string(pciname, pci_name(hw->cmq.csq.pdev))
141 __string(pciname, pci_name(hw->cmq.csq.pdev))
Dhclge_mbx.c805 return tail == hw->hw.cmq.crq.next_to_use; in hclge_cmd_crq_empty()
1106 struct hclge_comm_cmq_ring *crq = &hdev->hw.hw.cmq.crq; in hclge_mbx_handler()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c162 return tail == hw->hw.cmq.crq.next_to_use; in hclgevf_cmd_crq_empty()
232 crq = &hdev->hw.hw.cmq.crq; in hclgevf_mbx_handler()
Dhclgevf_trace.h94 __string(pciname, pci_name(hw->cmq.csq.pdev))
Dhclgevf_main.c89 struct hclge_comm_cmq *cmdq = &hdev->hw.hw.cmq; in hclgevf_arq_init()
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c1207 priv->cmq.tx_timeout = HNS_ROCE_CMQ_TX_TIMEOUT; in hns_roce_v2_cmq_init()
1209 ret = init_csq(hr_dev, &priv->cmq.csq); in hns_roce_v2_cmq_init()
1220 hns_roce_free_cmq_desc(hr_dev, &priv->cmq.csq); in hns_roce_v2_cmq_exit()
1241 return tail == priv->cmq.csq.head; in hns_roce_cmq_csq_done()
1295 u32 tx_timeout = hns_roce_cmdq_tx_timeout(opcode, priv->cmq.tx_timeout); in hns_roce_wait_csq_done()
1309 struct hns_roce_v2_cmq_ring *csq = &priv->cmq.csq; in __hns_roce_cmq_send()
Dhns_roce_hw_v2.h1337 struct hns_roce_v2_cmq cmq; member