Lines Matching +full:supported +full:- +full:frequencies +full:- +full:hz

79  * Per-CPU data.
88 processorid_t cpu_seqid; /* sequential CPU id (0..ncpus-1) */
103 * - cpu_lock held
104 * - preemption disabled via kpreempt_disable
105 * - PIL >= DISP_LEVEL
106 * - acting thread is an interrupt thread
107 * - all other CPUs are paused
133 char cpu_runrun; /* scheduling flag - set to preempt */
159 cpu_stats_t cpu_stats; /* per-CPU statistics */
182 struct nvlist *cpu_props; /* pool-related properties */
196 hrtime_t cpu_waitrq; /* cpu run-queue wait time */
211 uint64_t cpu_curr_clock; /* current clock freq in Hz */
212 char *cpu_supp_freqs; /* supported freqs in Hz */
221 int cpu_intrload; /* interrupt load factor (0-99%) */
223 uint_t cpu_rotor; /* for cheap pseudo-random numbers */
228 * cpu_generation is updated whenever CPU goes on-line or off-line.
233 volatile uint_t cpu_generation; /* tracking on/off-line */
250 * The cpu_core structure consists of per-CPU state available in any context.
252 * NCPU-sized array of cpu_core structures must be locked in the TLB -- it
258 #define CPUC_PADSIZE CPU_CACHE_COHERENCE_SIZE - CPUC_SIZE
273 * CPU_ON_INTR() macro. Returns non-zero if currently on interrupt stack.
278 #define CPU_ON_INTR(cpup) ((cpup)->cpu_intr_actv >> (LOCK_LEVEL + 1))
283 * We must be conservative--it is ok to give a false yes, but a false no
285 * ok--the caller is trying to ensure that an interrupt routine has been
292 ((cpup)->cpu_intr_actv & (1 << (level))) : (CPU_ON_INTR(cpup)))
300 #define CPU_PSEUDO_RANDOM() (CPU->cpu_rotor++)
313 * Offlined-CPUs have three stages of being offline:
342 #define CPU_READY 0x002 /* CPU ready for cross-calls */
353 #define CPU_ACTIVE(cpu) (((cpu)->cpu_flags & CPU_OFFLINE) == 0)
399 * than the number of bits in a single word (32 in a 32-bit kernel,
400 * 64 in a 64-bit kernel), and one for platforms that require bitmaps
405 #define CPUSET_NOTINSET ((uint_t)-1)
423 * They are now acceptable to use in non-_MACHDEP code.
483 * if the add or del was successful, or "-1" if not successful.
530 #define CPU (curthread->t_cpu) /* Pointer to current CPU */
537 #define CPU_CURRENT -3
541 * good CPU (in particular, an ht_acquire()-friendly choice); holding cpu_lock
544 #define CPU_BEST -4
547 * Per-CPU statistics
549 * cpu_stats_t contains numerous system and VM-related statistics, in the form
550 * of gauges or monotonically-increasing event occurrence counts.
565 uint64_t *stataddr = &((cp)->cpu_stats.class.stat); \
572 ((cp)->cpu_stats.stat)
576 * This macro should be called whenever CPU goes on-line or off-line.
579 #define CPU_NEW_GENERATION(cp) ((cp)->cpu_generation++)
585 #define CPU_CPR_IS_OFFLINE(cpu) (((cpu)->cpu_cpr_flags & CPU_CPR_ONLINE) == 0)
586 #define CPU_CPR_IS_ONLINE(cpu) ((cpu)->cpu_cpr_flags & CPU_CPR_ONLINE)
587 #define CPU_SET_CPR_FLAGS(cpu, flag) ((cpu)->cpu_cpr_flags |= flag)
613 void mbox_lock_init(void); /* initialize cross-call locks */
614 void mbox_init(int cpun); /* initialize cross-calls */
622 #define PAUSE_WAIT 2 /* paused thread is spl-ed high */
639 int cpu_poweron(cpu_t *); /* take powered-off cpu to offline */
640 int cpu_poweroff(cpu_t *); /* take offline cpu to powered-off */
667 * internal per-CPU state as given by the cpu_flags member of the cpu structure,
668 * as this information may include platform- or architecture-specific state
677 void cpu_set_supp_freqs(cpu_t *, const char *); /* set the CPU supported */
678 /* frequencies */
705 * cpu_disable_intr returns non-zero if interrupts were previously enabled.
730 * events. For these two events, non-zero return value indicates a failure and
790 * processor_info system call and configuration-related kstats.