Searched refs:cpu_count (Results 1 – 8 of 8) sorted by relevance
/drivers/thermal/intel/ |
D | intel_hfi.c | 204 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/ |
D | myrs.c | 1345 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()
|
D | myrs.h | 268 unsigned char cpu_count; member
|
/drivers/scsi/mpi3mr/ |
D | mpi3mr.h | 1031 int cpu_count; member
|
D | mpi3mr_os.c | 5025 mrioc->cpu_count = num_online_cpus(); in mpi3mr_probe() 5258 mrioc->cpu_count = num_online_cpus(); in mpi3mr_resume()
|
D | mpi3mr_fw.c | 804 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/ |
D | mpt3sas_base.h | 1336 int cpu_count; member
|
D | mpt3sas_base.c | 3397 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()
|