Home
last modified time | relevance | path

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

/drivers/irqchip/
Dirq-vf610-mscm-ir.c47 u16 cpu_mask; member
99 WARN_ON(irsprc & ~chip_data->cpu_mask); in vf610_mscm_ir_enable()
101 writew_relaxed(chip_data->cpu_mask, in vf610_mscm_ir_enable()
214 mscm_ir_data->cpu_mask = 0x1 << cpuid; in vf610_mscm_ir_of_init()
Dirq-hip04.c254 unsigned int cpu_mask, cpu = smp_processor_id(); in hip04_irq_cpu_init() local
261 cpu_mask = hip04_get_cpumask(intc); in hip04_irq_cpu_init()
262 hip04_cpu_map[cpu] = cpu_mask; in hip04_irq_cpu_init()
270 hip04_cpu_map[i] &= ~cpu_mask; in hip04_irq_cpu_init()
Dirq-gic-v3-its.c612 const struct cpumask *cpu_mask = cpu_online_mask; in its_set_affinity() local
620 cpu_mask = cpumask_of_node(its_dev->its->numa_node); in its_set_affinity()
621 if (!cpumask_intersects(mask_val, cpu_mask)) in its_set_affinity()
626 cpu = cpumask_any_and(mask_val, cpu_mask); in its_set_affinity()
1345 const struct cpumask *cpu_mask = cpu_online_mask; in its_irq_domain_activate() local
1349 cpu_mask = cpumask_of_node(its_dev->its->numa_node); in its_irq_domain_activate()
1352 its_dev->event_map.col_map[event] = cpumask_first(cpu_mask); in its_irq_domain_activate()
Dirq-gic.c499 unsigned int cpu_mask, cpu = smp_processor_id(); in gic_cpu_init() local
512 cpu_mask = gic_get_cpumask(gic); in gic_cpu_init()
513 gic_cpu_map[cpu] = cpu_mask; in gic_cpu_init()
521 gic_cpu_map[i] &= ~cpu_mask; in gic_cpu_init()
/drivers/staging/netlogic/
Dplatform_net.c115 ndata1.cpu_mask = nlm_current_node()->coremask; in gmac_controller2_init()
158 ndata0.cpu_mask = nlm_current_node()->coremask; in xls_gmac_init()
220 ndata0.cpu_mask = nlm_current_node()->coremask; in xlr_gmac_init()
Dplatform_net.h38 int cpu_mask; member
Dxlr_net.c504 for (i = 0; i < hweight32(priv->nd->cpu_mask); i++) in xlr_config_pde()
571 u32 cpu_mask; in xlr_config_translate_table() local
578 cpu_mask = priv->nd->cpu_mask; in xlr_config_translate_table()
584 if ((1 << i) & cpu_mask) { in xlr_config_translate_table()
/drivers/block/drbd/
Ddrbd_main.c509 static void drbd_calc_cpu_mask(cpumask_var_t *cpu_mask) in drbd_calc_cpu_mask() argument
520 for_each_cpu(cpu, resource->cpu_mask) in drbd_calc_cpu_mask()
533 cpumask_setall(*cpu_mask); in drbd_calc_cpu_mask()
536 cpumask_set_cpu(min_index, *cpu_mask); in drbd_calc_cpu_mask()
555 set_cpus_allowed_ptr(p, resource->cpu_mask); in drbd_thread_current_set_cpu()
2299 free_cpumask_var(resource->cpu_mask); in drbd_destroy_resource()
2537 if (nr_cpu_ids > 1 && res_opts->cpu_mask[0] != 0) { in set_resource_options()
2538 err = bitmap_parse(res_opts->cpu_mask, DRBD_CPU_MASK_SIZE, in set_resource_options()
2547 res_opts->cpu_mask, in set_resource_options()
2548 strlen(res_opts->cpu_mask) > 12 ? "..." : "", in set_resource_options()
[all …]
Ddrbd_int.h696 cpumask_var_t cpu_mask; member
/drivers/net/ethernet/marvell/
Dmvpp2.c3800 int cpu, cpu_mask = 0; in mvpp2_interrupts_enable() local
3803 cpu_mask |= 1 << cpu; in mvpp2_interrupts_enable()
3805 MVPP2_ISR_ENABLE_INTERRUPT(cpu_mask)); in mvpp2_interrupts_enable()
3810 int cpu, cpu_mask = 0; in mvpp2_interrupts_disable() local
3813 cpu_mask |= 1 << cpu; in mvpp2_interrupts_disable()
3815 MVPP2_ISR_DISABLE_INTERRUPT(cpu_mask)); in mvpp2_interrupts_disable()