Searched refs:pcms (Results 1 – 12 of 12) sorted by relevance
99 struct line6_pcm_stream *pcms) in line6_unlink_audio_urbs() argument104 if (test_bit(i, &pcms->active_urbs)) { in line6_unlink_audio_urbs()105 if (!test_and_set_bit(i, &pcms->unlink_urbs)) in line6_unlink_audio_urbs()106 usb_unlink_urb(pcms->urbs[i]); in line6_unlink_audio_urbs()115 struct line6_pcm_stream *pcms) in line6_wait_clear_audio_urbs() argument124 if (test_bit(i, &pcms->active_urbs)) in line6_wait_clear_audio_urbs()451 static void cleanup_urbs(struct line6_pcm_stream *pcms, int iso_buffers) in cleanup_urbs() argument456 if (pcms->urbs == NULL) in cleanup_urbs()460 if (pcms->urbs[i]) { in cleanup_urbs()461 usb_kill_urb(pcms->urbs[i]); in cleanup_urbs()[all …]
260 struct ac97_pcm *pcms[NUM_ATI_PCMS]; member964 struct ac97_pcm *pcm = chip->pcms[dma->ac97_pcm_type]; in snd_atiixp_pcm_hw_params()988 struct ac97_pcm *pcm = chip->pcms[dma->ac97_pcm_type]; in snd_atiixp_pcm_hw_free()1036 runtime->hw.rates = chip->pcms[pcm_type]->rates; in snd_atiixp_pcm_open()1258 chip->pcms[i] = &pbus->pcms[i]; in snd_atiixp_pcm_new()1261 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { in snd_atiixp_pcm_new()1262 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_LFE)) in snd_atiixp_pcm_new()1291 if (chip->pcms[ATI_PCM_SPDIF] && ! chip->pcms[ATI_PCM_SPDIF]->rates) in snd_atiixp_pcm_new()1295 if (chip->pcms[ATI_PCM_SPDIF]) in snd_atiixp_pcm_new()1296 chip->pcms[ATI_PCM_SPDIF]->rates = SNDRV_PCM_RATE_48000; in snd_atiixp_pcm_new()
2236 chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; in snd_intel8x0_mixer()2237 chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; in snd_intel8x0_mixer()2238 chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; in snd_intel8x0_mixer()2240 chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; in snd_intel8x0_mixer()2242 chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; in snd_intel8x0_mixer()2243 chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; in snd_intel8x0_mixer()2264 if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { in snd_intel8x0_mixer()2266 if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_LFE)) { in snd_intel8x0_mixer()2272 if (pbus->pcms[0].r[1].rslots[0]) { in snd_intel8x0_mixer()
375 struct snd_pcm *pcms[2]; member1442 chip->pcms[0] = pcm; in snd_via8233_pcm_new()1467 chip->pcms[1] = pcm; in snd_via8233_pcm_new()1510 chip->pcms[0] = pcm; in snd_via8233a_pcm_new()1538 chip->pcms[1] = pcm; in snd_via8233a_pcm_new()1568 chip->pcms[0] = pcm; in snd_via686_pcm_new()
237 struct snd_pcm *pcms[2]; member846 chip->pcms[0] = pcm; in snd_via686_pcm_new()
235 struct ac97_pcm *pcms[NUM_ATI_PCMS]; member
213 struct ac97_pcm *pcms; member403 const struct ac97_pcm *pcms);
433 const struct ac97_pcm *pcms) in snd_ac97_pcm_assign() argument466 pcm = &pcms[i]; in snd_ac97_pcm_assign()538 bus->pcms = rpcms; in snd_ac97_pcm_assign()
988 kfree(bus->pcms); in snd_ac97_bus_free()
146 struct snd_pcm *pcms[NUM_PCMS]; member
472 atc->pcms[device] = pcm; in ct_alsa_pcm_create()
388 slots = aaci->ac97_bus->pcms[0].r[0].slots; in aaci_rule_channels()866 aaci->playback.pcm = &ac97_bus->pcms[0]; in aaci_probe_ac97()867 aaci->capture.pcm = &ac97_bus->pcms[1]; in aaci_probe_ac97()