Lines Matching refs:rec
548 static int snd_ali_find_free_channel(struct snd_ali * codec, int rec) in snd_ali_find_free_channel() argument
554 "find_free_channel: for %s\n", rec ? "rec" : "pcm"); in snd_ali_find_free_channel()
557 if (rec) { in snd_ali_find_free_channel()
924 int type, int rec, int channel) in snd_ali_alloc_voice() argument
929 dev_dbg(codec->card->dev, "alloc_voice: type=%d rec=%d\n", type, rec); in snd_ali_alloc_voice()
934 snd_ali_find_free_channel(codec,rec); in snd_ali_alloc_voice()
944 pvoice->mode = rec; in snd_ali_alloc_voice()
1027 static unsigned int snd_ali_convert_rate(unsigned int rate, int rec) in snd_ali_convert_rate() argument
1036 if (rec) { in snd_ali_convert_rate()
1493 static int snd_ali_open(struct snd_pcm_substream *substream, int rec, in snd_ali_open() argument
1500 pvoice = snd_ali_alloc_voice(codec, SNDRV_ALI_VOICE_TYPE_PCM, rec, in snd_ali_open()
1600 static int snd_ali_modem_open(struct snd_pcm_substream *substream, int rec, in snd_ali_modem_open() argument
1609 int err = snd_ali_open(substream, rec, channel, &snd_ali_modem); in snd_ali_modem_open()