/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
D | ce_tasklet.c | 119 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 …]
|
D | ce_service_srng.c | 102 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 …]
|
D | ce_service.c | 200 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 …]
|
D | ce_main.c | 1746 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 …]
|
D | ce_internal.h | 640 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 …]
|
D | ce_service_legacy.c | 336 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/ |
D | pld_snoc_fw_sim.h | 50 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 …]
|
D | pld_snoc.h | 64 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 …]
|
D | pld_pcie_fw_sim.h | 108 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);
|
D | pld_common.c | 1184 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/ |
D | if_ipci.c | 93 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/ |
D | if_snoc.c | 356 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 …]
|
D | if_ahb.c | 235 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 …]
|
D | hif_io32_snoc.h | 37 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/ |
D | hif_napi.c | 762 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 …]
|
D | hif_napi.h | 183 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/ |
D | if_pci.c | 2111 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/ |
D | pci_api.h | 44 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);
|
D | snoc_api.h | 36 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);
|
D | ahb_api.h | 37 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);
|
D | multibus.h | 60 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);
|
D | usb_api.h | 35 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/ |
D | icnss2.h | 96 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/ |
D | qdf_tracepoint_defs.h | 232 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/ |
D | pld_common.h | 308 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()
|