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]; member962 struct ac97_pcm *pcm = chip->pcms[dma->ac97_pcm_type]; in snd_atiixp_pcm_hw_params()986 struct ac97_pcm *pcm = chip->pcms[dma->ac97_pcm_type]; in snd_atiixp_pcm_hw_free()1034 runtime->hw.rates = chip->pcms[pcm_type]->rates; in snd_atiixp_pcm_open()1256 chip->pcms[i] = &pbus->pcms[i]; in snd_atiixp_pcm_new()1259 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { in snd_atiixp_pcm_new()1260 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_LFE)) in snd_atiixp_pcm_new()1289 if (chip->pcms[ATI_PCM_SPDIF] && ! chip->pcms[ATI_PCM_SPDIF]->rates) in snd_atiixp_pcm_new()1293 if (chip->pcms[ATI_PCM_SPDIF]) in snd_atiixp_pcm_new()1294 chip->pcms[ATI_PCM_SPDIF]->rates = SNDRV_PCM_RATE_48000; in snd_atiixp_pcm_new()
2233 chip->ichd[ICHD_PCMOUT].pcm = &pbus->pcms[0]; in snd_intel8x0_mixer()2234 chip->ichd[ICHD_PCMIN].pcm = &pbus->pcms[1]; in snd_intel8x0_mixer()2235 chip->ichd[ICHD_MIC].pcm = &pbus->pcms[2]; in snd_intel8x0_mixer()2237 chip->ichd[chip->spdif_idx].pcm = &pbus->pcms[3]; in snd_intel8x0_mixer()2239 chip->ichd[ICHD_PCM2IN].pcm = &pbus->pcms[4]; in snd_intel8x0_mixer()2240 chip->ichd[ICHD_MIC2].pcm = &pbus->pcms[5]; in snd_intel8x0_mixer()2261 if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { in snd_intel8x0_mixer()2263 if (pbus->pcms[0].r[0].slots & (1 << AC97_SLOT_LFE)) { in snd_intel8x0_mixer()2269 if (pbus->pcms[0].r[1].rslots[0]) { in snd_intel8x0_mixer()
373 struct snd_pcm *pcms[2]; member1440 chip->pcms[0] = pcm; in snd_via8233_pcm_new()1465 chip->pcms[1] = pcm; in snd_via8233_pcm_new()1508 chip->pcms[0] = pcm; in snd_via8233a_pcm_new()1536 chip->pcms[1] = pcm; in snd_via8233a_pcm_new()1566 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; member406 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()
987 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()859 aaci->playback.pcm = &ac97_bus->pcms[0]; in aaci_probe_ac97()860 aaci->capture.pcm = &ac97_bus->pcms[1]; in aaci_probe_ac97()