Searched refs:coremask (Results 1 - 11 of 11) sorted by relevance

/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-coremask.c61 #include "cvmx-coremask.h"
67 * This structure defines the private state maintained by coremask module.
76 unsigned int coremask; /**< coremask specified for barrier */ member in struct:__anon8453::__anon8454
91 * Wait (stall) until all cores in the given coremask has reached this point
94 * @param coremask the group of cores performing the barrier sync
97 void cvmx_coremask_barrier_sync(unsigned int coremask) argument
102 assert(coremask != 0);
108 if (state.s[i].coremask == 0) {
109 /* end of existing coremask lis
[all...]
H A Dcvmx-app-hotplug.c101 printf("cvmx_app_hotplug_register(): coremask 0x%x valid %d\n",
102 cvmx_app_hotplug_info_ptr->coremask, cvmx_app_hotplug_info_ptr->valid);
150 printf("cvmx_app_hotplug_register(): coremask 0x%x valid %d\n",
151 app_info->coremask, app_info->valid);
165 cvmx_app_hotplug_info_ptr->coremask = cvmx_app_hotplug_info_ptr->coremask & ~core_mask ;
228 printf("cvmx_app_hotplug_activate(): coremask 0x%x valid %d sizeof %d\n",
229 cvmx_app_hotplug_info_ptr->coremask, cvmx_app_hotplug_info_ptr->valid,
242 * @param coremask Coremask the application is running on.
246 int cvmx_app_hotplug_shutdown_complete(uint32_t coremask) argument
575 cvmx_app_hotplug_get_info(uint32_t coremask) argument
610 cvmx_app_hotplug_get_index(uint32_t coremask) argument
706 cvmx_app_hotplug_shutdown_request(uint32_t coremask, int wait) argument
778 cvmx_app_hotplug_unplug_cores(int index, uint32_t coremask, int wait) argument
[all...]
H A Dcvmx-coremask.h69 coremask bits */
79 * @param fec_pcm points to the coremask.
112 * Is ``core'' set in the coremask?
114 * @param pcm is the pointer to the coremask.
130 * Set ``core'' in the coremask.
132 * @param pcm is the pointer to the coremask.
149 * Clear ``core'' from the coremask.
151 * @param pcm is the pointer to the coremask.
168 * Clear the coremask.
170 * @param pcm is the pointer to the coremask
286 cvmx_coremask_is_member(unsigned int coremask) argument
299 cvmx_coremask_first_core(unsigned int coremask) argument
[all...]
H A Dcvmx-power-throttle.h82 * for the cores identified in coremask.
85 * @param coremask bit mask where each bit identifies a core.
88 extern int cvmx_power_throttle(uint8_t percentage, uint64_t coremask);
92 * bitmap-based coremask as a parameter.
H A Dcvmx-app-hotplug.h61 #include "cvmx-coremask.h"
100 uint32_t coremask; member in struct:cvmx_app_hotplug_info
133 int cvmx_app_hotplug_unplug_cores(int index, uint32_t coremask, int wait);
135 int cvmx_app_hotplug_get_index(uint32_t coremask);
H A Dcvmx-power-throttle.c52 #include "cvmx-coremask.h"
235 int cvmx_power_throttle(uint8_t percentage, uint64_t coremask) argument
246 if ((((uint64_t) 1) << ppid) & coremask)
H A Dcvmx-app-init.c58 #include "cvmx-coremask.h"
266 unsigned int coremask = cvmx_sysinfo_get()->core_mask; local
268 cvmx_coremask_barrier_sync(coremask);
269 if (cvmx_coremask_first_core(coremask))
302 //printf("coremask=%08x flags=%08x \n", app_desc_ptr->core_mask, app_desc_ptr->flags);
H A Dcvmx-l2c.h492 * @param coremask The group of cores to assign a unique virtual id.
495 int cvmx_l2c_vrt_assign_virtid(int virtid, uint32_t coremask);
501 * @param coremask the group of cores whose virtual id is removed.
H A Dcvmx-debug.c66 #include "cvmx-coremask.h"
301 unsigned int coremask = cvmx_debug_core_mask(); local
310 cvmx_coremask_barrier_sync(coremask);
325 if ((1u<<core1) & coremask)
340 state.known_cores |= coremask;
341 state.core_finished &= ~coremask;
352 cvmx_coremask_barrier_sync(coremask);
354 if (cvmx_coremask_first_core(coremask))
387 if (cvmx_coremask_first_core(coremask))
H A Dcvmx-l2c.c1364 * @param coremask The group of cores to assign a unique virtual id.
1367 int cvmx_l2c_vrt_assign_virtid(int virtid, uint32_t coremask) argument
1385 if ((coremask >> core) & 1) {
1412 /* Invalid coremask passed. */
1414 cvmx_dprintf("WARNING: cvmx_l2c_vrt_assign_virt_id: Invalid coremask(0x%x) passed\n",
1415 (unsigned int)coremask);
/freebsd-11-stable/sys/mips/nlm/
H A Dxlp_machdep.c615 uint32_t coremask, val; local
624 coremask = 1u << core;
628 val &= ~coremask;
633 val &= ~coremask & 0xff;
642 } while ((val & coremask) != 0);

Completed in 184 milliseconds