Lines Matching refs:CE_id

1768 static QDF_STATUS ce_alloc_desc_ring(struct hif_softc *scn, unsigned int CE_id,  in ce_alloc_desc_ring()  argument
1773 if ((CE_id == HIF_PCI_IPA_UC_ASSIGNED_CE) && in ce_alloc_desc_ring()
1801 CE_id); in ce_alloc_desc_ring()
1817 static void ce_free_desc_ring(struct hif_softc *scn, unsigned int CE_id, in ce_free_desc_ring() argument
1820 if ((CE_id == HIF_PCI_IPA_UC_ASSIGNED_CE) && in ce_free_desc_ring()
1839 static QDF_STATUS ce_alloc_desc_ring(struct hif_softc *scn, unsigned int CE_id, in ce_alloc_desc_ring() argument
1855 CE_id); in ce_alloc_desc_ring()
1861 static void ce_free_desc_ring(struct hif_softc *scn, unsigned int CE_id, in ce_free_desc_ring() argument
2411 alloc_mem_ce_debug_history(struct hif_softc *scn, unsigned int CE_id, in alloc_mem_ce_debug_history() argument
2418 free_mem_ce_debug_history(struct hif_softc *scn, unsigned int CE_id) { } in free_mem_ce_debug_history() argument
2431 alloc_mem_ce_debug_history(struct hif_softc *scn, unsigned int CE_id, in alloc_mem_ce_debug_history() argument
2434 scn->hif_ce_desc_hist.hist_ev[CE_id] = (struct hif_ce_desc_event *) in alloc_mem_ce_debug_history()
2437 if (!scn->hif_ce_desc_hist.hist_ev[CE_id]) { in alloc_mem_ce_debug_history()
2438 scn->hif_ce_desc_hist.enable[CE_id] = 0; in alloc_mem_ce_debug_history()
2441 scn->hif_ce_desc_hist.enable[CE_id] = 1; in alloc_mem_ce_debug_history()
2446 static void free_mem_ce_debug_history(struct hif_softc *scn, unsigned int CE_id) in free_mem_ce_debug_history() argument
2449 struct hif_ce_desc_event *hist_ev = ce_hist->hist_ev[CE_id]; in free_mem_ce_debug_history()
2454 if (ce_hist->data_enable[CE_id]) { in free_mem_ce_debug_history()
2455 ce_hist->data_enable[CE_id] = false; in free_mem_ce_debug_history()
2456 free_mem_ce_debug_hist_data(scn, CE_id); in free_mem_ce_debug_history()
2459 ce_hist->enable[CE_id] = false; in free_mem_ce_debug_history()
2460 qdf_mem_free(ce_hist->hist_ev[CE_id]); in free_mem_ce_debug_history()
2461 ce_hist->hist_ev[CE_id] = NULL; in free_mem_ce_debug_history()
2474 alloc_mem_ce_debug_history(struct hif_softc *scn, unsigned int CE_id, in alloc_mem_ce_debug_history() argument
2481 free_mem_ce_debug_history(struct hif_softc *scn, unsigned int CE_id) { } in free_mem_ce_debug_history() argument
2532 void ce_ring_dump_register_region(struct CE_state *CE_state, unsigned int CE_id) in ce_ring_dump_register_region() argument
2539 qdf_snprint(ce, MAX_CE_STR_LEN, "%s%d", "ce_", CE_id); in ce_ring_dump_register_region()
2588 ce_ring_dump_unregister_region(struct CE_state *CE_state, unsigned int CE_id) in ce_ring_dump_unregister_region() argument
2594 qdf_snprint(ce, MAX_CE_STR_LEN, "%s%d", "ce_", CE_id); in ce_ring_dump_unregister_region()
2623 void ce_ring_dump_register_region(struct CE_state *CE_state, unsigned int CE_id) in ce_ring_dump_register_region() argument
2628 ce_ring_dump_unregister_region(struct CE_state *CE_state, unsigned int CE_id) in ce_ring_dump_unregister_region() argument
2643 unsigned int CE_id, struct CE_attr *attr) in ce_init() argument
2653 QDF_ASSERT(CE_id < scn->ce_count); in ce_init()
2654 ctrl_addr = CE_BASE_ADDRESS(CE_id); in ce_init()
2655 CE_state = scn->ce_id_to_state[CE_id]; in ce_init()
2669 CE_state->id = CE_id; in ce_init()
2688 ce_init_ce_desc_event_log(scn, CE_id, in ce_init()
2738 status = ce_ring_setup(scn, CE_RING_SRC, CE_id, in ce_init()
2742 ce_ring_test_initial_indexes(CE_id, src_ring, in ce_init()
2779 status = ce_ring_setup(scn, CE_RING_DEST, CE_id, in ce_init()
2784 ce_ring_test_initial_indexes(CE_id, dest_ring, in ce_init()
2804 scn->ce_id_to_state[CE_id] = in ce_init()
2814 CE_id, CE_state->status_ring, in ce_init()
2850 scn->ce_id_to_state[CE_id] = CE_state; in ce_init()
2852 ce_ring_dump_register_region(CE_state, CE_id); in ce_init()
2854 mem_status = alloc_mem_ce_debug_history(scn, CE_id, attr->src_nentries); in ce_init()
3226 unsigned int CE_id = CE_state->id; in ce_fini() local
3232 scn->ce_id_to_state[CE_id] = NULL; in ce_fini()
3238 ce_ring_dump_unregister_region(CE_state, CE_id); in ce_fini()
3288 free_mem_ce_debug_history(scn, CE_id); in ce_fini()
3290 ce_deinit_ce_desc_event_log(scn, CE_id); in ce_fini()