Lines Matching refs:hif_ctx

131 int hif_napi_create(struct hif_opaque_softc   *hif_ctx,  in hif_napi_create()  argument
141 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_create()
159 rc = hif_napi_cpu_init(hif_ctx); in hif_napi_create()
199 napii->hif_ctx = hif_ctx; in hif_napi_create()
333 int hif_napi_destroy(struct hif_opaque_softc *hif_ctx, in hif_napi_destroy() argument
339 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_destroy()
399 rc = hif_napi_cpu_deinit(hif_ctx); in hif_napi_destroy()
440 inline struct qca_napi_data *hif_napi_get_all(struct hif_opaque_softc *hif_ctx) in hif_napi_get_all() argument
442 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_get_all()
498 int hif_napi_event(struct hif_opaque_softc *hif_ctx, enum qca_napi_event event, in hif_napi_event() argument
506 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_event()
518 return hif_exec_event(hif_ctx, event, data); in hif_napi_event()
705 int hif_napi_enabled(struct hif_opaque_softc *hif_ctx, int ce) in hif_napi_enabled() argument
708 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_enabled()
726 bool hif_napi_created(struct hif_opaque_softc *hif_ctx, int ce) in hif_napi_created() argument
729 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx); in hif_napi_created()
933 void hif_print_napi_stats(struct hif_opaque_softc *hif_ctx) in hif_print_napi_stats() argument
935 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_print_napi_stats()
951 if (!hif_napi_enabled(hif_ctx, ce_id)) in hif_print_napi_stats()
992 void hif_print_napi_stats(struct hif_opaque_softc *hif_ctx) in hif_print_napi_stats() argument
994 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_print_napi_stats()
1003 if (!hif_napi_enabled(hif_ctx, ce_id)) in hif_print_napi_stats()
1030 void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx) in hif_clear_napi_stats() argument
1032 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_clear_napi_stats()
1037 if (!hif_napi_enabled(hif_ctx, ce_id)) in hif_clear_napi_stats()
1047 inline void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx) in hif_clear_napi_stats() argument
1071 bool hif_napi_schedule(struct hif_opaque_softc *hif_ctx, int ce_id) in hif_napi_schedule() argument
1074 struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx); in hif_napi_schedule()
1118 napid = hif_napi_get_all(GET_HIF_OPAQUE_HDL(napi_info->hif_ctx)); in hif_napi_correct_cpu()
1189 int hif_napi_poll(struct hif_opaque_softc *hif_ctx, argument
1198 struct hif_softc *hif = HIF_GET_SOFTC(hif_ctx);
1280 hif_napi_enable_irq(hif_ctx, napi_info->id);