Searched refs:pf_to_mgmt (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mgmt.c | 27 #define SYNC_MSG_ID(pf_to_mgmt) ((pf_to_mgmt)->sync_msg_id) argument 29 #define SYNC_MSG_ID_INC(pf_to_mgmt) (SYNC_MSG_ID(pf_to_mgmt) = \ argument 30 ((SYNC_MSG_ID(pf_to_mgmt) + 1) & \ 57 container_of(pf_mgmt, struct hinic_pfhwdev, pf_to_mgmt) 81 void hinic_register_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, in hinic_register_mgmt_msg_cb() argument 89 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_register_mgmt_msg_cb() 101 void hinic_unregister_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, in hinic_unregister_mgmt_msg_cb() argument 104 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_unregister_mgmt_msg_cb() 126 static u64 prepare_header(struct hinic_pf_to_mgmt *pf_to_mgmt, in prepare_header() argument 132 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in prepare_header() [all …]
|
D | hinic_hw_mgmt.h | 149 struct hinic_pf_to_mgmt *pf_to_mgmt; member 160 void hinic_register_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, 168 void hinic_unregister_mgmt_msg_cb(struct hinic_pf_to_mgmt *pf_to_mgmt, 171 int hinic_msg_to_mgmt(struct hinic_pf_to_mgmt *pf_to_mgmt, 176 int hinic_pf_to_mgmt_init(struct hinic_pf_to_mgmt *pf_to_mgmt, 179 void hinic_pf_to_mgmt_free(struct hinic_pf_to_mgmt *pf_to_mgmt);
|
D | hinic_hw_dev.c | 111 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_CFGM, in get_capability() 221 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, cmd, in hinic_port_msg_cmd() 234 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_HILINK, cmd, in hinic_hilink_msg_cmd() 299 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_hw_ioctxt() 368 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in clear_io_resources() 399 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, in set_resources_state() 750 err = hinic_pf_to_mgmt_init(&pfhwdev->pf_to_mgmt, hwif); in init_pfhwdev() 759 hinic_pf_to_mgmt_free(&pfhwdev->pf_to_mgmt); in init_pfhwdev() 767 hinic_pf_to_mgmt_free(&pfhwdev->pf_to_mgmt); in init_pfhwdev() 772 hinic_register_mgmt_msg_cb(&pfhwdev->pf_to_mgmt, in init_pfhwdev() [all …]
|
D | hinic_hw_cmdq.c | 827 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in init_cmdqs_ctxt() 866 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in hinic_set_cmdq_depth()
|
D | hinic_hw_dev.h | 400 struct hinic_pf_to_mgmt pf_to_mgmt; member
|
D | hinic_hw_mbox.c | 536 ret = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_vf_mbox_random_id() 1391 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in comm_pf_mbox_handler()
|
D | hinic_hw_io.c | 506 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in hinic_set_wq_page_size()
|
D | hinic_hw_eqs.c | 559 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_ceq_ctrl_reg()
|
D | hinic_sriov.c | 1051 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, in nic_pf_mbox_handler()
|
D | hinic_port.c | 1289 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in _set_led_status()
|