Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 25 of 44) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_dev.h41 #define __qdf_for_each_possible_cpu(cpu) for_each_possible_cpu(cpu) argument
42 #define __qdf_for_each_online_cpu(cpu) for_each_online_cpu(cpu) argument
43 #define __qdf_for_each_cpu(cpu, maskp) \ argument
44 for_each_cpu(cpu, maskp)
47 #define __qdf_for_each_cpu_not(cpu, maskp) \ argument
48 for_each_cpu_andnot(cpu, cpu_possible_mask, maskp)
50 #define __qdf_for_each_cpu_not(cpu, maskp) \ argument
51 for_each_cpu_not(cpu, maskp)
142 static inline int __qdf_topology_physical_package_id(unsigned int cpu) in __qdf_topology_physical_package_id() argument
144 return topology_cluster_id(cpu); in __qdf_topology_physical_package_id()
[all …]
Dqdf_cpuhp.c42 unsigned long cpu = (unsigned long)hcpu; in qdf_cpuhp_legacy_handler() local
46 __qdf_cpuhp_on_up(cpu); in qdf_cpuhp_legacy_handler()
51 __qdf_cpuhp_on_down(cpu); in qdf_cpuhp_legacy_handler()
77 static int qdf_cpuhp_up_handler(unsigned int cpu) in qdf_cpuhp_up_handler() argument
79 __qdf_cpuhp_on_up(cpu); in qdf_cpuhp_up_handler()
84 static int qdf_cpuhp_down_handler(unsigned int cpu) in qdf_cpuhp_down_handler() argument
86 __qdf_cpuhp_on_down(cpu); in qdf_cpuhp_down_handler()
Dqdf_threads.c287 void qdf_cpumask_set_cpu(unsigned int cpu, qdf_cpu_mask *dstp) in qdf_cpumask_set_cpu() argument
289 cpumask_set_cpu(cpu, dstp); in qdf_cpumask_set_cpu()
293 void qdf_cpumask_clear_cpu(unsigned int cpu, qdf_cpu_mask *dstp) in qdf_cpumask_clear_cpu() argument
295 cpumask_clear_cpu(cpu, dstp); in qdf_cpumask_clear_cpu()
Dqdf_streamfs.c132 unsigned int cpu, in qdf_streamfs_subbufs_consumed() argument
136 relay_subbufs_consumed(chan, cpu, consumed); in qdf_streamfs_subbufs_consumed()
Di_qdf_timer.h143 int cpu) in __qdf_timer_start_on() argument
148 add_timer_on(os_timer, cpu); in __qdf_timer_start_on()
Di_qdf_cpuhp.h29 typedef void (*__qdf_cpuhp_emit)(uint32_t cpu);
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_dev.h33 #define qdf_for_each_possible_cpu(cpu) __qdf_for_each_possible_cpu(cpu) argument
34 #define qdf_for_each_online_cpu(cpu) __qdf_for_each_online_cpu(cpu) argument
35 #define qdf_for_each_cpu(cpu, maskp) __qdf_for_each_cpu(cpu, maskp) argument
36 #define qdf_for_each_cpu_not(cpu, maskp) \ argument
37 __qdf_for_each_cpu_not(cpu, maskp)
156 static inline int qdf_topology_physical_package_id(unsigned int cpu) in qdf_topology_physical_package_id() argument
158 return __qdf_topology_physical_package_id(cpu); in qdf_topology_physical_package_id()
Dqdf_timer.h77 static inline void qdf_timer_start_on(qdf_timer_t *timer, int msec, int cpu) in qdf_timer_start_on() argument
79 __qdf_timer_start_on(timer, msec, cpu); in qdf_timer_start_on()
Dqdf_streamfs.h139 unsigned int cpu,
198 unsigned int cpu, size_t consumed) in qdf_streamfs_subbufs_consumed() argument
Dqdf_threads.h166 void qdf_cpumask_set_cpu(unsigned int cpu, qdf_cpu_mask *dstp);
183 void qdf_cpumask_clear_cpu(unsigned int cpu, qdf_cpu_mask *dstp);
Dqdf_cpuhp.h36 typedef void (*qdf_cpuhp_callback)(void *context, uint32_t cpu);
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_napi.c554 int cpu = ((unsigned long int)data >> 16); in hif_napi_event() local
558 __func__, cpu, val); in hif_napi_event()
563 (napid->napi_cpu[cpu].napis != 0)) { in hif_napi_event()
565 __func__, cpu); in hif_napi_event()
567 cpu, in hif_napi_event()
569 napid->napi_cpu[cpu].napis = 0; in hif_napi_event()
938 int ce_id, cpu; in hif_print_napi_stats() local
956 for (cpu = 0; cpu < num_possible_cpus(); cpu++) { in hif_print_napi_stats()
957 napi_stats = &napii->stats[cpu]; in hif_print_napi_stats()
967 ce_id, cpu, in hif_print_napi_stats()
[all …]
Dhif_irq_affinity.c126 int cpu = ((unsigned long int)data >> 16); in hif_exec_event() local
130 __func__, cpu, val); in hif_exec_event()
135 (napid->napi_cpu[cpu].napis != 0)) { in hif_exec_event()
137 __func__, cpu); in hif_exec_event()
139 cpu, in hif_exec_event()
141 napid->napi_cpu[cpu].napis = 0; in hif_exec_event()
274 napid->napi_cpu[exec_ctx->cpu].napis &= ~(0x01 << ctx_id); in hncm_exec_migrate_to()
277 exec_ctx->cpu = didx; in hncm_exec_migrate_to()
371 int hif_exec_cpu_migrate(struct qca_napi_data *napid, int cpu, int action) in hif_exec_cpu_migrate() argument
380 __func__, cpu, action); in hif_exec_cpu_migrate()
[all …]
Dhif_exec.h101 uint8_t cpu; member
234 int intr_ctxt_id, int cpu);
238 int intr_ctxt_id, int cpu) in hif_pci_config_irq_clear_cpu_affinity() argument
Dhif_napi.h301 int hif_napi_cpu_migrate(struct qca_napi_data *napid, int cpu, int action);
320 static inline int hif_napi_cpu_migrate(struct qca_napi_data *napid, int cpu, in hif_napi_cpu_migrate() argument
Dhif_exec.c537 int cpu = smp_processor_id(); in hif_exec_tasklet_fn() local
541 cpu); in hif_exec_tasklet_fn()
672 int cpu = smp_processor_id(); in hif_exec_poll() local
687 normalized_budget, cpu); in hif_exec_poll()
706 hif_ext_group->stats[cpu].napi_completes++; in hif_exec_poll()
715 hif_ext_group->stats[cpu].napi_polls++; in hif_exec_poll()
716 hif_ext_group->stats[cpu].napi_workdone += actual_dones; in hif_exec_poll()
Dhif_irq_affinity.h35 int hif_exec_cpu_migrate(struct qca_napi_data *napid, int cpu, int action);
Dhif_main.c792 uint32_t cpu, bool cpu_up) in __hif_cpu_hotplug_notify() argument
803 hif_debug("Setting affinity for online CPU: %d", cpu); in __hif_cpu_hotplug_notify()
805 hif_debug("Skip setting affinity for offline CPU: %d", cpu); in __hif_cpu_hotplug_notify()
818 static void hif_cpu_hotplug_notify(void *context, uint32_t cpu, bool cpu_up) in hif_cpu_hotplug_notify() argument
825 __hif_cpu_hotplug_notify(context, cpu, cpu_up); in hif_cpu_hotplug_notify()
830 static void hif_cpu_online_cb(void *context, uint32_t cpu) in hif_cpu_online_cb() argument
832 hif_cpu_hotplug_notify(context, cpu, true); in hif_cpu_online_cb()
835 static void hif_cpu_before_offline_cb(void *context, uint32_t cpu) in hif_cpu_before_offline_cb() argument
837 hif_cpu_hotplug_notify(context, cpu, false); in hif_cpu_before_offline_cb()
/wlan-driver/qca-wifi-host-cmn/qdf/src/
Dqdf_cpuhp.c39 static void qdf_cpuhp_on_up(uint32_t cpu) in qdf_cpuhp_on_up() argument
51 handler->up_callback(handler->context, cpu); in qdf_cpuhp_on_up()
59 static void qdf_cpuhp_on_down(uint32_t cpu) in qdf_cpuhp_on_down() argument
71 handler->down_callback(handler->context, cpu); in qdf_cpuhp_on_down()
/wlan-driver/qcacld-3.0/components/dp/core/inc/
Dwlan_dp_txrx.h385 int cpu; in dp_nbuf_orphan() local
418 cpu = qdf_get_smp_processor_id(); in dp_nbuf_orphan()
419 ++dp_intf->dp_stats.tx_rx_stats.per_cpu[cpu].tx_orphaned; in dp_nbuf_orphan()
451 int cpu; in dp_nbuf_orphan() local
462 cpu = qdf_get_smp_processor_id(); in dp_nbuf_orphan()
463 ++dp_intf->dp_stats.tx_rx_stats.per_cpu[cpu].tx_orphaned; in dp_nbuf_orphan()
/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_sched.c87 unsigned long cpu) in cds_set_cpus_allowed_ptr_with_cpu() argument
89 return set_cpus_allowed_ptr(task, cpumask_of(cpu)); in cds_set_cpus_allowed_ptr_with_cpu()
369 static void __cds_cpu_hotplug_notify(uint32_t cpu, bool cpu_up) in __cds_cpu_hotplug_notify() argument
382 cpu_up ? "Up" : "Down", cpu, num_possible_cpus(), affine_cpu); in __cds_cpu_hotplug_notify()
399 if (cpu != affine_cpu) in __cds_cpu_hotplug_notify()
427 static void cds_cpu_hotplug_notify(uint32_t cpu, bool cpu_up) in cds_cpu_hotplug_notify() argument
434 __cds_cpu_hotplug_notify(cpu, cpu_up); in cds_cpu_hotplug_notify()
439 static void cds_cpu_online_cb(void *context, uint32_t cpu) in cds_cpu_online_cb() argument
441 cds_cpu_hotplug_notify(cpu, true); in cds_cpu_online_cb()
444 static void cds_cpu_before_offline_cb(void *context, uint32_t cpu) in cds_cpu_before_offline_cb() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/dispatcher/
Dipci_api.h260 int intr_ctxt_id, int cpu);
264 int intr_ctxt_id, int cpu) in hif_ipci_config_irq_clear_cpu_affinity() argument
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_wmm.c395 unsigned int cpu; in hdd_wmm_inactivity_timer_cb() local
414 for (cpu = 0; cpu < NUM_CPUS; cpu++) in hdd_wmm_inactivity_timer_cb()
416 tx_rx_stats->per_cpu[cpu].tx_classified_ac[qos_context->ac_type]; in hdd_wmm_inactivity_timer_cb()
465 unsigned int cpu; in hdd_wmm_enable_inactivity_timer() local
497 for (cpu = 0; cpu < NUM_CPUS; cpu++) { in hdd_wmm_enable_inactivity_timer()
499 tx_rx_stats->per_cpu[cpu].tx_classified_ac[qos_context->ac_type]; in hdd_wmm_enable_inactivity_timer()
2094 int cpu = qdf_get_smp_processor_id(); in hdd_get_tx_queue_for_ac() local
2107 ++stats->per_cpu[cpu].inv_sk_and_skb_hash; in hdd_get_tx_queue_for_ac()
2111 ++stats->per_cpu[cpu].qselect_existing_skb_hash; in hdd_get_tx_queue_for_ac()
2120 ++stats->per_cpu[cpu].qselect_sk_tx_map; in hdd_get_tx_queue_for_ac()
[all …]
/wlan-driver/qcacld-3.0/core/dp/htt/
Dhtt_internal.h241 int cpu; member
780 i, buf[i].cpu, in htt_display_rx_buf_debug()
827 pdev->rx_buff_list[pdev->rx_buff_index].cpu = in htt_rx_dbg_rxbuf_set()
859 pdev->rx_buff_list[pdev->rx_buff_index].cpu |= in htt_rx_dbg_rxbuf_reset()
883 pdev->rx_buff_list[pdev->rx_buff_index].cpu = in htt_rx_dbg_rxbuf_indupd()
909 pdev->rx_buff_list[pdev->rx_buff_index].cpu = in htt_rx_dbg_rxbuf_httrxind()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_rings.h111 uint32_t dp_service_srngs_wrapper(void *dp_ctx, uint32_t dp_budget, int cpu);
143 uint32_t dp_service_srngs(void *dp_ctx, uint32_t dp_budget, int cpu);

12