Home
last modified time | relevance | path

Searched refs:napid (Results 1 – 6 of 6) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/hif/src/
H A Dhif_irq_affinity.c47 static void hnc_dump_cpus(struct qca_napi_data *napid) in hnc_dump_cpus() argument
49 hif_napi_stats(napid); in hnc_dump_cpus()
52 static void hnc_dump_cpus(struct qca_napi_data *napid) { /* no-op */ }; in hnc_dump_cpus() argument
106 struct qca_napi_data *napid = &(hif->napi_data); in hif_exec_event() local
116 qdf_spin_lock_bh(&(napid->lock)); in hif_exec_event()
117 prev_state = napid->state; in hif_exec_event()
134 (napid->napi_mode == QCA_NAPI_TPUT_HI) && /* we manage */ in hif_exec_event()
135 (napid->napi_cpu[cpu].napis != 0)) { in hif_exec_event()
138 rc = hif_exec_cpu_migrate(napid, in hif_exec_event()
141 napid->napi_cpu[cpu].napis = 0; in hif_exec_event()
[all …]
H A Dhif_napi.c138 struct qca_napi_data *napid; in hif_napi_create() local
151 napid = &(hif->napi_data); in hif_napi_create()
152 if (0 == (napid->state & HIF_NAPI_INITED)) { in hif_napi_create()
153 memset(napid, 0, sizeof(struct qca_napi_data)); in hif_napi_create()
154 qdf_spinlock_create(&(napid->lock)); in hif_napi_create()
156 napid->state |= HIF_NAPI_INITED; in hif_napi_create()
157 napid->flags = flags; in hif_napi_create()
162 rc = napid->ce_map; in hif_napi_create()
183 napid->napis[i] = napii; in hif_napi_create()
191 napii = napid->napis[i]; in hif_napi_create()
[all …]
H A Dhif_napi.h168 struct qca_napi_info *hif_get_napi(int napi_id, struct qca_napi_data *napid);
253 struct qca_napi_data *napid) in hif_get_napi() argument
301 int hif_napi_cpu_migrate(struct qca_napi_data *napid, int cpu, int action);
304 int hif_napi_cpu_denylist(struct qca_napi_data *napid,
308 void hif_napi_stats(struct qca_napi_data *napid);
320 static inline int hif_napi_cpu_migrate(struct qca_napi_data *napid, int cpu, in hif_napi_cpu_migrate() argument
327 static inline void hif_napi_stats(struct qca_napi_data *napid) { } in hif_napi_stats() argument
332 static inline int hif_napi_cpu_denylist(struct qca_napi_data *napid, in hif_napi_cpu_denylist() argument
H A Dhif_irq_affinity.h35 int hif_exec_cpu_migrate(struct qca_napi_data *napid, int cpu, int action);
37 int hif_exec_cpu_denylist(struct qca_napi_data *napid,
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_napi.c103 struct qca_napi_data *napid = hdd_napi_get_all(); in hdd_napi_create() local
107 if (!napid) { in hdd_napi_create()
144 napid->user_cpu_affin_mask = in hdd_napi_create()
362 struct qca_napi_data *napid = hdd_napi_get_all(); in hdd_napi_apply_throughput_policy() local
380 if (!napid) { in hdd_napi_apply_throughput_policy()
396 if (req_state != napid->napi_mode) { in hdd_napi_apply_throughput_policy()
475 struct qca_napi_data *napid; in hdd_display_napi_stats() local
486 napid = hdd_napi_get_all(); in hdd_display_napi_stats()
487 if (!napid) { in hdd_display_napi_stats()
492 napid->napi_mode, in hdd_display_napi_stats()
[all …]
H A Dwlan_hdd_tx_rx.c423 struct qca_napi_data *napid; in hdd_legacy_gro_get_napi() local
426 napid = hdd_napi_get_all(); in hdd_legacy_gro_get_napi()
427 if (unlikely(!napid)) in hdd_legacy_gro_get_napi()
430 qca_napii = hif_get_napi(QDF_NBUF_CB_RX_CTX_ID(nbuf), napid); in hdd_legacy_gro_get_napi()