Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 25 of 26) sorted by relevance

12

/arch/arm64/kernel/
Dsetup.c124 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local
138 affinity = MPIDR_AFFINITY_LEVEL(mask, i); in smp_build_mpidr_hash()
144 ls = fls(affinity); in smp_build_mpidr_hash()
145 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
/arch/x86/kernel/
Dirq.c443 const struct cpumask *affinity; in fixup_irqs() local
454 affinity = irq_data_get_affinity_mask(data); in fixup_irqs()
456 cpumask_subset(affinity, cpu_online_mask)) { in fixup_irqs()
468 if (cpumask_any_and(affinity, cpu_online_mask) >= nr_cpu_ids) { in fixup_irqs()
470 affinity = cpu_online_mask; in fixup_irqs()
487 ret = chip->irq_set_affinity(data, affinity, true); in fixup_irqs()
/arch/alpha/kernel/
Dsys_dp264.c136 cpu_set_irq_affinity(unsigned int irq, cpumask_t affinity) in cpu_set_irq_affinity() argument
142 if (cpumask_test_cpu(cpu, &affinity)) in cpu_set_irq_affinity()
151 dp264_set_affinity(struct irq_data *d, const struct cpumask *affinity, in dp264_set_affinity() argument
155 cpu_set_irq_affinity(d->irq, *affinity); in dp264_set_affinity()
163 clipper_set_affinity(struct irq_data *d, const struct cpumask *affinity, in clipper_set_affinity() argument
167 cpu_set_irq_affinity(d->irq - 16, *affinity); in clipper_set_affinity()
Dsys_titan.c135 titan_cpu_set_irq_affinity(unsigned int irq, cpumask_t affinity) in titan_cpu_set_irq_affinity() argument
140 if (cpumask_test_cpu(cpu, &affinity)) in titan_cpu_set_irq_affinity()
149 titan_set_irq_affinity(struct irq_data *d, const struct cpumask *affinity, in titan_set_irq_affinity() argument
154 titan_cpu_set_irq_affinity(irq - 16, *affinity); in titan_set_irq_affinity()
/arch/arm/mach-vexpress/
Ddcscb_setup.S17 cmp r0, #0 @ check affinity level
/arch/alpha/include/asm/
Dgct.h21 gct6_handle affinity; member
/arch/mips/pmcs-msp71xx/
Dmsp_irq_per.c89 const struct cpumask *affinity, bool force) in msp_per_irq_set_affinity() argument
/arch/arm64/boot/dts/arm/
Djuno.dts166 interrupt-affinity = <&A57_0>,
176 interrupt-affinity = <&A53_0>,
Djuno-r1.dts158 interrupt-affinity = <&A57_0>,
168 interrupt-affinity = <&A53_0>,
/arch/powerpc/platforms/cell/spufs/
Dinode.c427 int affinity; in spufs_create_context() local
445 affinity = flags & (SPU_CREATE_AFFINITY_MEM | SPU_CREATE_AFFINITY_SPU); in spufs_create_context()
446 if (affinity) { in spufs_create_context()
462 if (affinity) { in spufs_create_context()
474 if (affinity) in spufs_create_context()
/arch/arm/kernel/
Dsetup.c553 u32 i, affinity; in smp_build_mpidr_hash() local
567 affinity = MPIDR_AFFINITY_LEVEL(mask, i); in smp_build_mpidr_hash()
573 ls = fls(affinity); in smp_build_mpidr_hash()
574 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
/arch/sparc/kernel/
Dleon_kernel.c108 static int irq_choose_cpu(const struct cpumask *affinity) in irq_choose_cpu() argument
112 cpumask_and(&mask, cpu_online_mask, affinity); in irq_choose_cpu()
119 #define irq_choose_cpu(affinity) boot_cpu_id argument
Dirq_64.c349 static int irq_choose_cpu(unsigned int irq, const struct cpumask *affinity) in irq_choose_cpu() argument
354 cpumask_copy(&mask, affinity); in irq_choose_cpu()
367 #define irq_choose_cpu(irq, affinity) \ argument
/arch/arm/common/
Dmcpm_head.S150 mov r0, #1 @ second (cluster) affinity level
184 mov r0, #0 @ first (CPU) affinity level
/arch/powerpc/boot/dts/fsl/
Dpq3-mpic.dtsi43 single-cpu-affinity;
/arch/blackfin/mach-common/
Dints-priority.c165 const struct cpumask *affinity) in bfin_internal_unmask_irq_affinity() argument
176 if (cpumask_test_cpu(0, affinity)) in bfin_internal_unmask_irq_affinity()
182 if (cpumask_test_cpu(1, affinity)) in bfin_internal_unmask_irq_affinity()
/arch/arm/boot/dts/
Dvexpress-v2p-ca15_a7.dts204 interrupt-affinity = <&cpu0>,
213 interrupt-affinity = <&cpu2>,
Dvexpress-v2p-ca9.dts185 interrupt-affinity = <&A9_0>, <&A9_1>, <&A9_2>, <&A9_3>;
Dtegra124.dtsi986 interrupt-affinity = <&{/cpus/cpu@0}>,
Drk3288.dtsi82 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
/arch/arm64/boot/dts/marvell/
Dberlin4ct.dtsi107 interrupt-affinity = <&cpu0>,
/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10.dtsi63 interrupt-affinity = <&cpu0>,
/arch/powerpc/boot/dts/
Dakebono.dts75 single-cpu-affinity;
/arch/arm64/boot/dts/rockchip/
Drk3368.dtsi195 interrupt-affinity = <&cpu_l0>, <&cpu_l1>, <&cpu_l2>,
/arch/mips/
DKconfig2256 bool "Dynamic FPU affinity for FP-intensive threads"

12