Home
last modified time | relevance | path

Searched refs:pcms (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/sound/usb/line6/
Dpcm.c99 struct line6_pcm_stream *pcms) in line6_unlink_audio_urbs() argument
104 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() argument
124 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() argument
456 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 …]
/Linux-v6.6/sound/pci/
Datiixp.c260 struct ac97_pcm *pcms[NUM_ATI_PCMS]; member
964 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()
Dintel8x0.c2236 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()
Dvia82xx.c375 struct snd_pcm *pcms[2]; member
1442 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()
Dvia82xx_modem.c237 struct snd_pcm *pcms[2]; member
846 chip->pcms[0] = pcm; in snd_via686_pcm_new()
Datiixp_modem.c235 struct ac97_pcm *pcms[NUM_ATI_PCMS]; member
/Linux-v6.6/include/sound/
Dac97_codec.h213 struct ac97_pcm *pcms; member
406 const struct ac97_pcm *pcms);
/Linux-v6.6/sound/pci/ac97/
Dac97_pcm.c433 const struct ac97_pcm *pcms) in snd_ac97_pcm_assign() argument
466 pcm = &pcms[i]; in snd_ac97_pcm_assign()
538 bus->pcms = rpcms; in snd_ac97_pcm_assign()
Dac97_codec.c987 kfree(bus->pcms); in snd_ac97_bus_free()
/Linux-v6.6/sound/pci/ctxfi/
Dctatc.h146 struct snd_pcm *pcms[NUM_PCMS]; member
Dctpcm.c472 atc->pcms[device] = pcm; in ct_alsa_pcm_create()
/Linux-v6.6/sound/arm/
Daaci.c388 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()