Lines Matching defs:core
44 int core, proc_id, device_id, ret;
46 core = plat_core_pos_by_mpidr(mpidr);
47 if (core < 0) {
48 ERROR("Could not get target core id: %d\n", core);
52 proc_id = PLAT_PROC_START_ID + core;
53 device_id = PLAT_PROC_DEVICE_START_ID + core;
63 ERROR("Request to set core boot address failed: %d\n", ret);
67 /* sanity check these are off before starting a core */
79 ERROR("Request to start core failed: %d\n", ret);
88 int core, cluster, proc_id, device_id, cluster_id, ret;
90 /* At very least the local core should be powering down */
96 core = plat_my_core_pos();
98 proc_id = PLAT_PROC_START_ID + core;
99 device_id = PLAT_PROC_DEVICE_START_ID + core;
103 * If we are the last core in the cluster then we take a reference to
129 /* Now queue up the core shutdown request */
132 ERROR("Sending core shutdown message failed (%d)\n", ret);
239 unsigned int core, proc_id;
241 core = plat_my_core_pos();
242 proc_id = PLAT_PROC_START_ID + core;