Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c152 struct hinic_ceq_cb *ceq_cb = &ceqs->ceq_cb[event]; in hinic_ceq_register_cb() local
154 ceq_cb->handler = handler; in hinic_ceq_register_cb()
155 ceq_cb->handle = handle; in hinic_ceq_register_cb()
156 ceq_cb->ceqe_state = HINIC_EQE_ENABLED; in hinic_ceq_register_cb()
167 struct hinic_ceq_cb *ceq_cb = &ceqs->ceq_cb[event]; in hinic_ceq_unregister_cb() local
169 ceq_cb->ceqe_state &= ~HINIC_EQE_ENABLED; in hinic_ceq_unregister_cb()
171 while (ceq_cb->ceqe_state & HINIC_EQE_RUNNING) in hinic_ceq_unregister_cb()
174 ceq_cb->handler = NULL; in hinic_ceq_unregister_cb()
286 struct hinic_ceq_cb *ceq_cb; in ceq_event_handler() local
296 ceq_cb = &ceqs->ceq_cb[event]; in ceq_event_handler()
[all …]
Dhinic_hw_eqs.h228 struct hinic_ceq_cb ceq_cb[HINIC_MAX_CEQ_EVENTS]; member
241 void (*ceq_cb)(void *handle, u32 ceqe_data));