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()
918 int hinic_ceqs_init(struct hinic_ceqs *ceqs, struct hinic_hwif *hwif, in hinic_ceqs_init() argument
925 ceqs->hwif = hwif; in hinic_ceqs_init()
926 ceqs->num_ceqs = num_ceqs; in hinic_ceqs_init()
929 ceqs->ceq[q_id].hwdev = ceqs->hwdev; in hinic_ceqs_init()
930 err = init_eq(&ceqs->ceq[q_id], hwif, HINIC_CEQ, q_id, q_len, in hinic_ceqs_init()
942 remove_eq(&ceqs->ceq[i]); in hinic_ceqs_init()
951 void hinic_ceqs_free(struct hinic_ceqs *ceqs) in hinic_ceqs_free() argument
955 for (q_id = 0; q_id < ceqs->num_ceqs; q_id++) in hinic_ceqs_free()
956 remove_eq(&ceqs->ceq[q_id]); in hinic_ceqs_free()
965 for (q_id = 0; q_id < hwdev->func_to_io.ceqs.num_ceqs; q_id++) { in hinic_dump_ceq_info()
966 eq = &hwdev->func_to_io.ceqs.ceq[q_id]; in hinic_dump_ceq_info()