• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/contrib/octeon-sdk/

Lines Matching refs:coremask

69 						   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.
184 * Is the current core the first in the coremask?
186 * @param pcm is the pointer to the coremask.
214 * Is the current core a member of the coremask?
216 * @param pcm is the pointer to the coremask.
225 * coremask is simply unsigned int (32 bits).
238 * Compute coremask for a specific core.
242 * @return coremask for a specific core
251 * Compute coremask for num_cores cores starting with core 0.
255 * @return coremask for num_cores cores
264 * Compute coremask for a range of cores from core low to core high.
269 * @return coremask for the range of cores
279 * Test to see if current core is a member of coremask.
281 * @param coremask the coremask to test against
283 * @return 1 if current core is a member of coremask, 0 otherwise
286 static inline int cvmx_coremask_is_member(unsigned int coremask)
288 return ((cvmx_coremask_core(cvmx_get_core_num()) & coremask) != 0);
292 * Test to see if current core is first core in coremask.
294 * @param coremask the coremask to test against
296 * @return 1 if current core is first core in the coremask, 0 otherwise
299 static inline int cvmx_coremask_first_core(unsigned int coremask)
301 return cvmx_coremask_is_member(coremask)
303 ((cvmx_coremask_numcores(cvmx_get_core_num()) & coremask) == 0));
307 * Wait (stall) until all cores in the given coremask has reached this point
310 * @param coremask the group of cores performing the barrier sync
313 extern void cvmx_coremask_barrier_sync(unsigned int coremask);