Searched refs:mpidr (Results 1 – 8 of 8) sorted by relevance
/drivers/bus/ |
D | arm-cci.c | 117 u64 mpidr; member 132 static inline void init_cpu_port(struct cpu_port *port, u32 index, u64 mpidr) in init_cpu_port() argument 135 port->mpidr = mpidr; in init_cpu_port() 143 static inline bool cpu_port_match(struct cpu_port *port, u64 mpidr) in cpu_port_match() argument 145 return port->mpidr == (mpidr & MPIDR_HWID_BITMASK); in cpu_port_match() 265 int notrace cci_disable_port_by_cpu(u64 mpidr) in cci_disable_port_by_cpu() argument 271 if (is_valid && cpu_port_match(&cpu_port[cpu], mpidr)) { in cci_disable_port_by_cpu() 366 [offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)), in cci_enable_port_for_self() 368 [offsetof_cpu_port_mpidr_lsb] "i" (offsetof(struct cpu_port, mpidr)+4), in cci_enable_port_for_self()
|
/drivers/irqchip/ |
D | irq-gic-v3.c | 96 #define MPIDR_RS(mpidr) (((mpidr) & 0xF0UL) >> 4) argument 572 static u64 gic_mpidr_to_affinity(unsigned long mpidr) in gic_mpidr_to_affinity() argument 576 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_mpidr_to_affinity() 577 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_mpidr_to_affinity() 578 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_mpidr_to_affinity() 579 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_mpidr_to_affinity() 806 unsigned long mpidr = cpu_logical_map(smp_processor_id()); in __gic_populate_rdist() local 814 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist() 815 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist() 816 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist() [all …]
|
D | irq-gic.c | 1115 u32 mpidr = cpu_logical_map(cpu); in gic_init_bases() local 1116 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in gic_init_bases()
|
/drivers/cpuidle/ |
D | cpuidle-big_little.c | 103 unsigned int mpidr = read_cpuid_mpidr(); in bl_powerdown_finisher() local 104 unsigned int cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in bl_powerdown_finisher() 105 unsigned int cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in bl_powerdown_finisher()
|
/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 347 u64 mpidr = read_cpuid_mpidr(); in hisi_read_sccl_and_ccl_id() local 349 if (mpidr & MPIDR_MT_BITMASK) { in hisi_read_sccl_and_ccl_id() 350 int aff2 = MPIDR_AFFINITY_LEVEL(mpidr, 2); in hisi_read_sccl_and_ccl_id() 358 *sccl_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in hisi_read_sccl_and_ccl_id() 360 *ccl_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hisi_read_sccl_and_ccl_id()
|
/drivers/perf/ |
D | qcom_l2_pmu.c | 782 u64 mpidr; in l2_cache_associate_cpu_with_cluster() local 791 mpidr = read_cpuid_mpidr(); in l2_cache_associate_cpu_with_cluster() 792 if (mpidr & MPIDR_MT_BITMASK) in l2_cache_associate_cpu_with_cluster() 793 cpu_cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in l2_cache_associate_cpu_with_cluster() 795 cpu_cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in l2_cache_associate_cpu_with_cluster()
|
/drivers/acpi/ |
D | processor_core.c | 91 int device_declaration, u32 acpi_id, phys_cpuid_t *mpidr) in map_gicc_mpidr() argument 105 *mpidr = gicc->arm_mpidr; in map_gicc_mpidr()
|
/drivers/firmware/efi/ |
D | cper-arm.c | 260 pfx, proc->mpidr); in cper_print_proc_arm()
|