Lines Matching refs:pcm_number
229 snd_mixart_add_ref_pipe(struct snd_mixart *chip, int pcm_number, int capture, in snd_mixart_add_ref_pipe() argument
237 if (pcm_number == MIXART_PCM_ANALOG) { in snd_mixart_add_ref_pipe()
245 if (pcm_number == MIXART_PCM_ANALOG) { in snd_mixart_add_ref_pipe()
269 chip->chip_idx, pcm_number); in snd_mixart_add_ref_pipe()
297 …j = (chip->chip_idx * MIXART_MAX_STREAM_PER_CARD) + (pcm_number * (MIXART_PLAYBACK_STREAMS + MIXAR… in snd_mixart_add_ref_pipe()
311 …bufferinfo[j].buffer_id = (chip->chip_idx << MIXART_NOTIFY_CARD_OFFSET) + (pcm_number << MIXART_NO… in snd_mixart_add_ref_pipe()
622 if( stream->pcm_number <= MIXART_PCM_DIGITAL ) { in snd_mixart_hw_params()
623 int is_aes = stream->pcm_number > MIXART_PCM_ANALOG; in snd_mixart_hw_params()
644 …int i = (chip->chip_idx * MIXART_MAX_STREAM_PER_CARD) + (stream->pcm_number * (MIXART_PLAYBACK_STR… in snd_mixart_hw_params()
730 int pcm_number; in snd_mixart_playback_open() local
735 pcm_number = MIXART_PCM_ANALOG; in snd_mixart_playback_open()
739 pcm_number = MIXART_PCM_DIGITAL; in snd_mixart_playback_open()
744 chip->chip_idx, pcm_number, subs->number); in snd_mixart_playback_open()
747 stream = &(chip->playback_stream[pcm_number][subs->number]); in snd_mixart_playback_open()
753 chip->chip_idx, pcm_number, subs->number); in snd_mixart_playback_open()
759 pipe = snd_mixart_add_ref_pipe(chip, pcm_number, 0, 0); in snd_mixart_playback_open()
776 stream->pcm_number = pcm_number; in snd_mixart_playback_open()
809 int pcm_number; in snd_mixart_capture_open() local
814 pcm_number = MIXART_PCM_ANALOG; in snd_mixart_capture_open()
818 pcm_number = MIXART_PCM_DIGITAL; in snd_mixart_capture_open()
825 chip->chip_idx, pcm_number, subs->number); in snd_mixart_capture_open()
828 stream = &(chip->capture_stream[pcm_number]); in snd_mixart_capture_open()
834 chip->chip_idx, pcm_number, subs->number); in snd_mixart_capture_open()
840 pipe = snd_mixart_add_ref_pipe(chip, pcm_number, 1, 0); in snd_mixart_capture_open()
857 stream->pcm_number = pcm_number; in snd_mixart_capture_open()
891 chip->chip_idx, stream->pcm_number, subs->number); in snd_mixart_close()
903 chip->chip_idx, stream->pcm_number); in snd_mixart_close()