Home
last modified time | relevance | path

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

123456

/arch/arm64/kernel/
Dsetup.c113 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local
127 affinity = MPIDR_AFFINITY_LEVEL(mask, i); in smp_build_mpidr_hash()
133 ls = fls(affinity); in smp_build_mpidr_hash()
134 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
/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.S14 cmp r0, #0 @ check affinity level
/arch/arm64/boot/dts/broadcom/bcmbca/
Dbcm4906.dtsi24 interrupt-affinity = <&cpu0>, <&cpu1>;
/arch/alpha/include/asm/
Dgct.h22 gct6_handle affinity; member
/arch/arm64/boot/dts/realtek/
Drtd1293.dtsi50 interrupt-affinity = <&cpu0>, <&cpu1>;
Drtd1395.dtsi64 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
Drtd1296.dtsi64 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
Drtd1295.dtsi64 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
/arch/arm/boot/dts/
Dvf500.dtsi50 interrupt-affinity = <&a5_cpu>;
Dstm32mp153.dtsi22 interrupt-affinity = <&cpu0>, <&cpu1>;
Dexynos5420-cpus.dtsi156 interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
161 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
Dexynos5422-cpus.dtsi163 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
168 interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
/arch/x86/hyperv/
Dirqdomain.c195 cpumask_t *affinity; in hv_irq_compose_msi_msg() local
207 affinity = irq_data_get_effective_affinity_mask(data); in hv_irq_compose_msi_msg()
208 cpu = cpumask_first_and(affinity, cpu_online_mask); in hv_irq_compose_msi_msg()
/arch/powerpc/platforms/cell/spufs/
Dinode.c405 int affinity; in spufs_create_context() local
423 affinity = flags & (SPU_CREATE_AFFINITY_MEM | SPU_CREATE_AFFINITY_SPU); in spufs_create_context()
424 if (affinity) { in spufs_create_context()
440 if (affinity) { in spufs_create_context()
452 if (affinity) in spufs_create_context()
/arch/sparc/kernel/
Dleon_kernel.c109 static int irq_choose_cpu(const struct cpumask *affinity) in irq_choose_cpu() argument
113 cpumask_and(&mask, cpu_online_mask, affinity); in irq_choose_cpu()
120 #define irq_choose_cpu(affinity) boot_cpu_id argument
/arch/s390/pci/
Dpci_irq.c312 msi->affinity : NULL); in arch_setup_msi_irqs()
322 if (msi->affinity) in arch_setup_msi_irqs()
323 cpu = cpumask_first(&msi->affinity->mask); in arch_setup_msi_irqs()
/arch/arm/kernel/
Dsetup.c619 u32 i, affinity; in smp_build_mpidr_hash() local
633 affinity = MPIDR_AFFINITY_LEVEL(mask, i); in smp_build_mpidr_hash()
639 ls = fls(affinity); in smp_build_mpidr_hash()
640 fs[i] = affinity ? ffs(affinity) - 1 : 0; in smp_build_mpidr_hash()
/arch/arm64/boot/dts/arm/
Djuno.dts213 interrupt-affinity = <&A57_0>,
223 interrupt-affinity = <&A53_0>,
Djuno-r1.dts208 interrupt-affinity = <&A57_0>,
218 interrupt-affinity = <&A53_0>,
Djuno-r2.dts214 interrupt-affinity = <&A72_0>,
224 interrupt-affinity = <&A53_0>,
/arch/arm/common/
Dmcpm_head.S146 mov r0, #1 @ second (cluster) affinity level
180 mov r0, #0 @ first (CPU) affinity level
/arch/arm64/kvm/vgic/
Dvgic-mmio-v3.c1031 unsigned long affinity; in match_mpidr() local
1038 affinity = kvm_vcpu_get_mpidr_aff(vcpu); in match_mpidr()
1039 level0 = MPIDR_AFFINITY_LEVEL(affinity, 0); in match_mpidr()
1040 affinity &= ~MPIDR_LEVEL_MASK; in match_mpidr()
1043 if (sgi_aff != affinity) in match_mpidr()
/arch/arm64/boot/dts/mediatek/
Dmt6779.dtsi131 affinity = <&cpu0 &cpu1 \
135 affinity = <&cpu6 &cpu7>;

123456