Home
last modified time | relevance | path

Searched refs:cpu_count (Results 1 – 8 of 8) sorted by relevance

/drivers/thermal/intel/
Dintel_hfi.c204 int i = 0, cpu_count; in update_capabilities() local
209 cpu_count = cpumask_weight(hfi_instance->cpus); in update_capabilities()
212 if (!cpu_count) in update_capabilities()
215 cpu_caps = kcalloc(cpu_count, sizeof(*cpu_caps), GFP_KERNEL); in update_capabilities()
221 if (cpu_count < HFI_MAX_THERM_NOTIFY_COUNT) in update_capabilities()
226 (i + HFI_MAX_THERM_NOTIFY_COUNT) <= cpu_count; in update_capabilities()
231 cpu_count = cpu_count - i; in update_capabilities()
235 if (cpu_count) in update_capabilities()
236 thermal_genl_cpu_capability_event(cpu_count, &cpu_caps[i]); in update_capabilities()
/drivers/scsi/
Dmyrs.c1345 if (info->cpu[0].cpu_count) { in processor_show()
1354 if (info->cpu[1].cpu_count) { in processor_show()
1367 first_processor, info->cpu[0].cpu_count, in processor_show()
1369 second_processor, info->cpu[1].cpu_count); in processor_show()
1373 first_processor, info->cpu[0].cpu_count); in processor_show()
1377 second_processor, info->cpu[1].cpu_count); in processor_show()
Dmyrs.h268 unsigned char cpu_count; member
/drivers/scsi/mpi3mr/
Dmpi3mr.h1031 int cpu_count; member
Dmpi3mr_os.c5025 mrioc->cpu_count = num_online_cpus(); in mpi3mr_probe()
5258 mrioc->cpu_count = num_online_cpus(); in mpi3mr_resume()
Dmpi3mr_fw.c804 min_t(int, mrioc->cpu_count + 1 + in mpi3mr_setup_isr()
811 mrioc->msix_count, mrioc->cpu_count); in mpi3mr_setup_isr()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.h1336 int cpu_count; member
Dmpt3sas_base.c3397 ioc->cpu_count, max_msix_vectors); in _base_enable_msix()
3400 min_t(int, ioc->cpu_count, ioc->msix_vector_count); in _base_enable_msix()
8363 ioc->cpu_count = num_online_cpus(); in mpt3sas_base_attach()