Searched refs:cluster (Results 1 - 7 of 7) sorted by relevance

/fuchsia/zircon/kernel/arch/arm64/
H A Dmp.cpp21 // map of cluster/cpu to cpu_id
24 // cpu id to cluster and id within cluster map
40 for (uint cluster = 0; cluster < cluster_count; cluster++) {
44 // given cluster:cpu, translate to global cpu id
45 arm64_cpu_map[cluster][cpu] = cpu_id;
47 // given global gpu_id, translate to cluster and cpu number within cluster
64 uint cluster = (mpidr & MPIDR_AFF1_MASK) >> MPIDR_AFF1_SHIFT; local
70 arch_mpid_to_cpu_num(uint cluster, uint cpu) argument
[all...]
H A Darch.cpp101 zx_status_t arm64_create_secondary_stack(uint cluster, uint cpu) { argument
103 cpu_num_t cpu_num = arch_mpid_to_cpu_num(cluster, cpu);
129 uint64_t mpid = ARM64_MPID(cluster, cpu);
142 zx_status_t arm64_free_secondary_stack(uint cluster, uint cpu) { argument
143 cpu_num_t cpu_num = arch_mpid_to_cpu_num(cluster, cpu);
/fuchsia/zircon/kernel/dev/psci/include/dev/
H A Dpsci.h66 static inline uint32_t psci_cpu_on(uint64_t cluster, uint64_t cpuid, paddr_t entry) { argument
68 return (uint32_t)do_psci_call(PSCI64_CPU_ON, ARM64_MPID(cluster, cpuid), entry, 0);
71 static inline uint32_t psci_get_affinity_info(uint64_t cluster, uint64_t cpuid) { argument
73 return (uint32_t)do_psci_call(PSCI64_AFFINITY_INFO, ARM64_MPID(cluster, cpuid), 0, 0);
/fuchsia/zircon/kernel/arch/arm64/include/arch/arm64/
H A Dmp.h27 // construct a ARM MPID from cluster (AFF1) and cpu number (AFF0)
28 #define ARM64_MPID(cluster, cpu) (((cluster << MPIDR_AFF1_SHIFT) & MPIDR_AFF1_MASK) | \
88 // translate a cpu number back to the cluster ID (AFF1)
95 // translate a cpu number back to the MP cpu number within a cluster (AFF0)
102 cpu_num_t arch_mpid_to_cpu_num(uint cluster, uint cpu);
/fuchsia/zircon/kernel/arch/arm64/include/arch/
H A Darm64.h132 zx_status_t arm64_create_secondary_stack(uint cluster, uint cpu);
137 zx_status_t arm64_free_secondary_stack(uint cluster, uint cpu);
/fuchsia/zircon/kernel/platform/generic-arm/
H A Dplatform.cpp145 static zx_status_t platform_start_cpu(uint cluster, uint cpu) { argument
149 uint32_t ret = psci_cpu_on(cluster, cpu, kernel_entry_paddr);
150 dprintf(INFO, "Trying to start cpu %u:%u returned: %d\n", cluster, cpu, (int)ret);
158 for (uint cluster = 0; cluster < cpu_cluster_count; cluster++) {
159 for (uint cpu = 0; cpu < cpu_cluster_cpus[cluster]; cpu++) {
160 if (cluster != 0 || cpu != 0) {
162 zx_status_t status = arm64_create_secondary_stack(cluster, cpu);
166 status = platform_start_cpu(cluster, cp
[all...]
/fuchsia/zircon/kernel/dev/interrupt/arm_gic/v3/
H A Darm_gicv3.cpp212 uint cluster = 0; local
216 while (arch_cpu_num_to_cluster_id(cpu) == cluster) {
225 // 16 cpus within a single cluster
229 ((cluster & 0xff) << 16) |
233 cluster += 1;

Completed in 92 milliseconds