Lines Matching defs:online
27 * @online: the count of online coupled VPEs
39 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count);
57 /* Indicates online CPUs coupled with the current CPU */
78 static void coupled_barrier(atomic_t *a, unsigned online)
92 while (atomic_read(a) < online)
95 if (atomic_inc_return(a) == online * 2) {
100 while (atomic_read(a) > online)
108 unsigned online, left;
121 /* Calculate which coupled CPUs (VPEs) are online */
126 online = cpumask_weight(coupled_mask);
132 online = 1;
161 coupled_barrier(&per_cpu(pm_barrier, core), online);
164 left = entry(online, nc_core_ready_count);
180 if (coupled_coherence && (state == CPS_PM_NC_WAIT) && (left == online))
729 return cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "mips/cps_pm:online",