Lines Matching refs:etr_sync
735 struct clock_sync_data *etr_sync; in etr_sync_clock() local
740 etr_sync = data; in etr_sync_clock()
744 clock_sync_cpu(etr_sync); in etr_sync_clock()
749 while (atomic_read(&etr_sync->cpus) != 0) in etr_sync_clock()
752 port = etr_sync->etr_port; in etr_sync_clock()
753 aib = etr_sync->etr_aib; in etr_sync_clock()
771 etr_sync->fixup_cc = delta; in etr_sync_clock()
777 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
780 etr_sync->in_sync = 1; in etr_sync_clock()
788 etr_sync->in_sync = -EAGAIN; in etr_sync_clock()
797 struct clock_sync_data etr_sync; in etr_sync_clock_stop() local
808 memset(&etr_sync, 0, sizeof(etr_sync)); in etr_sync_clock_stop()
809 etr_sync.etr_aib = aib; in etr_sync_clock_stop()
810 etr_sync.etr_port = port; in etr_sync_clock_stop()
812 atomic_set(&etr_sync.cpus, num_online_cpus() - 1); in etr_sync_clock_stop()
813 rc = stop_machine(etr_sync_clock, &etr_sync, &cpu_online_map); in etr_sync_clock_stop()