Home
last modified time | relevance | path

Searched refs:pf_to_mgmt (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c34 #define SYNC_MSG_ID(pf_to_mgmt) ((pf_to_mgmt)->sync_msg_id) argument
36 #define SYNC_MSG_ID_INC(pf_to_mgmt) (SYNC_MSG_ID(pf_to_mgmt) = \ argument
37 ((SYNC_MSG_ID(pf_to_mgmt) + 1) & \
58 container_of(pf_mgmt, struct hinic_pfhwdev, pf_to_mgmt)
82 void hinic_register_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, in hinic_register_mgmt_msg_cb() argument
90 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_register_mgmt_msg_cb()
102 void hinic_unregister_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, in hinic_unregister_mgmt_msg_cb() argument
105 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_unregister_mgmt_msg_cb()
127 static u64 prepare_header(struct hinic_pf_to_mgmt *pf_to_mgmt, in prepare_header() argument
133 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in prepare_header()
[all …]
Dhinic_hw_mgmt.h132 void hinic_register_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt,
140 void hinic_unregister_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt,
143 int hinic_msg_to_mgmt(struct hinic_pf_to_mgmt *pf_to_mgmt,
148 int hinic_pf_to_mgmt_init(struct hinic_pf_to_mgmt *pf_to_mgmt,
151 void hinic_pf_to_mgmt_free(struct hinic_pf_to_mgmt *pf_to_mgmt);
Dhinic_hw_dev.c132 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_CFGM, in get_cap_from_fw()
251 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, cmd, in hinic_port_msg_cmd()
324 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_hw_ioctxt()
393 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in wait_for_io_stopped()
445 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in clear_io_resources()
482 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, in set_resources_state()
729 err = hinic_pf_to_mgmt_init(&pfhwdev->pf_to_mgmt, hwif); in init_pfhwdev()
735 hinic_register_mgmt_msg_cb(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, in init_pfhwdev()
752 hinic_unregister_mgmt_msg_cb(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC); in free_pfhwdev()
754 hinic_pf_to_mgmt_free(&pfhwdev->pf_to_mgmt); in free_pfhwdev()
[all …]
Dhinic_hw_dev.h197 struct hinic_pf_to_mgmt pf_to_mgmt; member
Dhinic_hw_cmdq.c834 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in init_cmdqs_ctxt()