Lines Matching refs:aeqs

111 void hinic_aeq_register_hw_cb(struct hinic_aeqs *aeqs,  in hinic_aeq_register_hw_cb()  argument
116 struct hinic_hw_event_cb *hwe_cb = &aeqs->hwe_cb[event]; in hinic_aeq_register_hw_cb()
128 void hinic_aeq_unregister_hw_cb(struct hinic_aeqs *aeqs, in hinic_aeq_unregister_hw_cb() argument
131 struct hinic_hw_event_cb *hwe_cb = &aeqs->hwe_cb[event]; in hinic_aeq_unregister_hw_cb()
220 struct hinic_aeqs *aeqs = aeq_to_aeqs(eq); in aeq_irq_handler() local
221 struct hinic_hwif *hwif = aeqs->hwif; in aeq_irq_handler()
249 hwe_cb = &aeqs->hwe_cb[event]; in aeq_irq_handler()
390 struct hinic_aeqs *aeqs; in aeq_interrupt() local
398 aeqs = aeq_to_aeqs(aeq); in aeq_interrupt()
399 queue_work(aeqs->workq, &aeq_work->work); in aeq_interrupt()
860 int hinic_aeqs_init(struct hinic_aeqs *aeqs, struct hinic_hwif *hwif, in hinic_aeqs_init() argument
867 aeqs->workq = create_singlethread_workqueue(HINIC_EQS_WQ_NAME); in hinic_aeqs_init()
868 if (!aeqs->workq) in hinic_aeqs_init()
871 aeqs->hwif = hwif; in hinic_aeqs_init()
872 aeqs->num_aeqs = num_aeqs; in hinic_aeqs_init()
875 err = init_eq(&aeqs->aeq[q_id], hwif, HINIC_AEQ, q_id, q_len, in hinic_aeqs_init()
887 remove_eq(&aeqs->aeq[i]); in hinic_aeqs_init()
889 destroy_workqueue(aeqs->workq); in hinic_aeqs_init()
897 void hinic_aeqs_free(struct hinic_aeqs *aeqs) in hinic_aeqs_free() argument
901 for (q_id = 0; q_id < aeqs->num_aeqs ; q_id++) in hinic_aeqs_free()
902 remove_eq(&aeqs->aeq[q_id]); in hinic_aeqs_free()
904 destroy_workqueue(aeqs->workq); in hinic_aeqs_free()
985 for (q_id = 0; q_id < hwdev->aeqs.num_aeqs; q_id++) { in hinic_dump_aeq_info()
986 eq = &hwdev->aeqs.aeq[q_id]; in hinic_dump_aeq_info()