Home
last modified time | relevance | path

Searched refs:mgmt_cb (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c89 struct hinic_mgmt_cb *mgmt_cb = &pf_to_mgmt->mgmt_cb[mod]; in hinic_register_mgmt_msg_cb() local
91 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() local
106 mgmt_cb->state &= ~HINIC_MGMT_CB_ENABLED; in hinic_unregister_mgmt_msg_cb()
108 while (mgmt_cb->state & HINIC_MGMT_CB_RUNNING) 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() local
408 mgmt_cb = &pf_to_mgmt->mgmt_cb[mgmt_work->mod]; in recv_mgmt_msg_work_handler()
[all …]
Dhinic_hw_mgmt.h142 struct hinic_mgmt_cb mgmt_cb[HINIC_MOD_MAX]; member