Home
last modified time | relevance | path

Searched refs:ce_id (Results 1 – 25 of 51) sorted by relevance

123

/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_tasklet.c119 void init_tasklet_worker_by_ceid(struct hif_opaque_softc *scn, int ce_id) in init_tasklet_worker_by_ceid() argument
122 tasklet_workers[ce_id].id = ce_id; in init_tasklet_worker_by_ceid()
123 tasklet_workers[ce_id].data = scn; in init_tasklet_worker_by_ceid()
124 init_tasklet_work(&tasklet_workers[ce_id].reg_work.work, in init_tasklet_worker_by_ceid()
152 hif_record_tasklet_exec_entry_ts(struct hif_softc *scn, uint8_t ce_id) in hif_record_tasklet_exec_entry_ts() argument
156 hif_ce_state->stats.tasklet_exec_entry_ts[ce_id] = in hif_record_tasklet_exec_entry_ts()
169 hif_record_tasklet_sched_entry_ts(struct hif_softc *scn, uint8_t ce_id) in hif_record_tasklet_sched_entry_ts() argument
173 hif_ce_state->stats.tasklet_sched_entry_ts[ce_id] = in hif_record_tasklet_sched_entry_ts()
247 uint8_t ce_id) in ce_tasklet_update_bucket() argument
255 exec_time = curr_time - (stats->tasklet_exec_entry_ts[ce_id]); in ce_tasklet_update_bucket()
[all …]
Dce_service_srng.c102 void hif_record_ce_srng_desc_event(struct hif_softc *scn, int ce_id, in hif_record_ce_srng_desc_event() argument
113 if (ce_id < CE_COUNT_MAX) in hif_record_ce_srng_desc_event()
114 hist_ev = (struct hif_ce_desc_event *)ce_hist->hist_ev[ce_id]; in hif_record_ce_srng_desc_event()
118 if (ce_id >= CE_COUNT_MAX) in hif_record_ce_srng_desc_event()
121 if (!ce_hist->enable[ce_id]) in hif_record_ce_srng_desc_event()
128 &ce_hist->history_index[ce_id], HIF_CE_HISTORY_MAX); in hif_record_ce_srng_desc_event()
152 if (ce_hist->data_enable[ce_id]) in hif_record_ce_srng_desc_event()
155 hif_record_latest_evt(ce_hist, type, ce_id, event->time, in hif_record_ce_srng_desc_event()
746 static void ce_srng_msi_ring_params_setup(struct hif_softc *scn, uint32_t ce_id, in ce_srng_msi_ring_params_setup() argument
765 irq_id = scn->int_assignment->msi_idx[ce_id]; in ce_srng_msi_ring_params_setup()
[all …]
Dce_service.c200 int ce_id, uint64_t time, in hif_record_latest_evt() argument
206 if (ce_id != 2 && ce_id != 3) in hif_record_latest_evt()
209 latest_evts = &ce_hist->latest_evts[ce_id - HIF_CE_MAX_LATEST_HIST][idx]; in hif_record_latest_evt()
261 void hif_record_ce_desc_event(struct hif_softc *scn, int ce_id, in hif_record_ce_desc_event() argument
273 if (ce_id < CE_COUNT_MAX) in hif_record_ce_desc_event()
274 hist_ev = (struct hif_ce_desc_event *)ce_hist->hist_ev[ce_id]; in hif_record_ce_desc_event()
278 if (ce_id >= CE_COUNT_MAX) in hif_record_ce_desc_event()
281 if (!ce_hist->enable[ce_id]) in hif_record_ce_desc_event()
288 &ce_hist->history_index[ce_id], HIF_CE_HISTORY_MAX); in hif_record_ce_desc_event()
309 if (ce_hist->data_enable[ce_id]) in hif_record_ce_desc_event()
[all …]
Dce_main.c1746 static void ce_ring_test_initial_indexes(int ce_id, struct CE_ring_state *ring, in ce_ring_test_initial_indexes() argument
1751 ce_id, type, ring->sw_index, ring->write_index); in ce_ring_test_initial_indexes()
2088 uint32_t ce_id, struct CE_ring_state *ring, in ce_ring_setup() argument
2093 return hif_state->ce_services->ce_ring_setup(scn, ring_type, ce_id, in ce_ring_setup()
2110 int ce_id, status, ul_is_polled, dl_is_polled; in hif_ce_bus_early_suspend() local
2121 for (ce_id = 0; ce_id < scn->ce_count; ce_id++) { in hif_ce_bus_early_suspend()
2122 if (ce_id == ul_pipe) in hif_ce_bus_early_suspend()
2124 if (ce_id == dl_pipe) in hif_ce_bus_early_suspend()
2127 ce_state = scn->ce_id_to_state[ce_id]; in hif_ce_bus_early_suspend()
2139 int ce_id; in hif_ce_bus_late_resume() local
[all …]
Dce_internal.h640 void ce_init_ce_desc_event_log(struct hif_softc *scn, int ce_id, int size);
641 void ce_deinit_ce_desc_event_log(struct hif_softc *scn, int ce_id);
642 void hif_record_ce_desc_event(struct hif_softc *scn, int ce_id,
712 int hif_get_wake_ce_id(struct hif_softc *scn, uint8_t *ce_id);
721 int hif_get_fw_diag_ce_id(struct hif_softc *scn, uint8_t *ce_id);
811 void hif_record_ce_srng_desc_event(struct hif_softc *scn, int ce_id,
828 void hif_record_ce_srng_desc_event(struct hif_softc *scn, int ce_id, in hif_record_ce_srng_desc_event() argument
851 QDF_STATUS alloc_mem_ce_debug_hist_data(struct hif_softc *scn, uint32_t ce_id);
852 void free_mem_ce_debug_hist_data(struct hif_softc *scn, uint32_t ce_id);
855 QDF_STATUS alloc_mem_ce_debug_hist_data(struct hif_softc *scn, uint32_t ce_id) in alloc_mem_ce_debug_hist_data() argument
[all …]
Dce_service_legacy.c336 void ce_per_engine_service_fast(struct hif_softc *scn, int ce_id) in ce_per_engine_service_fast() argument
338 struct CE_state *ce_state = scn->ce_id_to_state[ce_id]; in ce_per_engine_service_fast()
469 hif_update_napi_max_poll_time(ce_state, ce_id, qdf_get_cpu()); in ce_per_engine_service_fast()
513 void ce_per_engine_service_fast(struct hif_softc *scn, int ce_id) in ce_per_engine_service_fast() argument
1269 uint32_t ce_id, struct CE_attr *attr) in ce_legacy_msi_param_setup() argument
1290 irq_id = scn->int_assignment->msi_idx[ce_id]; in ce_legacy_msi_param_setup()
1355 uint32_t ce_id, struct CE_attr *attr) in ce_legacy_msi_param_setup() argument
1376 static void ce_legacy_src_ring_setup(struct hif_softc *scn, uint32_t ce_id, in ce_legacy_src_ring_setup() argument
1385 QDF_ASSERT(ce_id < scn->ce_count); in ce_legacy_src_ring_setup()
1386 ctrl_addr = CE_BASE_ADDRESS(ce_id); in ce_legacy_src_ring_setup()
[all …]
/wlan-driver/qcacld-3.0/core/pld/src/
Dpld_snoc_fw_sim.h50 unsigned int ce_id, in pld_snoc_fw_sim_ce_request_irq() argument
59 unsigned int ce_id, void *ctx) in pld_snoc_fw_sim_ce_free_irq() argument
65 unsigned int ce_id) in pld_snoc_fw_sim_enable_irq() argument
70 unsigned int ce_id) in pld_snoc_fw_sim_disable_irq() argument
85 static inline int pld_snoc_fw_sim_get_irq(struct device *dev, int ce_id) in pld_snoc_fw_sim_get_irq() argument
118 unsigned int ce_id, in pld_snoc_fw_sim_ce_request_irq() argument
126 return icnss_ce_request_irq(dev, ce_id, handler, flags, name, ctx); in pld_snoc_fw_sim_ce_request_irq()
130 unsigned int ce_id, void *ctx) in pld_snoc_fw_sim_ce_free_irq() argument
135 return icnss_ce_free_irq(dev, ce_id, ctx); in pld_snoc_fw_sim_ce_free_irq()
139 unsigned int ce_id) in pld_snoc_fw_sim_enable_irq() argument
[all …]
Dpld_snoc.h64 unsigned int ce_id, in pld_snoc_ce_request_irq() argument
72 unsigned int ce_id, void *ctx) in pld_snoc_ce_free_irq() argument
76 static inline void pld_snoc_enable_irq(struct device *dev, unsigned int ce_id) in pld_snoc_enable_irq() argument
79 static inline void pld_snoc_disable_irq(struct device *dev, unsigned int ce_id) in pld_snoc_disable_irq() argument
98 static inline int pld_snoc_get_irq(struct device *dev, int ce_id) in pld_snoc_get_irq() argument
288 unsigned int ce_id, in pld_snoc_ce_request_irq() argument
296 return icnss_ce_request_irq(dev, ce_id, handler, flags, name, ctx); in pld_snoc_ce_request_irq()
300 unsigned int ce_id, void *ctx) in pld_snoc_ce_free_irq() argument
305 return icnss_ce_free_irq(dev, ce_id, ctx); in pld_snoc_ce_free_irq()
308 static inline void pld_snoc_enable_irq(struct device *dev, unsigned int ce_id) in pld_snoc_enable_irq() argument
[all …]
Dpld_pcie_fw_sim.h108 unsigned int ce_id, void *ctx) in pld_pcie_fw_sim_free_irq() argument
157 static inline int pld_pcie_fw_sim_get_irq(struct device *dev, int ce_id) in pld_pcie_fw_sim_get_irq() argument
174 int pld_pcie_fw_sim_get_irq(struct device *dev, int ce_id);
Dpld_common.c1184 int pld_ce_request_irq(struct device *dev, unsigned int ce_id, in pld_ce_request_irq() argument
1192 ret = pld_snoc_ce_request_irq(dev, ce_id, in pld_ce_request_irq()
1196 ret = pld_snoc_fw_sim_ce_request_irq(dev, ce_id, in pld_ce_request_irq()
1213 int pld_ce_free_irq(struct device *dev, unsigned int ce_id, void *ctx) in pld_ce_free_irq() argument
1219 ret = pld_snoc_ce_free_irq(dev, ce_id, ctx); in pld_ce_free_irq()
1222 ret = pld_snoc_fw_sim_ce_free_irq(dev, ce_id, ctx); in pld_ce_free_irq()
1238 void pld_enable_irq(struct device *dev, unsigned int ce_id) in pld_enable_irq() argument
1242 pld_snoc_enable_irq(dev, ce_id); in pld_enable_irq()
1245 pld_snoc_fw_sim_enable_irq(dev, ce_id); in pld_enable_irq()
1260 void pld_disable_irq(struct device *dev, unsigned int ce_id) in pld_disable_irq() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/
Dif_ipci.c93 static int hif_ce_msi_map_ce_to_irq(struct hif_softc *scn, int ce_id) in hif_ce_msi_map_ce_to_irq() argument
97 return ipci_scn->ce_msi_irq_num[ce_id]; in hif_ce_msi_map_ce_to_irq()
162 int ce_id, irq; in hif_ce_srng_msi_free_irq() local
177 for (ce_id = 0; ce_id < scn->ce_count; ce_id++) { in hif_ce_srng_msi_free_irq()
180 if (!ce_sc->tasklets[ce_id].inited) in hif_ce_srng_msi_free_irq()
183 msi_data = (ce_id % msi_data_count) + msi_irq_start; in hif_ce_srng_msi_free_irq()
189 ce_id, msi_data, irq); in hif_ce_srng_msi_free_irq()
191 pfrm_free_irq(scn->qdf_dev->dev, irq, &ce_sc->tasklets[ce_id]); in hif_ce_srng_msi_free_irq()
412 return ce_dispatch_interrupt(tasklet_entry->ce_id, tasklet_entry); in hif_ce_interrupt_handler()
423 static void hif_ce_srng_msi_irq_disable(struct hif_softc *hif_sc, int ce_id) in hif_ce_srng_msi_irq_disable() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/
Dif_snoc.c356 int ce_id) in hif_snoc_irq_enable() argument
358 ce_enable_irq_in_individual_register(scn, ce_id); in hif_snoc_irq_enable()
368 void hif_snoc_irq_disable(struct hif_softc *scn, int ce_id) in hif_snoc_irq_disable() argument
370 ce_disable_irq_in_individual_register(scn, ce_id); in hif_snoc_irq_disable()
453 int hif_snoc_map_ce_to_irq(struct hif_softc *scn, int ce_id) in hif_snoc_map_ce_to_irq() argument
455 return pld_get_irq(scn->qdf_dev->dev, ce_id); in hif_snoc_map_ce_to_irq()
491 int ce_id; in hif_snoc_ce_dp_irq_set_affinity_hint() local
509 for (ce_id = 0; ce_id < scn->ce_count; ce_id++) { in hif_snoc_ce_dp_irq_set_affinity_hint()
510 ce_state = scn->ce_id_to_state[ce_id]; in hif_snoc_ce_dp_irq_set_affinity_hint()
515 irq = pld_get_irq(scn->qdf_dev->dev, ce_id); in hif_snoc_ce_dp_irq_set_affinity_hint()
[all …]
Dif_ahb.c235 int hif_ahb_configure_irq_by_ceid(struct hif_softc *scn, int ce_id) in hif_ahb_configure_irq_by_ceid() argument
243 if (ce_id >= CE_COUNT_MAX) in hif_ahb_configure_irq_by_ceid()
247 ic_irqname[HIF_IC_CE0_IRQ_OFFSET + ce_id], in hif_ahb_configure_irq_by_ceid()
248 HIF_IC_CE0_IRQ_OFFSET + ce_id, &irq); in hif_ahb_configure_irq_by_ceid()
255 ic_irqnum[HIF_IC_CE0_IRQ_OFFSET + ce_id] = irq; in hif_ahb_configure_irq_by_ceid()
259 ic_irqname[HIF_IC_CE0_IRQ_OFFSET + ce_id], in hif_ahb_configure_irq_by_ceid()
260 &hif_state->tasklets[ce_id]); in hif_ahb_configure_irq_by_ceid()
266 hif_ahb_irq_enable(scn, ce_id); in hif_ahb_configure_irq_by_ceid()
390 return ce_dispatch_interrupt(tasklet_entry->ce_id, tasklet_entry); in hif_ahb_interrupt_handler()
684 void hif_ahb_irq_enable(struct hif_softc *scn, int ce_id) in hif_ahb_irq_enable() argument
[all …]
Dhif_io32_snoc.h37 int ce_id) in ce_enable_irq_in_individual_register() argument
41 offset = HOST_IE_ADDRESS + CE_BASE_ADDRESS(ce_id); in ce_enable_irq_in_individual_register()
50 int ce_id) in ce_disable_irq_in_individual_register() argument
54 offset = HOST_IE_ADDRESS + CE_BASE_ADDRESS(ce_id); in ce_disable_irq_in_individual_register()
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_napi.c762 int ce_id) in hif_napi_latency_profile_start() argument
766 napii = scn->napi_data.napis[ce_id]; in hif_napi_latency_profile_start()
811 static void hif_print_napi_latency_stats(struct qca_napi_info *napii, int ce_id) in hif_print_napi_latency_stats() argument
834 ce_id, napii->tstamp); in hif_print_napi_latency_stats()
848 hif_napi_latency_profile_start(struct hif_softc *scn, int ce_id) in hif_napi_latency_profile_start() argument
858 hif_print_napi_latency_stats(struct qca_napi_info *napii, int ce_id) in hif_print_napi_latency_stats() argument
938 int ce_id, cpu; in hif_print_napi_stats() local
950 for (ce_id = 0; ce_id < CE_COUNT_MAX; ce_id++) { in hif_print_napi_stats()
951 if (!hif_napi_enabled(hif_ctx, ce_id)) in hif_print_napi_stats()
954 napii = scn->napi_data.napis[ce_id]; in hif_print_napi_stats()
[all …]
Dhif_napi.h183 bool hif_napi_schedule(struct hif_opaque_softc *scn, int ce_id);
212 int ce_id,
272 static inline bool hif_napi_schedule(struct hif_opaque_softc *hif, int ce_id) in hif_napi_schedule() argument
289 int ce_id, in hif_update_napi_max_poll_time() argument
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/
Dif_pci.c2111 int ce_id, irq; in hif_ce_srng_free_irq() local
2131 for (ce_id = 0; ce_id < scn->ce_count; ce_id++) { in hif_ce_srng_free_irq()
2132 if (host_ce_conf[ce_id].flags & CE_ATTR_DISABLE_INTR) in hif_ce_srng_free_irq()
2135 if (!ce_sc->tasklets[ce_id].inited) in hif_ce_srng_free_irq()
2138 irq = sc->ce_irq_num[ce_id]; in hif_ce_srng_free_irq()
2142 hif_debug("%s: (ce_id %d, irq %d)", __func__, ce_id, irq); in hif_ce_srng_free_irq()
2144 pfrm_free_irq(scn->qdf_dev->dev, irq, &ce_sc->tasklets[ce_id]); in hif_ce_srng_free_irq()
2912 return ce_dispatch_interrupt(tasklet_entry->ce_id, tasklet_entry); in hif_ce_interrupt_handler()
2916 static int hif_ce_msi_map_ce_to_irq(struct hif_softc *scn, int ce_id) in hif_ce_msi_map_ce_to_irq() argument
2920 return pci_scn->ce_irq_num[ce_id]; in hif_ce_msi_map_ce_to_irq()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/
Dpci_api.h44 void hif_pci_irq_disable(struct hif_softc *scn, int ce_id);
45 void hif_pci_irq_enable(struct hif_softc *scn, int ce_id);
82 int hif_pci_legacy_map_ce_to_irq(struct hif_softc *scn, int ce_id);
95 int hif_ce_msi_configure_irq_by_ceid(struct hif_softc *scn, int ce_id);
Dsnoc_api.h36 void hif_snoc_irq_disable(struct hif_softc *scn, int ce_id);
37 void hif_snoc_irq_enable(struct hif_softc *scn, int ce_id);
41 int hif_snoc_map_ce_to_irq(struct hif_softc *scn, int ce_id);
Dahb_api.h37 void hif_ahb_irq_disable(struct hif_softc *scn, int ce_id);
38 void hif_ahb_irq_enable(struct hif_softc *scn, int ce_id);
44 int hif_ahb_configure_irq_by_ceid(struct hif_softc *sc, int ce_id);
Dmultibus.h60 void (*hif_irq_disable)(struct hif_softc *hif_sc, int ce_id);
61 void (*hif_irq_enable)(struct hif_softc *hif_sc, int ce_id);
87 int (*hif_map_ce_to_irq)(struct hif_softc *hif_sc, int ce_id);
91 int (*hif_config_irq_by_ceid)(struct hif_softc *hif_sc, int ce_id);
282 int hif_config_irq_by_ceid(struct hif_softc *hif_sc, int ce_id);
Dusb_api.h35 void hif_usb_irq_disable(struct hif_softc *scn, int ce_id);
36 void hif_usb_irq_enable(struct hif_softc *scn, int ce_id);
/wlan-driver/platform/inc/
Dicnss2.h96 u16 ce_id; member
189 extern void icnss_enable_irq(struct device *dev, unsigned int ce_id);
190 extern void icnss_disable_irq(struct device *dev, unsigned int ce_id);
192 extern int icnss_ce_free_irq(struct device *dev, unsigned int ce_id, void *ctx);
193 extern int icnss_ce_request_irq(struct device *dev, unsigned int ce_id,
204 extern int icnss_get_irq(struct device *dev, int ce_id);
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_tracepoint_defs.h232 TP_PROTO(uint8_t ce_id, uint64_t sched_latency),
233 TP_ARGS(ce_id, sched_latency),
235 __field(uint8_t, ce_id)
239 __entry->ce_id = ce_id;
242 TP_printk("ce_id=%u latency(ns)=%llu", __entry->ce_id,
/wlan-driver/qcacld-3.0/core/pld/inc/
Dpld_common.h308 u16 ce_id; member
1271 int pld_ce_request_irq(struct device *dev, unsigned int ce_id,
1284 int pld_ce_free_irq(struct device *dev, unsigned int ce_id, void *ctx);
1293 void pld_enable_irq(struct device *dev, unsigned int ce_id);
1302 void pld_disable_irq(struct device *dev, unsigned int ce_id);
1352 int pld_get_irq(struct device *dev, int ce_id);
2022 static inline int pfrm_devm_request_irq(struct device *dev, unsigned int ce_id, in pfrm_devm_request_irq() argument
2027 return pld_srng_devm_request_irq(dev, ce_id, handler, flags, name, ctx); in pfrm_devm_request_irq()
2030 static inline int pfrm_request_irq(struct device *dev, unsigned int ce_id, in pfrm_request_irq() argument
2035 return pld_srng_request_irq(dev, ce_id, handler, flags, name, ctx); in pfrm_request_irq()

123