Lines Matching refs:stream
168 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg()
488 rpcm->stream = pcm->stream; in snd_ac97_pcm_assign()
499 if (pcm->spdif && pcm->stream == 0) in snd_ac97_pcm_assign()
502 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign()
507 if (rpcm->stream == rpcms[k].stream) in snd_ac97_pcm_assign()
517 rpcm->r[0].rate_table[j] = rate_table[pcm->stream][j]; in snd_ac97_pcm_assign()
523 avail_slots[pcm->stream][j] &= ~tmp; in snd_ac97_pcm_assign()
530 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_ac97_pcm_assign()
532 rate_table[pcm->stream][0] == 0) { in snd_ac97_pcm_assign()
541 avail_slots[pcm->stream][0] &= ~tmp; in snd_ac97_pcm_assign()
595 if (bus->used_slots[pcm->stream][cidx] & (1 << i)) { in snd_ac97_pcm_open()
601 bus->used_slots[pcm->stream][cidx] |= (1 << i); in snd_ac97_pcm_open()
688 bus->used_slots[pcm->stream][cidx] &= ~(1 << i); in snd_ac97_pcm_close()