Home
last modified time | relevance | path

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

/drivers/bus/
Darm-cci.c117 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/
Dirq-gic-v3.c123 #define MPIDR_RS(mpidr) (((mpidr) & 0xF0UL) >> 4) argument
620 static u64 gic_mpidr_to_affinity(unsigned long mpidr) in gic_mpidr_to_affinity() argument
624 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_mpidr_to_affinity()
625 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_mpidr_to_affinity()
626 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_mpidr_to_affinity()
627 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_mpidr_to_affinity()
901 unsigned long mpidr = cpu_logical_map(smp_processor_id()); in __gic_populate_rdist() local
909 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist()
910 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist()
911 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist()
[all …]
Dirq-gic.c1177 u32 mpidr = cpu_logical_map(cpu); in gic_init_bases() local
1178 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in gic_init_bases()
Dirq-gic-v3-its.c110 u32 mpidr; member
2497 val |= FIELD_PREP(GICR_TYPER_AFFINITY, its->mpidr); in compute_its_aff()
5057 its->mpidr = readl_relaxed(its_base + GITS_MPIDR); in its_probe_one()
5060 &res->start, its->mpidr, svpet); in its_probe_one()
/drivers/cpuidle/
Dcpuidle-big_little.c103 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/
Dhisi_uncore_pmu.c430 u64 mpidr = read_cpuid_mpidr(); in hisi_read_sccl_and_ccl_id() local
431 int aff3 = MPIDR_AFFINITY_LEVEL(mpidr, 3); in hisi_read_sccl_and_ccl_id()
432 int aff2 = MPIDR_AFFINITY_LEVEL(mpidr, 2); in hisi_read_sccl_and_ccl_id()
433 int aff1 = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hisi_read_sccl_and_ccl_id()
434 bool mt = mpidr & MPIDR_MT_BITMASK; in hisi_read_sccl_and_ccl_id()
/drivers/perf/
Dqcom_l2_pmu.c737 u64 mpidr; in l2_cache_associate_cpu_with_cluster() local
746 mpidr = read_cpuid_mpidr(); in l2_cache_associate_cpu_with_cluster()
747 if (mpidr & MPIDR_MT_BITMASK) in l2_cache_associate_cpu_with_cluster()
748 cpu_cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in l2_cache_associate_cpu_with_cluster()
750 cpu_cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in l2_cache_associate_cpu_with_cluster()
/drivers/acpi/
Dprocessor_core.c88 int device_declaration, u32 acpi_id, phys_cpuid_t *mpidr) in map_gicc_mpidr() argument
102 *mpidr = gicc->arm_mpidr; in map_gicc_mpidr()
/drivers/cpufreq/
Dtegra194-cpufreq.c59 u64 mpidr = read_cpuid_mpidr() & MPIDR_HWID_BITMASK; in get_cpu_cluster() local
61 *((uint32_t *)cluster) = MPIDR_AFFINITY_LEVEL(mpidr, 1); in get_cpu_cluster()
/drivers/firmware/efi/
Dcper-arm.c260 pfx, proc->mpidr); in cper_print_proc_arm()