Lines Matching refs:sync_port
736 struct etr_aib *sync_port, *aib; in etr_sync_clock() local
754 sync_port = (port == 0) ? &etr_port0 : &etr_port1; in etr_sync_clock()
769 (aib->edf2.etv - sync_port->edf2.etv) << 32; in etr_sync_clock()
774 if (!etr_aib_follows(sync_port, aib, port)) { in etr_sync_clock()
798 struct etr_aib *sync_port; in etr_sync_clock_stop() local
803 sync_port = (port == 0) ? &etr_port0 : &etr_port1; in etr_sync_clock_stop()
804 follows = etr_aib_follows(sync_port, aib, port); in etr_sync_clock_stop()
805 memcpy(sync_port, aib, sizeof(*aib)); in etr_sync_clock_stop()
980 int sync_port; in etr_work_fn() local
1037 sync_port = (etr_port0_uptodate && in etr_work_fn()
1045 sync_port = (etr_port1_uptodate && in etr_work_fn()
1058 sync_port = (etr_port0_uptodate && in etr_work_fn()
1066 sync_port = (etr_port1_uptodate && in etr_work_fn()
1071 sync_port = -1; in etr_work_fn()
1078 if ((eacr.es && check_sync_clock()) || sync_port < 0) { in etr_work_fn()
1100 etr_sync_clock_stop(&aib, sync_port) != 0) { in etr_work_fn()