/external/arm-trusted-firmware/plat/imx/imx8m/include/ |
D | gpc.h | 20 #define A53_CORE_WUP_SRC(core_id) (1 << ((core_id) < 2 ? 28 + (core_id) : 22 + (core_id) - 2)) argument 21 #define COREx_PGC_PCR(core_id) (0x800 + (core_id) * 0x40) argument 22 #define COREx_WFI_PDN(core_id) (1 << ((core_id) < 2 ? (core_id) * 2 : ((core_id) - 2) * 2 + 16)) argument 23 #define COREx_IRQ_WUP(core_id) ((core_id) < 2 ? (1 << ((core_id) * 2 + 8)) : (1 << ((core_id) * 2 … argument 24 #define COREx_LPM_PUP(core_id) ((core_id) < 2 ? (1 << ((core_id) * 2 + 9)) : (1 << ((core_id) * 2 … argument 26 #define SLT_COREx_PUP(core_id) (0x2 << ((core_id) * 2)) argument
|
/external/arm-trusted-firmware/plat/imx/imx8m/ |
D | gpc_common.c | 28 void imx_set_cpu_secure_entry(unsigned int core_id, uintptr_t sec_entrypoint) in imx_set_cpu_secure_entry() argument 35 mmio_write_32(IMX_SRC_BASE + SRC_GPR1_OFFSET + (core_id << 3), in imx_set_cpu_secure_entry() 37 mmio_write_32(IMX_SRC_BASE + SRC_GPR1_OFFSET + (core_id << 3) + 4, in imx_set_cpu_secure_entry() 41 void imx_set_cpu_pwr_off(unsigned int core_id) in imx_set_cpu_pwr_off() argument 47 mmio_setbits_32(IMX_GPC_BASE + LPCR_A53_AD, COREx_WFI_PDN(core_id)); in imx_set_cpu_pwr_off() 52 mmio_setbits_32(IMX_GPC_BASE + COREx_PGC_PCR(core_id), 0x1); in imx_set_cpu_pwr_off() 55 void imx_set_cpu_pwr_on(unsigned int core_id) in imx_set_cpu_pwr_on() argument 60 mmio_clrbits_32(IMX_GPC_BASE + LPCR_A53_AD, COREx_WFI_PDN(core_id)); in imx_set_cpu_pwr_on() 65 mmio_clrbits_32(IMX_SRC_BASE + SRC_A53RCR1, (1 << core_id)); in imx_set_cpu_pwr_on() 67 mmio_setbits_32(IMX_GPC_BASE + COREx_PGC_PCR(core_id), 0x1); in imx_set_cpu_pwr_on() [all …]
|
D | imx8m_psci_common.c | 41 unsigned int core_id; in imx_pwr_domain_on() local 44 core_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_pwr_domain_on() 46 imx_set_cpu_secure_entry(core_id, base_addr); in imx_pwr_domain_on() 47 imx_set_cpu_pwr_on(core_id); in imx_pwr_domain_on() 61 unsigned int core_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_pwr_domain_off() local 64 imx_set_cpu_pwr_off(core_id); in imx_pwr_domain_off() 106 unsigned int core_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_domain_suspend() local 110 imx_set_cpu_secure_entry(core_id, base_addr); in imx_domain_suspend() 111 imx_set_cpu_lpm(core_id, true); in imx_domain_suspend() 119 imx_set_cluster_powerdown(core_id, CLUSTER_PWR_STATE(target_state)); in imx_domain_suspend() [all …]
|
/external/arm-trusted-firmware/plat/imx/imx8m/imx8mq/ |
D | gpc.c | 20 void imx_set_cpu_pwr_off(unsigned int core_id) in imx_set_cpu_pwr_off() argument 25 mmio_setbits_32(IMX_GPC_BASE + LPCR_A53_AD, COREx_WFI_PDN(core_id) | in imx_set_cpu_pwr_off() 26 (1 << (core_id + 20))); in imx_set_cpu_pwr_off() 31 mmio_setbits_32(IMX_GPC_BASE + COREx_PGC_PCR(core_id), 0x1); in imx_set_cpu_pwr_off() 35 void imx_set_cpu_lpm(unsigned int core_id, bool pdn) in imx_set_cpu_lpm() argument 41 mmio_setbits_32(IMX_GPC_BASE + LPCR_A53_AD, COREx_WFI_PDN(core_id) | in imx_set_cpu_lpm() 42 (1 << (core_id + 20)) | COREx_IRQ_WUP(core_id)); in imx_set_cpu_lpm() 44 mmio_setbits_32(IMX_GPC_BASE + COREx_PGC_PCR(core_id), 0x1); in imx_set_cpu_lpm() 47 mmio_clrbits_32(IMX_GPC_BASE + LPCR_A53_AD, COREx_WFI_PDN(core_id) | in imx_set_cpu_lpm() 48 COREx_IRQ_WUP(core_id)); in imx_set_cpu_lpm() [all …]
|
D | imx8mq_psci.c | 46 unsigned int core_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_domain_suspend() local 51 imx_set_cpu_secure_entry(core_id, base_addr); in imx_domain_suspend() 52 imx_set_cpu_lpm(core_id, true); in imx_domain_suspend() 60 imx_set_cluster_powerdown(core_id, true); in imx_domain_suspend() 65 imx_set_sys_lpm(core_id, true); in imx_domain_suspend() 72 unsigned int core_id = MPIDR_AFFLVL0_VAL(mpidr); in imx_domain_suspend_finish() local 76 imx_set_sys_lpm(core_id, false); in imx_domain_suspend_finish() 82 imx_set_cluster_powerdown(core_id, false); in imx_domain_suspend_finish() 89 imx_set_cpu_lpm(core_id, false); in imx_domain_suspend_finish()
|
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/ |
D | pod_tpu_driver.cc | 165 int64_t core_id) in PodBufferHandle() argument 171 core_id_(core_id) {} in PodBufferHandle() 178 int64_t core_id() const { return core_id_; } in core_id() function in tpu_driver::__anon6b014a980111::PodBufferHandle 211 int64_t core_id) in PodLoadedProgramHandle() argument 214 core_id_(core_id), in PodLoadedProgramHandle() 220 int64_t core_id() const { return core_id_; } in core_id() function in tpu_driver::__anon6b014a980111::PodLoadedProgramHandle 352 int32_t core_id, MemoryRegion region, int64_t num_bytes, in Allocate() argument 359 [this, core_id, region, num_bytes, in Allocate() 363 core_to_driver_[core_id]->Allocate(core_to_driver_core_[core_id], in Allocate() 370 absl::nullopt, core_id); in Allocate() [all …]
|
D | grpc_tpu_driver.cc | 176 std::unique_ptr<BufferHandle> Allocate(int32_t core_id, MemoryRegion region, 179 std::unique_ptr<BufferHandle> Allocate(int32_t core_id, MemoryRegion region, 183 int32_t core_id, MemoryRegion region, 202 int32_t core_id, const CompiledProgramHandle* handle, 324 int32_t core_id = core_info.id(); in GrpcTpuDriver() local 326 streams_[core_id] = AllocateStream(core_id); in GrpcTpuDriver() 348 int32_t core_id, MemoryRegion region, int64_t num_bytes, in Allocate() argument 350 return streams_[core_id]->Allocate(core_id, region, num_bytes, wait_for); in Allocate() 353 int32_t core_id, MemoryRegion region, const xla::ShapeProto& shape, in Allocate() argument 355 return streams_[core_id]->Allocate(core_id, region, shape, wait_for); in Allocate() [all …]
|
D | recording_tpu_driver.cc | 158 int32_t core_id, MemoryRegion region, int64_t num_bytes, in Allocate() argument 164 driver_->Allocate(core_id, region, num_bytes, unwrapped_wait_for); in Allocate() 171 r.mutable_alloc()->set_core_id(core_id); in Allocate() 182 int32_t core_id, MemoryRegion region, const xla::ShapeProto& shape, in Allocate() argument 187 auto handle = driver_->Allocate(core_id, region, shape, unwrapped_wait_for); in Allocate() 194 r.mutable_alloc()->set_core_id(core_id); in Allocate() 205 int32_t core_id, MemoryRegion region, in AllocateTuple() argument 221 auto handle = driver_->AllocateTuple(core_id, region, unwrapped_children, in AllocateTuple() 229 r.mutable_alloc_tuple()->set_core_id(core_id); in AllocateTuple() 362 int32_t core_id, const CompiledProgramHandle* handle, in LoadProgram() argument [all …]
|
D | tpu_driver.h | 165 int32_t core_id, MemoryRegion region, int64_t num_bytes, 168 int32_t core_id, MemoryRegion region, const xla::ShapeProto& shape, 181 int32_t core_id, MemoryRegion region, 221 int32_t core_id, const CompiledProgramHandle* handle,
|
D | direct_tpu_driver.cc | 276 int32_t core_id, MemoryRegion region, int64_t num_bytes, in Allocate() argument 281 driver_fn_.TpuDriver_Allocate(driver_, core_id, region, num_bytes, in Allocate() 288 int32_t core_id, MemoryRegion region, const xla::ShapeProto& shape, in Allocate() argument 295 driver_fn_.TpuDriver_AllocateShape(driver_, core_id, region, shape_, in Allocate() 304 int32_t core_id, MemoryRegion region, in AllocateTuple() argument 317 driver_, core_id, region, children.size(), childbuf, in AllocateTuple() 401 int32_t core_id, const CompiledProgramHandle* handle, in LoadProgram() argument 408 driver_, core_id, in LoadProgram()
|
D | tpu_service.proto | 32 required int32 core_id = 1; field 41 required int32 core_id = 1; field 82 required int32 core_id = 1; field
|
/external/libavc/common/ |
D | ithread.c | 175 WORD32 ithread_set_affinity(WORD32 core_id) in ithread_set_affinity() argument 182 if (core_id >= num_cores) in ithread_set_affinity() 186 CPU_SET(core_id, &cpuset); in ithread_set_affinity() 192 UNUSED(core_id); in ithread_set_affinity() 207 UNUSED(core_id); in ithread_set_affinity()
|
/external/libmpeg2/common/ |
D | ithread.c | 157 WORD32 ithread_set_affinity(WORD32 core_id) in ithread_set_affinity() argument 164 if (core_id >= num_cores) in ithread_set_affinity() 168 CPU_SET(core_id, &cpuset); in ithread_set_affinity() 188 ((void)(core_id)); in ithread_set_affinity()
|
/external/libhevc/common/ |
D | ithread.c | 149 WORD32 ithread_set_affinity(WORD32 core_id) in ithread_set_affinity() argument 157 if(core_id >= num_cores) in ithread_set_affinity() 161 CPU_SET(core_id, &cpuset); in ithread_set_affinity() 182 return core_id; in ithread_set_affinity()
|
/external/arm-trusted-firmware/services/std_svc/spmd/ |
D | spmd_main.c | 159 unsigned int core_id; in spmd_init() local 165 for (core_id = 0U; core_id < PLATFORM_CORE_COUNT; core_id++) { in spmd_init() 166 if (core_id != linear_id) { in spmd_init() 167 spm_core_context[core_id].state = SPMC_STATE_OFF; in spmd_init() 168 spm_core_context[core_id].secondary_ep.entry_point = 0UL; in spmd_init()
|
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | step_intersection_test.cc | 51 for (uint32 core_id = 0; core_id < kNumCoresPerHost; core_id++) { in CreateOneTestStep() local 52 (*result.mutable_step_info_per_core())[core_id] = info; in CreateOneTestStep()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/msm_cam/msm_cam_tasklet_debug_dump/ |
D | format | 10 field:unsigned int core_id; offset:12; size:4; signed:0; 18 pi_po_st 0x%x, time %ld:%ld", REC->vfe_id, REC->core_id, REC->irq_status0, REC->irq_status1, REC->p…
|
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/ |
D | libtpu.h | 136 struct TpuDriver* driver, int32_t core_id, 157 struct TpuDriver* driver, int32_t core_id, int32_t memory_region, 162 struct TpuDriver* driver, int32_t core_id, int32_t memory_region, 166 struct TpuDriver* driver, int32_t core_id, int32_t memory_region,
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/msm_cam/msm_cam_ping_pong_debug_dump/ |
D | format | 19 field:unsigned int core_id; offset:56; size:4; signed:0; 23 …EC->othr_irq_status1, REC->othr_ping_pong_status, REC->othr_tv_sec, REC->othr_tv_usec, REC->core_id
|
/external/cpuinfo/src/linux/ |
D | processors.c | 183 uint32_t core_id; in cpuinfo_linux_get_processor_core_id() local 184 if (cpuinfo_linux_parse_small_file(core_id_filename, CORE_ID_FILESIZE, uint32_parser, &core_id)) { in cpuinfo_linux_get_processor_core_id() 186 core_id, processor, core_id_filename); in cpuinfo_linux_get_processor_core_id() 187 *core_id_ptr = core_id; in cpuinfo_linux_get_processor_core_id()
|
/external/cpuinfo/src/x86/linux/ |
D | init.c | 80 const uint32_t core_id = apic_id & core_apic_mask; in cpuinfo_x86_count_objects() local 81 if (core_id != last_core_id) { in cpuinfo_x86_count_objects() 82 last_core_id = core_id; in cpuinfo_x86_count_objects() 351 uint32_t cluster_id = 0, core_id = 0, smt_id = 0; in cpuinfo_x86_linux_init() local 365 core_id++; in cpuinfo_x86_linux_init() 378 core_id = 0; in cpuinfo_x86_linux_init() 395 .core_id = core_id, in cpuinfo_x86_linux_init()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | tpu_reorder_replicate_and_partitioned_inputs.cc | 85 unsigned core_id = pi_operand.getOperandNumber(); in ReorderReplicateAndPartitionedInputs() local 86 operands_per_replica_per_core[core_id].push_back(pi_operand.get()); in ReorderReplicateAndPartitionedInputs()
|
/external/cpuinfo/src/arm/mach/ |
D | init.c | 374 .core_id = i % cores_per_package, in cpuinfo_arm_mach_init() 385 const uint32_t core_id = i / threads_per_core; in cpuinfo_arm_mach_init() local 389 processors[i].core = &cores[core_id]; in cpuinfo_arm_mach_init() 436 const uint32_t core_id = i / threads_per_core; in cpuinfo_arm_mach_init() local 437 processors[i].cluster = cores[core_id].cluster; in cpuinfo_arm_mach_init()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | xla_sharding_util.cc | 364 bool IsAssignedToLogicalDevice(const int core_id, in IsAssignedToLogicalDevice() argument 367 sharding.tile_assignment_devices(0) == core_id; in IsAssignedToLogicalDevice() 375 llvm::ArrayRef<xla::OpSharding> output_sharding_config, const int core_id, in MapClusterOutputIndexWithRegionOutputIndex() argument 382 IsAssignedToLogicalDevice(core_id, sharding)) in MapClusterOutputIndexWithRegionOutputIndex() 501 const int core_id, llvm::ArrayRef<xla::OpSharding> output_sharding_config, in GetOutputTypesForLogicalDeviceComputation() argument 528 IsAssignedToLogicalDevice(core_id, output_sharding)) { in GetOutputTypesForLogicalDeviceComputation()
|
/external/cpuinfo/src/x86/windows/ |
D | init.c | 259 const uint32_t core_id = cores_count++; in cpuinfo_x86_windows_init() local 262 …const uint32_t core_apic_id = (core_id & core_bits_mask) << x86_processor.topology.core_bits_offse… in cpuinfo_x86_windows_init() 276 package_core_start = core_id; in cpuinfo_x86_windows_init() 280 const uint32_t package_core_id = core_id - package_core_start; in cpuinfo_x86_windows_init() 291 processors[processor_id].core = (const struct cpuinfo_core*) NULL + core_id; in cpuinfo_x86_windows_init() 358 core->core_id = core_bits_mask & in cpuinfo_x86_windows_init()
|