Searched refs:mgmt_cb (Results 1 – 2 of 2) sorted by relevance
90 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_register_mgmt_msg_cb() local92 mgmt_cb->cb = callback; in hinic_register_mgmt_msg_cb()93 mgmt_cb->handle = handle; in hinic_register_mgmt_msg_cb()94 mgmt_cb->state = HINIC_MGMT_CB_ENABLED; in hinic_register_mgmt_msg_cb()105 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_unregister_mgmt_msg_cb() local107 mgmt_cb->state &= ~HINIC_MGMT_CB_ENABLED; in hinic_unregister_mgmt_msg_cb()109 while (mgmt_cb->state & HINIC_MGMT_CB_RUNNING) in hinic_unregister_mgmt_msg_cb()112 mgmt_cb->cb = NULL; in hinic_unregister_mgmt_msg_cb()380 struct hinic_mgmt_cb *mgmt_cb; in mgmt_recv_msg_handler() local390 mgmt_cb = &pf_to_mgmt->mgmt_cb[recv_msg->mod]; in mgmt_recv_msg_handler()[all …]
129 struct hinic_mgmt_cb mgmt_cb[HINIC_MOD_MAX]; member