Lines Matching refs:rec
533 static int snd_ali_find_free_channel(struct snd_ali * codec, int rec) in snd_ali_find_free_channel() argument
539 "find_free_channel: for %s\n", rec ? "rec" : "pcm"); in snd_ali_find_free_channel()
542 if (rec) { in snd_ali_find_free_channel()
909 int type, int rec, int channel) in snd_ali_alloc_voice() argument
914 dev_dbg(codec->card->dev, "alloc_voice: type=%d rec=%d\n", type, rec); in snd_ali_alloc_voice()
919 snd_ali_find_free_channel(codec,rec); in snd_ali_alloc_voice()
929 pvoice->mode = rec; in snd_ali_alloc_voice()
1012 static unsigned int snd_ali_convert_rate(unsigned int rate, int rec) in snd_ali_convert_rate() argument
1021 if (rec) { in snd_ali_convert_rate()
1456 static int snd_ali_open(struct snd_pcm_substream *substream, int rec, in snd_ali_open() argument
1463 pvoice = snd_ali_alloc_voice(codec, SNDRV_ALI_VOICE_TYPE_PCM, rec, in snd_ali_open()
1559 static int snd_ali_modem_open(struct snd_pcm_substream *substream, int rec, in snd_ali_modem_open() argument
1568 int err = snd_ali_open(substream, rec, channel, &snd_ali_modem); in snd_ali_modem_open()