Lines Matching defs:trigger
978 if (runtime->oss.trigger) {
1958 static int snd_pcm_oss_set_trigger(struct snd_pcm_oss_file *pcm_oss_file, int trigger)
1965 printk(KERN_DEBUG "pcm_oss: trigger = 0x%x\n", trigger);
1981 if (trigger & PCM_ENABLE_OUTPUT) {
1982 if (runtime->oss.trigger)
1987 runtime->oss.trigger = 1;
1991 if (!runtime->oss.trigger)
1993 runtime->oss.trigger = 0;
2005 if (trigger & PCM_ENABLE_INPUT) {
2006 if (runtime->oss.trigger)
2008 runtime->oss.trigger = 1;
2012 if (!runtime->oss.trigger)
2014 runtime->oss.trigger = 0;
2034 if (psubstream && psubstream->runtime && psubstream->runtime->oss.trigger)
2036 if (csubstream && csubstream->runtime && csubstream->runtime->oss.trigger)
2257 runtime->oss.trigger = 1;
2728 if (ostate != SNDRV_PCM_STATE_RUNNING && runtime->oss.trigger) {
2732 runtime->oss.trigger = 0;