Lines Matching defs:core
121 on each core. When set to 0 core shutdown will be
161 int core = cvmx_get_core_num();
162 uint32_t core_mask = 1ull << core;
174 * Returns 1 if the running core is being unplugged, else it returns 0.
186 * Activate the current application core for receiving hotplug shutdown requests.
188 * This routine makes sure that each core belonging to the application is enabled
207 printf("core=%d : is being hotplugged \n", cvmx_get_core_num());
223 /* Enable the interrupt before we mark the core as activated */
283 * Request shutdown of the currently running core. Should be
307 /* Reset the core */
360 int core = cvmx_get_core_num();
375 printf("%s : core = %d Invoking app shutdown\n", __FUNCTION__, core);
381 int core = cvmx_get_core_num();
383 if (dbg) printf("%s : core=%d Unplug event \n", __FUNCTION__, core);
390 if (dbg) printf("%s : core=%d Calling unplug callback\n",
391 __FUNCTION__, core);
397 if (dbg) printf("%s : core = %d Invoking app shutdown\n",
398 __FUNCTION__, core);
406 if (dbg) printf("%s : core=%d Calling cores removed callback\n",
407 __FUNCTION__, core);
416 int core = cvmx_get_core_num();
417 if (dbg) printf("%s : core=%d Add cores event \n", __FUNCTION__, core);
421 if (dbg) printf("%s : core=%d Calling cores added callback\n",
422 __FUNCTION__, core);
437 #define IDLE_CORE_BLOCK_NAME "idle-core-loop"
502 * Returns 1 if the running core is being hotplugged, else it returns 0.
850 * is being currently booted or hotplugged with a new core.