Home
last modified time | relevance | path

Searched refs:num_cpus (Results 1 – 10 of 10) sorted by relevance

/drivers/acpi/
Dacpi_pad.c255 static void acpi_pad_idle_cpus(unsigned int num_cpus) in acpi_pad_idle_cpus() argument
259 num_cpus = min_t(unsigned int, num_cpus, num_online_cpus()); in acpi_pad_idle_cpus()
260 set_power_saving_task_num(num_cpus); in acpi_pad_idle_cpus()
397 int num_cpus; in acpi_pad_handle_notify() local
405 num_cpus = acpi_pad_pur(handle); in acpi_pad_handle_notify()
406 if (num_cpus < 0) { in acpi_pad_handle_notify()
410 acpi_pad_idle_cpus(num_cpus); in acpi_pad_handle_notify()
/drivers/pci/host/
Dpci-xgene-msi.c50 int num_cpus; member
173 return (hwirq % xgene_msi_ctrl.num_cpus); in hwirq_to_cpu()
212 msi->num_cpus, 0); in xgene_irq_domain_alloc()
214 bitmap_set(msi->bitmap, msi_irq, msi->num_cpus); in xgene_irq_domain_alloc()
240 bitmap_clear(msi->bitmap, hwirq, msi->num_cpus); in xgene_irq_domain_free()
391 for (i = cpu; i < NR_HW_IRQS; i += msi->num_cpus) { in xgene_msi_hwirq_alloc()
432 for (i = cpu; i < NR_HW_IRQS; i += msi->num_cpus) { in xgene_msi_hwirq_free()
494 xgene_msi->num_cpus = num_possible_cpus(); in xgene_msi_probe()
/drivers/thermal/
Dcpu_cooling.c656 unsigned int freq, num_cpus; in cpufreq_state2power() local
663 num_cpus = cpumask_weight(&cpumask); in cpufreq_state2power()
666 if (num_cpus == 0) { in cpufreq_state2power()
675 dynamic_power = cpu_freq_to_power(cpufreq_device, freq) * num_cpus; in cpufreq_state2power()
796 unsigned int freq, i, num_cpus; in __cpufreq_cooling_register() local
809 num_cpus = cpumask_weight(clip_cpus); in __cpufreq_cooling_register()
810 cpufreq_dev->time_in_idle = kcalloc(num_cpus, in __cpufreq_cooling_register()
819 kcalloc(num_cpus, sizeof(*cpufreq_dev->time_in_idle_timestamp), in __cpufreq_cooling_register()
/drivers/scsi/be2iscsi/
Dbe_main.c1012 for (i = 0; i < phba->num_cpus; i++) { in beiscsi_init_irqs()
3261 for (i = 0; i < (phba->num_cpus + eq_for_mcc); i++) { in beiscsi_create_eqs()
3296 for (i = 0; i < (phba->num_cpus + eq_for_mcc); i++) { in beiscsi_create_eqs()
3321 for (i = 0; i < phba->num_cpus; i++) { in beiscsi_create_cqs()
3358 for (i = 0; i < phba->num_cpus; i++) { in beiscsi_create_cqs()
3753 for (i = 0; i < (phba->num_cpus); i++) { in hwi_cleanup()
3766 for (i = 0; i < (phba->num_cpus + eq_for_mcc); i++) { in hwi_cleanup()
3790 [phba->num_cpus].q, false, true, 0)) in be_mcc_queues_create()
3827 int num_cpus = 0; in find_num_cpus() local
3829 num_cpus = num_online_cpus(); in find_num_cpus()
[all …]
Dbe_main.h361 unsigned int num_cpus; member
Dbe_iscsi.c1293 for (i = 0; i < phba->num_cpus; i++) { in beiscsi_flush_cq()
Dbe_mgmt.c783 if (phba->nxt_cqid == phba->num_cpus) in mgmt_open_connection()
/drivers/scsi/
Dstorvsc_drv.c1587 int num_cpus = num_online_cpus(); in storvsc_probe() local
1616 max_sub_channels = (num_cpus / storvsc_vcpus_per_sub_channel); in storvsc_probe()
/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3133 int num_cpus = num_online_cpus(); in setup_nic_devices() local
3173 if (num_iqueues > num_cpus) in setup_nic_devices()
3174 num_iqueues = num_cpus; in setup_nic_devices()
3175 if (num_oqueues > num_cpus) in setup_nic_devices()
3176 num_oqueues = num_cpus; in setup_nic_devices()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c3080 int num_cpus = netif_get_num_default_rss_queues(); in set_nqsets() local
3087 num_cpus >= nqsets / hwports)) in set_nqsets()
3089 if (nqsets > num_cpus) in set_nqsets()
3090 nqsets = num_cpus; in set_nqsets()