Lines Matching refs:ceqs
148 void hinic_ceq_register_cb(struct hinic_ceqs *ceqs, in hinic_ceq_register_cb() argument
152 struct hinic_ceq_cb *ceq_cb = &ceqs->ceq_cb[event]; in hinic_ceq_register_cb()
164 void hinic_ceq_unregister_cb(struct hinic_ceqs *ceqs, in hinic_ceq_unregister_cb() argument
167 struct hinic_ceq_cb *ceq_cb = &ceqs->ceq_cb[event]; in hinic_ceq_unregister_cb()
282 static void ceq_event_handler(struct hinic_ceqs *ceqs, u32 ceqe) in ceq_event_handler() argument
284 struct hinic_hwif *hwif = ceqs->hwif; in ceq_event_handler()
296 ceq_cb = &ceqs->ceq_cb[event]; in ceq_event_handler()
316 struct hinic_ceqs *ceqs = ceq_to_ceqs(eq); in ceq_irq_handler() local
330 ceq_event_handler(ceqs, ceqe); in ceq_irq_handler()
919 int hinic_ceqs_init(struct hinic_ceqs *ceqs, struct hinic_hwif *hwif, in hinic_ceqs_init() argument
926 ceqs->hwif = hwif; in hinic_ceqs_init()
927 ceqs->num_ceqs = num_ceqs; in hinic_ceqs_init()
930 ceqs->ceq[q_id].hwdev = ceqs->hwdev; in hinic_ceqs_init()
931 err = init_eq(&ceqs->ceq[q_id], hwif, HINIC_CEQ, q_id, q_len, in hinic_ceqs_init()
943 remove_eq(&ceqs->ceq[i]); in hinic_ceqs_init()
952 void hinic_ceqs_free(struct hinic_ceqs *ceqs) in hinic_ceqs_free() argument
956 for (q_id = 0; q_id < ceqs->num_ceqs; q_id++) in hinic_ceqs_free()
957 remove_eq(&ceqs->ceq[q_id]); in hinic_ceqs_free()
966 for (q_id = 0; q_id < hwdev->func_to_io.ceqs.num_ceqs; q_id++) { in hinic_dump_ceq_info()
967 eq = &hwdev->func_to_io.ceqs.ceq[q_id]; in hinic_dump_ceq_info()