/drivers/cpuidle/ |
D | cpuidle-big_little.c | 151 struct cpumask *cpumask; in bl_idle_driver_init() local 154 cpumask = kzalloc(cpumask_size(), GFP_KERNEL); in bl_idle_driver_init() 155 if (!cpumask) in bl_idle_driver_init() 160 cpumask_set_cpu(cpu, cpumask); in bl_idle_driver_init() 162 drv->cpumask = cpumask; in bl_idle_driver_init() 226 kfree(bl_idle_big_driver.cpumask); in bl_idle_init() 228 kfree(bl_idle_little_driver.cpumask); in bl_idle_init()
|
D | dt_idle_states.c | 94 const cpumask_t *cpumask) in idle_state_valid() argument 107 for (cpu = cpumask_next(cpumask_first(cpumask), cpumask); in idle_state_valid() 108 cpu < nr_cpu_ids; cpu = cpumask_next(cpu, cpumask)) { in idle_state_valid() 153 const cpumask_t *cpumask; in dt_init_idle_driver() local 164 cpumask = drv->cpumask ? : cpu_possible_mask; in dt_init_idle_driver() 165 cpu_node = of_cpu_device_node_get(cpumask_first(cpumask)); in dt_init_idle_driver() 172 if (!idle_state_valid(state_node, i, cpumask)) { in dt_init_idle_driver()
|
D | driver.c | 50 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_unset_driver() 72 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_set_driver() 165 if (!drv->cpumask) in __cpuidle_driver_init() 166 drv->cpumask = (struct cpumask *)cpu_possible_mask; in __cpuidle_driver_init() 242 on_each_cpu_mask(drv->cpumask, cpuidle_setup_broadcast_timer, in __cpuidle_register_driver() 266 on_each_cpu_mask(drv->cpumask, cpuidle_setup_broadcast_timer, in __cpuidle_unregister_driver()
|
D | cpuidle.c | 486 for_each_cpu(cpu, drv->cpumask) { in cpuidle_unregister() 507 const struct cpumask *const coupled_cpus) in cpuidle_register() 518 for_each_cpu(cpu, drv->cpumask) { in cpuidle_register()
|
D | cpuidle-powernv.c | 173 drv->cpumask = (struct cpumask *)cpu_present_mask; in powernv_cpuidle_driver_init()
|
/drivers/irqchip/ |
D | irq-hip04.c | 142 const struct cpumask *mask_val, in hip04_irq_set_affinity() 226 u32 cpumask; in hip04_irq_dist_init() local 235 cpumask = hip04_get_cpumask(intc); in hip04_irq_dist_init() 236 cpumask |= cpumask << 16; in hip04_irq_dist_init() 238 writel_relaxed(cpumask, base + GIC_DIST_TARGET + ((i * 2) & ~3)); in hip04_irq_dist_init() 274 static void hip04_raise_softirq(const struct cpumask *mask, unsigned int irq) in hip04_raise_softirq()
|
D | irq-metag.c | 44 const struct cpumask *cpumask, bool force); 193 const struct cpumask *cpumask, bool force) in metag_internal_irq_set_affinity() argument 204 cpu = cpumask_any_and(cpumask, cpu_online_mask); in metag_internal_irq_set_affinity()
|
D | irq-gic.c | 221 static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val, in gic_set_affinity() 381 u32 cpumask; in gic_dist_init() local 390 cpumask = gic_get_cpumask(gic); in gic_dist_init() 391 cpumask |= cpumask << 8; in gic_dist_init() 392 cpumask |= cpumask << 16; in gic_dist_init() 394 writel_relaxed(cpumask, base + GIC_DIST_TARGET + i * 4 / 4); in gic_dist_init() 630 static void gic_raise_softirq(const struct cpumask *mask, unsigned int irq) in gic_raise_softirq()
|
D | irq-gic-v3.c | 444 static u16 gic_compute_target_list(int *base_cpu, const struct cpumask *mask, in gic_compute_target_list() 495 static void gic_raise_softirq(const struct cpumask *mask, unsigned int irq) in gic_raise_softirq() 526 static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val, in gic_set_affinity()
|
D | irq-metag-ext.c | 505 const struct cpumask *cpumask, bool force) in meta_intc_set_affinity() argument 518 cpu = cpumask_any_and(cpumask, cpu_online_mask); in meta_intc_set_affinity()
|
/drivers/thermal/ |
D | cpu_cooling.c | 52 struct cpumask allowed_cpus; 275 struct cpumask *mask = &cpufreq_device->allowed_cpus; in cpufreq_apply_cooling() 357 struct cpumask *mask = &cpufreq_device->allowed_cpus; in cpufreq_get_max_state() 437 const struct cpumask *clip_cpus) in __cpufreq_cooling_register() 511 cpufreq_cooling_register(const struct cpumask *clip_cpus) in cpufreq_cooling_register() 532 const struct cpumask *clip_cpus) in of_cpufreq_cooling_register()
|
D | db8500_cpufreq_cooling.c | 31 struct cpumask mask_val; in db8500_cpufreq_cooling_probe()
|
/drivers/cpufreq/ |
D | acpi-cpufreq.c | 103 static void boost_set_msrs(bool enable, const struct cpumask *cpumask) in boost_set_msrs() argument 122 rdmsr_on_cpus(cpumask, msr_addr, msrs); in boost_set_msrs() 124 for_each_cpu(cpu, cpumask) { in boost_set_msrs() 132 wrmsr_on_cpus(cpumask, msr_addr, msrs); in boost_set_msrs() 256 const struct cpumask *mask; 330 static u32 get_cur_val(const struct cpumask *mask) in get_cur_val() 393 static unsigned int check_freqs(const struct cpumask *mask, unsigned int freq, in check_freqs() 525 const struct cpumask *cpumask; in boost_notify() local 527 cpumask = get_cpu_mask(cpu); in boost_notify() 539 boost_set_msrs(acpi_cpufreq_driver.boost_enabled, cpumask); in boost_notify() [all …]
|
D | powernow-k8.h | 40 struct cpumask *available_cores;
|
/drivers/sh/intc/ |
D | chip.c | 69 const struct cpumask *cpumask, in intc_set_affinity() argument 72 if (!cpumask_intersects(cpumask, cpu_online_mask)) in intc_set_affinity() 75 cpumask_copy(data->affinity, cpumask); in intc_set_affinity()
|
/drivers/iommu/ |
D | irq_remapping.h | 30 struct cpumask; 65 int (*set_affinity)(struct irq_data *data, const struct cpumask *mask,
|
D | irq_remapping.c | 32 const struct cpumask *mask, 298 const struct cpumask *mask, bool force) in set_remapped_irq_affinity()
|
/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-cpu.c | 566 cpumask_t *cpumask; in cfs_cpt_bind() local 574 cpumask = cptab->ctb_cpumask; in cfs_cpt_bind() 577 cpumask = cptab->ctb_parts[cpt].cpt_cpumask; in cfs_cpt_bind() 581 if (any_online_cpu(*cpumask) == NR_CPUS) { in cfs_cpt_bind() 589 if (cpu_isset(i, *cpumask)) in cfs_cpt_bind() 592 rc = set_cpus_allowed_ptr(current, cpumask); in cfs_cpt_bind()
|
/drivers/clocksource/ |
D | dummy_timer.c | 39 evt->cpumask = cpumask_of(cpu); in dummy_timer_setup()
|
D | dw_apb_timer.c | 120 pr_debug("%s CPU %d mode=%d\n", __func__, first_cpu(*evt->cpumask), in apbt_set_mode() 233 dw_ced->ced.cpumask = cpumask_of(cpu); in dw_apb_clockevent_init()
|
D | i8253.c | 181 i8253_clockevent.cpumask = cpumask_of(smp_processor_id()); in clockevent_i8253_init()
|
/drivers/thermal/samsung/ |
D | exynos_thermal_common.h | 65 const struct cpumask *mask_val;
|
/drivers/staging/android/fiq_debugger/ |
D | fiq_debugger.c | 457 struct cpumask cpumask; in fiq_debugger_take_affinity() local 459 cpumask_clear(&cpumask); in fiq_debugger_take_affinity() 460 cpumask_set_cpu(get_cpu(), &cpumask); in fiq_debugger_take_affinity() 462 irq_set_affinity(state->uart_irq, &cpumask); in fiq_debugger_take_affinity()
|
/drivers/edac/ |
D | cpc925_edac.c | 647 u32 cpumask; in cpc925_cpu_init() local 651 cpumask = cpc925_cpu_mask_disabled(); in cpc925_cpu_init() 652 if (apimask & cpumask) { in cpc925_cpu_init() 655 apimask &= ~cpumask; in cpc925_cpu_init()
|
/drivers/pci/ |
D | pci-sysfs.c | 83 const struct cpumask *mask; in pci_dev_show_local_cpu() 123 const struct cpumask *cpumask; in pci_bus_show_cpuaffinity() local 125 cpumask = cpumask_of_pcibus(to_pci_bus(dev)); in pci_bus_show_cpuaffinity() 127 cpulist_scnprintf(buf, PAGE_SIZE-2, cpumask) : in pci_bus_show_cpuaffinity() 128 cpumask_scnprintf(buf, PAGE_SIZE-2, cpumask); in pci_bus_show_cpuaffinity()
|