Home
last modified time | relevance | path

Searched refs:capture_substream (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v5.4/sound/pci/
Dals300.c110 struct snd_pcm_substream *capture_substream; member
205 if (chip->pcm && chip->capture_substream) { in snd_als300_interrupt()
206 data = chip->capture_substream->runtime->private_data; in snd_als300_interrupt()
208 snd_pcm_period_elapsed(chip->capture_substream); in snd_als300_interrupt()
239 if (chip->pcm && chip->capture_substream) { in snd_als300plus_interrupt()
241 data = chip->capture_substream->runtime->private_data; in snd_als300plus_interrupt()
243 snd_pcm_period_elapsed(chip->capture_substream); in snd_als300plus_interrupt()
394 chip->capture_substream = substream; in snd_als300_capture_open()
409 chip->capture_substream = NULL; in snd_als300_capture_close()
Drme96.c236 struct snd_pcm_substream *capture_substream; member
1146 snd_pcm_period_elapsed(rme96->capture_substream); in snd_rme96_interrupt()
1237 if (rme96->capture_substream) { in snd_rme96_capture_spdif_open()
1241 rme96->capture_substream = substream; in snd_rme96_capture_spdif_open()
1304 if (rme96->capture_substream) { in snd_rme96_capture_adat_open()
1308 rme96->capture_substream = substream; in snd_rme96_capture_adat_open()
1346 rme96->capture_substream = NULL; in snd_rme96_capture_close()
1393 sync = (rme96->playback_substream && rme96->capture_substream) && in snd_rme96_playback_trigger()
1395 rme96->capture_substream->group); in snd_rme96_playback_trigger()
1450 sync = (rme96->playback_substream && rme96->capture_substream) && in snd_rme96_capture_trigger()
[all …]
Drme32.c193 struct snd_pcm_substream *capture_substream; member
818 if (rme32->capture_substream) { in snd_rme32_interrupt()
819 snd_pcm_period_elapsed(rme32->capture_substream); in snd_rme32_interrupt()
901 if (rme32->capture_substream != NULL) { in snd_rme32_capture_spdif_open()
905 rme32->capture_substream = substream; in snd_rme32_capture_spdif_open()
988 if (rme32->capture_substream != NULL) { in snd_rme32_capture_adat_open()
992 rme32->capture_substream = substream; in snd_rme32_capture_adat_open()
1023 rme32->capture_substream = NULL; in snd_rme32_capture_close()
1074 s != rme32->capture_substream) in snd_rme32_pcm_trigger()
1450 rme32->capture_substream = NULL; in snd_rme32_create()
Dals4000.c543 && (chip->capture_substream)) /* capturing */ in snd_als4000_interrupt()
544 snd_pcm_period_elapsed(chip->capture_substream); in snd_als4000_interrupt()
645 chip->capture_substream = substream; in snd_als4000_capture_open()
654 chip->capture_substream = NULL; in snd_als4000_capture_close()
Dfm801.c188 struct snd_pcm_substream *capture_substream; member
569 if (chip->pcm && (status & FM801_IRQ_CAPTURE) && chip->capture_substream) { in snd_fm801_interrupt()
581 snd_pcm_period_elapsed(chip->capture_substream); in snd_fm801_interrupt()
659 chip->capture_substream = substream; in snd_fm801_capture_open()
680 chip->capture_substream = NULL; in snd_fm801_capture_close()
/Linux-v5.4/sound/i2c/other/
Dak4114.c468 ak4114->capture_substream = cap_substream; in snd_ak4114_build()
555 …struct snd_pcm_runtime *runtime = ak4114->capture_substream ? ak4114->capture_substream->runtime :… in snd_ak4114_check_rate_and_errors()
589 snd_pcm_stream_lock_irqsave(ak4114->capture_substream, _flags); in snd_ak4114_check_rate_and_errors()
590 if (snd_pcm_running(ak4114->capture_substream)) { in snd_ak4114_check_rate_and_errors()
592 snd_pcm_stop(ak4114->capture_substream, SNDRV_PCM_STATE_DRAINING); in snd_ak4114_check_rate_and_errors()
595 snd_pcm_stream_unlock_irqrestore(ak4114->capture_substream, _flags); in snd_ak4114_check_rate_and_errors()
/Linux-v5.4/include/sound/
Dak4114.h171 struct snd_pcm_substream *capture_substream; member
189 struct snd_pcm_substream *capture_substream);
Des1688.h35 struct snd_pcm_substream *capture_substream; member
Dad1816a.h133 struct snd_pcm_substream *capture_substream; member
Dcs8427.h183 struct snd_pcm_substream *capture_substream);
Dak4117.h174 int snd_ak4117_build(struct ak4117 *ak4117, struct snd_pcm_substream *capture_substream);
Dak4113.h307 struct snd_pcm_substream *capture_substream);
Dwss.h84 struct snd_pcm_substream *capture_substream; member
/Linux-v5.4/sound/atmel/
Dac97c.c40 struct snd_pcm_substream *capture_substream; member
120 chip->capture_substream = substream; in atmel_ac97c_capture_open()
153 chip->capture_substream = NULL; in atmel_ac97c_capture_close()
519 runtime = chip->capture_substream->runtime; in atmel_ac97c_interrupt()
533 snd_pcm_period_elapsed(chip->capture_substream); in atmel_ac97c_interrupt()
/Linux-v5.4/sound/isa/sb/
Dsb8_main.c388 substream = chip->capture_substream; in snd_sb8dsp_interrupt()
492 chip->capture_substream = substream; in snd_sb8_open()
543 chip->capture_substream = NULL; in snd_sb8_close()
Dsb16_main.c405 snd_pcm_period_elapsed(chip->capture_substream); in snd_sb16dsp_interrupt()
422 snd_pcm_period_elapsed(chip->capture_substream); in snd_sb16dsp_interrupt()
636 chip->capture_substream = substream; in snd_sb16_capture_open()
648 chip->capture_substream = NULL; in snd_sb16_capture_close()
/Linux-v5.4/sound/drivers/
Dml403-ac97cr.c356 struct snd_pcm_substream *capture_substream; member
519 if (substream == ml403_ac97cr->capture_substream) in snd_ml403_ac97cr_pcm_pointer()
717 ml403_ac97cr->capture_substream = substream; in snd_ml403_ac97cr_capture_open()
744 ml403_ac97cr->capture_substream = NULL; in snd_ml403_ac97cr_capture_close()
799 ml403_ac97cr->capture_substream, in snd_ml403_ac97cr_irq()
/Linux-v5.4/sound/sparc/
Damd7930.c328 struct snd_pcm_substream *capture_substream; member
533 snd_pcm_period_elapsed(amd->capture_substream); in snd_amd7930_interrupt()
705 amd->capture_substream = substream; in snd_amd7930_capture_open()
722 amd->capture_substream = NULL; in snd_amd7930_capture_close()
Dcs4231.c97 struct snd_pcm_substream *capture_substream; member
467 chip->capture_substream, in cs4231_dma_trigger()
492 } else if (s == chip->capture_substream) { in snd_cs4231_trigger()
977 chip->capture_substream->runtime->overrange++; in snd_cs4231_overrange()
992 snd_pcm_period_elapsed(chip->capture_substream); in snd_cs4231_capture_callback()
993 snd_cs4231_advance_dma(&chip->c_dma, chip->capture_substream, in snd_cs4231_capture_callback()
1171 chip->capture_substream = substream; in snd_cs4231_capture_open()
1194 chip->capture_substream = NULL; in snd_cs4231_capture_close()
/Linux-v5.4/sound/pci/cs5535audio/
Dcs5535audio.h94 struct snd_pcm_substream *capture_substream; member
/Linux-v5.4/sound/isa/ad1816a/
Dad1816a_lib.c318 if ((status & AD1816A_CAPTURE_IRQ_PENDING) && chip->capture_substream) in snd_ad1816a_interrupt()
319 snd_pcm_period_elapsed(chip->capture_substream); in snd_ad1816a_interrupt()
460 chip->capture_substream = substream; in snd_ad1816a_capture_open()
477 chip->capture_substream = NULL; in snd_ad1816a_capture_close()
/Linux-v5.4/sound/isa/wss/
Dwss_lib.c491 } else if (s == chip->capture_substream) { in snd_wss_trigger()
1085 chip->capture_substream->runtime->overrange++; in snd_wss_overrange()
1110 if (chip->capture_substream) { in snd_wss_interrupt()
1112 snd_pcm_period_elapsed(chip->capture_substream); in snd_wss_interrupt()
1122 if (chip->capture_substream) { in snd_wss_interrupt()
1124 snd_pcm_period_elapsed(chip->capture_substream); in snd_wss_interrupt()
1562 chip->capture_substream = substream; in snd_wss_capture_open()
1581 chip->capture_substream = NULL; in snd_wss_capture_close()
/Linux-v5.4/sound/pci/rme9652/
Drme9652.c222 struct snd_pcm_substream *capture_substream; member
1832 if (rme9652->capture_substream) { in snd_rme9652_interrupt()
1965 other = rme9652->capture_substream; in snd_rme9652_reset()
2116 other = rme9652->capture_substream; in snd_rme9652_trigger()
2294 if (rme9652->capture_substream == NULL) { in snd_rme9652_playback_open()
2360 rme9652->capture_substream = substream; in snd_rme9652_capture_open()
2385 rme9652->capture_substream = NULL; in snd_rme9652_capture_release()
2561 rme9652->capture_substream = NULL; in snd_rme9652_create()
/Linux-v5.4/sound/isa/es1688/
Des1688_lib.c480 snd_pcm_period_elapsed(chip->capture_substream); in snd_es1688_interrupt()
557 if (chip->capture_substream != NULL) in snd_es1688_playback_open()
573 chip->capture_substream = substream; in snd_es1688_capture_open()
592 chip->capture_substream = NULL; in snd_es1688_capture_close()
/Linux-v5.4/sound/isa/msnd/
Dmsnd.h269 struct snd_pcm_substream *capture_substream; member

12