Searched refs:pf_to_mgmt (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/huawei/hinic/ |
| D | hinic_hw_mgmt.c | 25 #define SYNC_MSG_ID(pf_to_mgmt) ((pf_to_mgmt)->sync_msg_id) argument 27 #define SYNC_MSG_ID_INC(pf_to_mgmt) (SYNC_MSG_ID(pf_to_mgmt) = \ argument 28 ((SYNC_MSG_ID(pf_to_mgmt) + 1) & \ 49 container_of(pf_mgmt, struct hinic_pfhwdev, pf_to_mgmt) 73 void hinic_register_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, in hinic_register_mgmt_msg_cb() argument 81 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_register_mgmt_msg_cb() 93 void hinic_unregister_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, in hinic_unregister_mgmt_msg_cb() argument 96 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_unregister_mgmt_msg_cb() 118 static u64 prepare_header(struct hinic_pf_to_mgmt *pf_to_mgmt, in prepare_header() argument 124 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in prepare_header() [all …]
|
| D | hinic_hw_mgmt.h | 123 void hinic_register_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, 131 void hinic_unregister_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, 134 int hinic_msg_to_mgmt(struct hinic_pf_to_mgmt *pf_to_mgmt, 139 int hinic_pf_to_mgmt_init(struct hinic_pf_to_mgmt *pf_to_mgmt, 142 void hinic_pf_to_mgmt_free(struct hinic_pf_to_mgmt *pf_to_mgmt);
|
| D | hinic_hw_dev.c | 120 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_CFGM, in get_cap_from_fw() 239 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, cmd, in hinic_port_msg_cmd() 314 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_hw_ioctxt() 383 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in wait_for_io_stopped() 435 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in clear_io_resources() 472 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, in set_resources_state() 719 err = hinic_pf_to_mgmt_init(&pfhwdev->pf_to_mgmt, hwif); in init_pfhwdev() 725 hinic_register_mgmt_msg_cb(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, in init_pfhwdev() 742 hinic_unregister_mgmt_msg_cb(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC); in free_pfhwdev() 744 hinic_pf_to_mgmt_free(&pfhwdev->pf_to_mgmt); in free_pfhwdev() [all …]
|
| D | hinic_hw_dev.h | 244 struct hinic_pf_to_mgmt pf_to_mgmt; member
|
| D | hinic_hw_cmdq.c | 825 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in init_cmdqs_ctxt()
|