Lines Matching refs:sync
1855 sync_serial_settings sync; in fst_set_iface() local
1858 if (ifr->ifr_settings.size != sizeof (sync)) { in fst_set_iface()
1863 (&sync, ifr->ifr_settings.ifs_ifsu.sync, sizeof (sync))) { in fst_set_iface()
1867 if (sync.loopback) in fst_set_iface()
1910 switch (sync.clock_type) { in fst_set_iface()
1922 FST_WRL(card, portConfig[i].lineSpeed, sync.clock_rate); in fst_set_iface()
1930 sync_serial_settings sync; in fst_get_iface() local
1961 if (ifr->ifr_settings.size < sizeof (sync)) { in fst_get_iface()
1966 memset(&sync, 0, sizeof(sync)); in fst_get_iface()
1967 sync.clock_rate = FST_RDL(card, portConfig[i].lineSpeed); in fst_get_iface()
1969 sync.clock_type = FST_RDB(card, portConfig[i].internalClock) == in fst_get_iface()
1971 sync.loopback = 0; in fst_get_iface()
1973 if (copy_to_user(ifr->ifr_settings.ifs_ifsu.sync, &sync, sizeof (sync))) { in fst_get_iface()
1977 ifr->ifr_settings.size = sizeof (sync); in fst_get_iface()