Lines Matching defs:timing
50 /* There are three timing modes for the voices.
83 struct voice *timing;
126 * buffer for a timing channel.
332 if (!voice->timing)
394 if (voice->timing) {
396 voice->timing->flags &= ~(VOICE_IN_USE | VOICE_SSO_TIMING |
398 voice->timing = NULL;
446 * timing voice, as we can use the capture channel's interrupts
454 if (needed && !voice->timing) {
456 voice->timing = __sis_alloc_playback_voice(sis);
457 if (voice->timing)
460 if (!voice->timing)
462 voice->timing->substream = substream;
463 } else if (!needed && voice->timing) {
465 voice->timing = NULL;
607 voice = voice->timing;
611 * doesn't have an external timing channel.
703 struct voice *timing = voice->timing;
704 void __iomem *play_base = timing->ctrl_base;
705 void __iomem *wave_base = timing->wave_base;
753 /* The interrupt handler implements the timing synchronization, so
756 timing->flags |= VOICE_SYNC_TIMING;
757 timing->sync_base = voice->ctrl_base;
758 timing->sync_cso = runtime->period_size;
759 timing->sync_period_size = runtime->period_size;
760 timing->sync_buffer_size = runtime->buffer_size;
761 timing->period_size = period_size;
762 timing->buffer_size = buffer_size;
763 timing->sso = sso;
764 timing->vperiod = vperiod;
768 * So ignore unsigned vs signed -- it doesn't change the timing.
776 control = timing->buffer_size - 1;
778 sso_eso = timing->buffer_size - 1;
779 sso_eso |= timing->sso << 16;
825 * use a timing voice to clock out the periods. Otherwise, we can
828 if (voice->timing) {