Lines Matching refs:sync
225 int sync; in sis_update_voice() local
244 sync = voice->sync_cso; in sis_update_voice()
245 sync -= readw(voice->sync_base + SIS_CAPTURE_DMA_FORMAT_CSO); in sis_update_voice()
246 if (sync > (voice->sync_buffer_size / 2)) in sis_update_voice()
247 sync -= voice->sync_buffer_size; in sis_update_voice()
254 if (sync > 0) { in sis_update_voice()
255 if (sync < 16) in sis_update_voice()
256 sync = 16; in sis_update_voice()
257 sis_update_sso(voice, sync); in sis_update_voice()
276 if (sync > -9) in sis_update_voice()
279 voice->vperiod = voice->sync_period_size + sync + 10; in sis_update_voice()
287 sync = voice->sync_cso + voice->sync_period_size; in sis_update_voice()
288 if (sync >= voice->sync_buffer_size) in sis_update_voice()
289 sync -= voice->sync_buffer_size; in sis_update_voice()
290 voice->sync_cso = sync; in sis_update_voice()