Lines Matching defs:timing
49 /* There are three timing modes for the voices.
82 struct voice *timing;
125 * buffer for a timing channel.
331 if (!voice->timing)
393 if (voice->timing) {
395 voice->timing->flags &= ~(VOICE_IN_USE | VOICE_SSO_TIMING |
397 voice->timing = NULL;
445 * timing voice, as we can use the capture channel's interrupts
453 if (needed && !voice->timing) {
455 voice->timing = __sis_alloc_playback_voice(sis);
456 if (voice->timing)
459 if (!voice->timing)
461 voice->timing->substream = substream;
462 } else if (!needed && voice->timing) {
464 voice->timing = NULL;
606 voice = voice->timing;
610 * doesn't have an external timing channel.
702 struct voice *timing = voice->timing;
703 void __iomem *play_base = timing->ctrl_base;
704 void __iomem *wave_base = timing->wave_base;
752 /* The interrupt handler implements the timing synchronization, so
755 timing->flags |= VOICE_SYNC_TIMING;
756 timing->sync_base = voice->ctrl_base;
757 timing->sync_cso = runtime->period_size;
758 timing->sync_period_size = runtime->period_size;
759 timing->sync_buffer_size = runtime->buffer_size;
760 timing->period_size = period_size;
761 timing->buffer_size = buffer_size;
762 timing->sso = sso;
763 timing->vperiod = vperiod;
767 * So ignore unsigned vs signed -- it doesn't change the timing.
775 control = timing->buffer_size - 1;
777 sso_eso = timing->buffer_size - 1;
778 sso_eso |= timing->sso << 16;
824 * use a timing voice to clock out the periods. Otherwise, we can
827 if (voice->timing) {