Lines Matching refs:sync
212 int sync; in sis_update_voice() local
231 sync = voice->sync_cso; in sis_update_voice()
232 sync -= readw(voice->sync_base + SIS_CAPTURE_DMA_FORMAT_CSO); in sis_update_voice()
233 if (sync > (voice->sync_buffer_size / 2)) in sis_update_voice()
234 sync -= voice->sync_buffer_size; in sis_update_voice()
241 if (sync > 0) { in sis_update_voice()
242 if (sync < 16) in sis_update_voice()
243 sync = 16; in sis_update_voice()
244 sis_update_sso(voice, sync); in sis_update_voice()
263 if (sync > -9) in sis_update_voice()
266 voice->vperiod = voice->sync_period_size + sync + 10; in sis_update_voice()
274 sync = voice->sync_cso + voice->sync_period_size; in sis_update_voice()
275 if (sync >= voice->sync_buffer_size) in sis_update_voice()
276 sync -= voice->sync_buffer_size; in sis_update_voice()
277 voice->sync_cso = sync; in sis_update_voice()