Lines Matching defs:pcm
94 int pcm, type;
96 for (pcm = 0; pcm < codec->num_pcms; pcm++) {
97 cpcm = &codec->pcm_info[pcm];
99 if (cpcm->stream[type].nid != nid || cpcm->pcm == NULL)
105 cpcm->pcm->device);
153 static void print_pcm_rates(struct snd_info_buffer *buffer, unsigned int pcm)
157 pcm &= AC_SUPPCM_RATES;
158 snd_iprintf(buffer, " rates [0x%x]:", pcm);
159 snd_print_pcm_rates(pcm, buf, sizeof(buf));
163 static void print_pcm_bits(struct snd_info_buffer *buffer, unsigned int pcm)
167 snd_iprintf(buffer, " bits [0x%x]:", (pcm >> 16) & 0xff);
168 snd_print_pcm_bits(pcm, buf, sizeof(buf));
188 unsigned int pcm = snd_hda_param_read(codec, nid, AC_PAR_PCM);
190 if (pcm == -1 || stream == -1) {
194 print_pcm_rates(buffer, pcm);
195 print_pcm_bits(buffer, pcm);