Lines Matching refs:online
39 typedef unsigned (*cps_nc_entry_fn)(unsigned online, u32 *nc_ready_count);
75 static void coupled_barrier(atomic_t *a, unsigned online) in coupled_barrier() argument
89 while (atomic_read(a) < online) in coupled_barrier()
92 if (atomic_inc_return(a) == online * 2) { in coupled_barrier()
97 while (atomic_read(a) > online) in coupled_barrier()
106 unsigned online, left; in cps_pm_enter_state() local
126 online = cpumask_weight(coupled_mask); in cps_pm_enter_state()
132 online = 1; in cps_pm_enter_state()
163 coupled_barrier(barrier, online); in cps_pm_enter_state()
166 left = entry(online, nc_core_ready_count); in cps_pm_enter_state()
182 if (coupled_coherence && (state == CPS_PM_NC_WAIT) && (left == online)) in cps_pm_enter_state()