Lines Matching refs:etr_sync
756 struct clock_sync_data *etr_sync; in etr_sync_clock() local
761 etr_sync = data; in etr_sync_clock()
765 clock_sync_cpu(etr_sync); in etr_sync_clock()
770 while (atomic_read(&etr_sync->cpus) != 0) in etr_sync_clock()
773 port = etr_sync->etr_port; in etr_sync_clock()
774 aib = etr_sync->etr_aib; in etr_sync_clock()
792 etr_sync->fixup_cc = delta; in etr_sync_clock()
798 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
801 etr_sync->in_sync = 1; in etr_sync_clock()
809 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
818 struct clock_sync_data etr_sync; in etr_sync_clock_stop() local
829 memset(&etr_sync, 0, sizeof(etr_sync)); in etr_sync_clock_stop()
830 etr_sync.etr_aib = aib; in etr_sync_clock_stop()
831 etr_sync.etr_port = port; in etr_sync_clock_stop()
833 atomic_set(&etr_sync.cpus, num_online_cpus() - 1); in etr_sync_clock_stop()
834 rc = stop_machine(etr_sync_clock, &etr_sync, cpu_online_mask); in etr_sync_clock_stop()