Home
last modified time | relevance | path

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

/linux-4.1.27/sound/pci/
Dals300.c123 struct snd_pcm_substream *capture_substream; member
218 if (chip->pcm && chip->capture_substream) { in snd_als300_interrupt()
219 data = chip->capture_substream->runtime->private_data; in snd_als300_interrupt()
221 snd_pcm_period_elapsed(chip->capture_substream); in snd_als300_interrupt()
252 if (chip->pcm && chip->capture_substream) { in snd_als300plus_interrupt()
254 data = chip->capture_substream->runtime->private_data; in snd_als300plus_interrupt()
256 snd_pcm_period_elapsed(chip->capture_substream); in snd_als300plus_interrupt()
407 chip->capture_substream = substream; in snd_als300_capture_open()
422 chip->capture_substream = NULL; in snd_als300_capture_close()
Drme96.c250 struct snd_pcm_substream *capture_substream; member
1146 snd_pcm_period_elapsed(rme96->capture_substream); in snd_rme96_interrupt()
1237 if (rme96->capture_substream != NULL) { in snd_rme96_capture_spdif_open()
1241 rme96->capture_substream = substream; in snd_rme96_capture_spdif_open()
1304 if (rme96->capture_substream != NULL) { 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.c207 struct snd_pcm_substream *capture_substream; member
811 if (rme32->capture_substream) { in snd_rme32_interrupt()
812 snd_pcm_period_elapsed(rme32->capture_substream); in snd_rme32_interrupt()
895 if (rme32->capture_substream != NULL) { in snd_rme32_capture_spdif_open()
899 rme32->capture_substream = substream; in snd_rme32_capture_spdif_open()
982 if (rme32->capture_substream != NULL) { in snd_rme32_capture_adat_open()
986 rme32->capture_substream = substream; in snd_rme32_capture_adat_open()
1017 rme32->capture_substream = NULL; in snd_rme32_capture_close()
1068 s != rme32->capture_substream) in snd_rme32_pcm_trigger()
1452 rme32->capture_substream = NULL; in snd_rme32_create()
Dals4000.c557 && (chip->capture_substream)) /* capturing */ in snd_als4000_interrupt()
558 snd_pcm_period_elapsed(chip->capture_substream); in snd_als4000_interrupt()
659 chip->capture_substream = substream; in snd_als4000_capture_open()
668 chip->capture_substream = NULL; in snd_als4000_capture_close()
Dfm801.c198 struct snd_pcm_substream *capture_substream; member
565 if (chip->pcm && (status & FM801_IRQ_CAPTURE) && chip->capture_substream) { in snd_fm801_interrupt()
577 snd_pcm_period_elapsed(chip->capture_substream); in snd_fm801_interrupt()
654 chip->capture_substream = substream; in snd_fm801_capture_open()
675 chip->capture_substream = NULL; in snd_fm801_capture_close()
Des1938.c217 struct snd_pcm_substream *capture_substream; member
936 chip->capture_substream = substream; in snd_es1938_capture_open()
954 if (chip->capture_substream) in snd_es1938_playback_open()
973 chip->capture_substream = NULL; in snd_es1938_capture_close()
1669 snd_pcm_period_elapsed(chip->capture_substream); in snd_es1938_interrupt()
Dens1370.c423 struct snd_pcm_substream *capture_substream; member
826 } else if (s == ensoniq->capture_substream) in snd_ensoniq_trigger()
850 } else if (s == ensoniq->capture_substream) { in snd_ensoniq_trigger()
1180 ensoniq->capture_substream = substream; in snd_ensoniq_capture_open()
1220 ensoniq->capture_substream = NULL; in snd_ensoniq_capture_close()
2383 if ((status & ES_ADC) && ensoniq->capture_substream) in snd_audiopci_interrupt()
2384 snd_pcm_period_elapsed(ensoniq->capture_substream); in snd_audiopci_interrupt()
Dsonicvibes.c227 struct snd_pcm_substream *capture_substream; member
636 snd_pcm_period_elapsed(sonic->capture_substream); in snd_sonicvibes_interrupt()
835 sonic->capture_substream = substream; in snd_sonicvibes_capture_open()
855 sonic->capture_substream = NULL; in snd_sonicvibes_capture_close()
/linux-4.1.27/sound/i2c/other/
Dak4114.c485 ak4114->capture_substream = cap_substream; in snd_ak4114_build()
572 …struct snd_pcm_runtime *runtime = ak4114->capture_substream ? ak4114->capture_substream->runtime :… in snd_ak4114_check_rate_and_errors()
606 snd_pcm_stream_lock_irqsave(ak4114->capture_substream, _flags); in snd_ak4114_check_rate_and_errors()
607 if (snd_pcm_running(ak4114->capture_substream)) { in snd_ak4114_check_rate_and_errors()
609 snd_pcm_stop(ak4114->capture_substream, SNDRV_PCM_STATE_DRAINING); in snd_ak4114_check_rate_and_errors()
612 snd_pcm_stream_unlock_irqrestore(ak4114->capture_substream, _flags); in snd_ak4114_check_rate_and_errors()
/linux-4.1.27/include/sound/
Dak4114.h178 struct snd_pcm_substream *capture_substream; member
199 struct snd_pcm_substream *capture_substream);
Des1688.h50 struct snd_pcm_substream *capture_substream; member
Dad1816a.h145 struct snd_pcm_substream *capture_substream; member
Dcs8427.h198 struct snd_pcm_substream *capture_substream);
Dak4117.h184 int snd_ak4117_build(struct ak4117 *ak4117, struct snd_pcm_substream *capture_substream);
Dak4113.h317 struct snd_pcm_substream *capture_substream);
Dwss.h99 struct snd_pcm_substream *capture_substream; member
Dsb.h100 struct snd_pcm_substream *capture_substream; member
/linux-4.1.27/sound/atmel/
Dac97c.c69 struct snd_pcm_substream *capture_substream; member
104 snd_pcm_period_elapsed(chip->capture_substream); in atmel_ac97c_dma_capture_period_done()
209 chip->capture_substream = substream; in atmel_ac97c_capture_open()
242 chip->capture_substream = NULL; in atmel_ac97c_capture_close()
693 runtime = chip->capture_substream->runtime; in atmel_ac97c_interrupt()
710 snd_pcm_period_elapsed(chip->capture_substream); in atmel_ac97c_interrupt()
/linux-4.1.27/sound/pci/cs5535audio/
Dcs5535audio.c213 dma = cs5535au->capture_substream->runtime->private_data; in process_bm1_irq()
214 snd_pcm_period_elapsed(cs5535au->capture_substream); in process_bm1_irq()
Dcs5535audio.h93 struct snd_pcm_substream *capture_substream; member
Dcs5535audio_pcm.c360 cs5535au->capture_substream = substream; in snd_cs5535audio_capture_open()
/linux-4.1.27/sound/isa/sb/
Dsb8_main.c404 substream = chip->capture_substream; in snd_sb8dsp_interrupt()
509 chip->capture_substream = substream; in snd_sb8_open()
560 chip->capture_substream = NULL; in snd_sb8_close()
Dsb16_main.c417 snd_pcm_period_elapsed(chip->capture_substream); in snd_sb16dsp_interrupt()
434 snd_pcm_period_elapsed(chip->capture_substream); in snd_sb16dsp_interrupt()
648 chip->capture_substream = substream; in snd_sb16_capture_open()
660 chip->capture_substream = NULL; in snd_sb16_capture_close()
/linux-4.1.27/sound/drivers/
Dml403-ac97cr.c370 struct snd_pcm_substream *capture_substream; member
533 if (substream == ml403_ac97cr->capture_substream) in snd_ml403_ac97cr_pcm_pointer()
731 ml403_ac97cr->capture_substream = substream; in snd_ml403_ac97cr_capture_open()
758 ml403_ac97cr->capture_substream = NULL; in snd_ml403_ac97cr_capture_close()
813 ml403_ac97cr->capture_substream, in snd_ml403_ac97cr_irq()
/linux-4.1.27/sound/sparc/
Damd7930.c327 struct snd_pcm_substream *capture_substream; member
532 snd_pcm_period_elapsed(amd->capture_substream); in snd_amd7930_interrupt()
704 amd->capture_substream = substream; in snd_amd7930_capture_open()
721 amd->capture_substream = NULL; in snd_amd7930_capture_close()
Dcs4231.c96 struct snd_pcm_substream *capture_substream; member
466 chip->capture_substream, in cs4231_dma_trigger()
491 } else if (s == chip->capture_substream) { in snd_cs4231_trigger()
976 chip->capture_substream->runtime->overrange++; in snd_cs4231_overrange()
991 snd_pcm_period_elapsed(chip->capture_substream); in snd_cs4231_capture_callback()
992 snd_cs4231_advance_dma(&chip->c_dma, chip->capture_substream, in snd_cs4231_capture_callback()
1174 chip->capture_substream = substream; in snd_cs4231_capture_open()
1197 chip->capture_substream = NULL; in snd_cs4231_capture_close()
/linux-4.1.27/sound/isa/ad1816a/
Dad1816a_lib.c329 if ((status & AD1816A_CAPTURE_IRQ_PENDING) && chip->capture_substream) in snd_ad1816a_interrupt()
330 snd_pcm_period_elapsed(chip->capture_substream); in snd_ad1816a_interrupt()
471 chip->capture_substream = substream; in snd_ad1816a_capture_open()
488 chip->capture_substream = NULL; in snd_ad1816a_capture_close()
/linux-4.1.27/sound/isa/wss/
Dwss_lib.c505 } else if (s == chip->capture_substream) { in snd_wss_trigger()
1099 chip->capture_substream->runtime->overrange++; in snd_wss_overrange()
1124 if (chip->capture_substream) { in snd_wss_interrupt()
1126 snd_pcm_period_elapsed(chip->capture_substream); in snd_wss_interrupt()
1136 if (chip->capture_substream) { in snd_wss_interrupt()
1138 snd_pcm_period_elapsed(chip->capture_substream); in snd_wss_interrupt()
1578 chip->capture_substream = substream; in snd_wss_capture_open()
1597 chip->capture_substream = NULL; in snd_wss_capture_close()
/linux-4.1.27/sound/pci/rme9652/
Drme9652.c235 struct snd_pcm_substream *capture_substream; member
1847 if (rme9652->capture_substream) { in snd_rme9652_interrupt()
1945 other = rme9652->capture_substream; in snd_rme9652_reset()
2095 other = rme9652->capture_substream; in snd_rme9652_trigger()
2274 if (rme9652->capture_substream == NULL) { in snd_rme9652_playback_open()
2340 rme9652->capture_substream = substream; in snd_rme9652_capture_open()
2365 rme9652->capture_substream = NULL; in snd_rme9652_capture_release()
2539 rme9652->capture_substream = NULL; in snd_rme9652_create()
Dhdspm.c995 struct snd_pcm_substream *capture_substream; member
5434 if (hdspm->capture_substream) in snd_hdspm_interrupt()
5435 snd_pcm_period_elapsed(hdspm->capture_substream); in snd_hdspm_interrupt()
5487 other = hdspm->capture_substream; in snd_hdspm_reset()
5778 other = hdspm->capture_substream; in snd_hdspm_trigger()
6066 if (hdspm->capture_substream == NULL) in snd_hdspm_open()
6076 hdspm->capture_substream = substream; in snd_hdspm_open()
6143 hdspm->capture_substream = NULL; in snd_hdspm_release()
6517 hdspm->capture_substream = NULL; in snd_hdspm_create_alsa_devices()
Dhdsp.c460 struct snd_pcm_substream *capture_substream; member
3856 if (hdsp->capture_substream) in snd_hdsp_interrupt()
3968 other = hdsp->capture_substream; in snd_hdsp_reset()
4123 other = hdsp->capture_substream; in snd_hdsp_trigger()
4515 hdsp->capture_substream = substream; in snd_hdsp_capture_open()
4547 hdsp->capture_substream = NULL; in snd_hdsp_capture_release()
5041 hdsp->capture_substream = NULL; in snd_hdsp_create_alsa_devices()
/linux-4.1.27/sound/isa/es1688/
Des1688_lib.c497 snd_pcm_period_elapsed(chip->capture_substream); in snd_es1688_interrupt()
574 if (chip->capture_substream != NULL) in snd_es1688_playback_open()
590 chip->capture_substream = substream; in snd_es1688_capture_open()
609 chip->capture_substream = NULL; in snd_es1688_capture_close()
/linux-4.1.27/sound/isa/msnd/
Dmsnd.h282 struct snd_pcm_substream *capture_substream; member
Dmsnd.c594 chip->capture_substream = substream; in snd_msnd_capture_open()
Dmsnd_pinnacle.c129 snd_pcm_period_elapsed(chip->capture_substream); in snd_msnd_eval_dsp_msg()
/linux-4.1.27/sound/pci/riptide/
Driptide.c444 struct snd_pcm_substream *capture_substream; member
1104 substream[i] = chip->capture_substream; in riptide_handleirq()
1632 chip->capture_substream = substream; in snd_riptide_capture_open()
1667 chip->capture_substream = NULL; in snd_riptide_capture_close()
1956 if (chip->capture_substream in snd_riptide_proc_read()
1957 && chip->capture_substream->runtime in snd_riptide_proc_read()
1958 && (data = chip->capture_substream->runtime->private_data)) { in snd_riptide_proc_read()
/linux-4.1.27/sound/pci/ymfpci/
Dymfpci.h342 struct snd_pcm_substream *capture_substream[YDSXG_CAPTURE_VOICES]; member
Dymfpci_main.c814 if (chip->capture_substream[nvoice]) in snd_ymfpci_interrupt()
815 snd_ymfpci_pcm_capture_interrupt(chip->capture_substream[nvoice]); in snd_ymfpci_interrupt()
1047 chip->capture_substream[capture_bank_number] = substream; in snd_ymfpci_capture_open()
1120 chip->capture_substream[ypcm->capture_bank_number] = NULL; in snd_ymfpci_capture_close()
/linux-4.1.27/sound/pci/korg1212/
Dkorg1212.c372 struct snd_pcm_substream *capture_substream; member
1180 if (korg1212->capture_substream) { in snd_korg1212_interrupt()
1182 snd_pcm_period_elapsed(korg1212->capture_substream); in snd_korg1212_interrupt()
1418 korg1212->capture_substream = substream; in snd_korg1212_capture_open()
1463 korg1212->capture_substream = NULL; in snd_korg1212_capture_close()
/linux-4.1.27/sound/isa/opti9xx/
Dopti92x-ad1848.c655 if ((status & OPTi93X_IRQ_CAPTURE) && codec->capture_substream) { in snd_opti93x_interrupt()
657 snd_pcm_period_elapsed(codec->capture_substream); in snd_opti93x_interrupt()