Lines Matching refs:etr_sync
760 struct clock_sync_data *etr_sync; in etr_sync_clock() local
765 etr_sync = data; in etr_sync_clock()
769 clock_sync_cpu(etr_sync); in etr_sync_clock()
774 while (atomic_read(&etr_sync->cpus) != 0) in etr_sync_clock()
777 port = etr_sync->etr_port; in etr_sync_clock()
778 aib = etr_sync->etr_aib; in etr_sync_clock()
799 etr_sync->fixup_cc = delta; in etr_sync_clock()
805 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
808 etr_sync->in_sync = 1; in etr_sync_clock()
816 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
825 struct clock_sync_data etr_sync; in etr_sync_clock_stop() local
836 memset(&etr_sync, 0, sizeof(etr_sync)); in etr_sync_clock_stop()
837 etr_sync.etr_aib = aib; in etr_sync_clock_stop()
838 etr_sync.etr_port = port; in etr_sync_clock_stop()
840 atomic_set(&etr_sync.cpus, num_online_cpus() - 1); in etr_sync_clock_stop()
841 rc = stop_machine(etr_sync_clock, &etr_sync, cpu_online_mask); in etr_sync_clock_stop()