Searched refs:mgmt_cb (Results 1 – 2 of 2) sorted by relevance
89 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_register_mgmt_msg_cb() local91 mgmt_cb->cb = callback; in hinic_register_mgmt_msg_cb()92 mgmt_cb->handle = handle; in hinic_register_mgmt_msg_cb()93 mgmt_cb->state = HINIC_MGMT_CB_ENABLED; in hinic_register_mgmt_msg_cb()104 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_unregister_mgmt_msg_cb() local106 mgmt_cb->state &= ~HINIC_MGMT_CB_ENABLED; in hinic_unregister_mgmt_msg_cb()111 mgmt_cb->cb = NULL; in hinic_unregister_mgmt_msg_cb()394 struct hinic_mgmt_cb *mgmt_cb; in recv_mgmt_msg_work_handler() local408 mgmt_cb = &pf_to_mgmt->mgmt_cb[mgmt_work->mod]; in recv_mgmt_msg_work_handler()410 cb_state = cmpxchg(&mgmt_cb->state, in recv_mgmt_msg_work_handler()[all …]
142 struct hinic_mgmt_cb mgmt_cb[HINIC_MOD_MAX]; member