Home
last modified time | relevance | path

Searched refs:capture (Results 1 – 25 of 215) sorted by relevance

123456789

/sound/soc/samsung/
Ddmaengine.c46 struct s3c_dma_params *capture) in samsung_asoc_init_dma_data() argument
58 if (capture) { in samsung_asoc_init_dma_data()
59 capture_data = &capture->dma_data; in samsung_asoc_init_dma_data()
60 capture_data->filter_data = capture->slave; in samsung_asoc_init_dma_data()
61 capture_data->chan_name = capture->ch_name; in samsung_asoc_init_dma_data()
62 capture_data->addr = capture->dma_addr; in samsung_asoc_init_dma_data()
63 capture_data->addr_width = capture->dma_size; in samsung_asoc_init_dma_data()
Ddma.h27 struct s3c_dma_params *capture);
Ds3c-i2s-v2.c390 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in s3c2412_i2s_trigger() local
400 writel(capture ? S3C2412_IISFIC_RXFLUSH : S3C2412_IISFIC_TXFLUSH, in s3c2412_i2s_trigger()
416 if (capture) in s3c2412_i2s_trigger()
430 if (capture) in s3c2412_i2s_trigger()
/sound/soc/fsl/
Dmpc5200_dma.c41 if (psc_dma->capture.active && (isr & MPC52xx_PSC_IMR_ORERR)) in psc_dma_status_irq()
181 if (psc_dma->capture.active) in psc_dma_trigger()
222 s = &psc_dma->capture; in psc_dma_open()
248 s = &psc_dma->capture; in psc_dma_close()
253 !psc_dma->capture.active) { in psc_dma_close()
272 s = &psc_dma->capture; in psc_dma_pointer()
413 psc_dma->capture.psc_dma = psc_dma; in mpc5200_audio_dma_create()
419 psc_dma->capture.bcom_task = in mpc5200_audio_dma_create()
423 if (!psc_dma->capture.bcom_task || in mpc5200_audio_dma_create()
457 psc_dma->capture.irq = in mpc5200_audio_dma_create()
[all …]
Dmpc5200_dma.h66 struct psc_dma_stream capture; member
80 return &psc_dma->capture; in to_psc_dma_stream()
/sound/soc/sh/rcar/
Dcore.c555 return &rdai->capture; in rsnd_rdai_to_io()
732 struct device_node *playback, *capture; in rsnd_of_parse_dai() local
775 if (name##_np == capture) \ in rsnd_of_parse_dai()
776 dai_info->capture.name = name##_info; \ in rsnd_of_parse_dai()
792 capture = of_parse_phandle(dai_np, "capture", i); in rsnd_of_parse_dai()
794 if (!playback && !capture) in rsnd_of_parse_dai()
802 of_node_put(capture); in rsnd_of_parse_dai()
844 cmod = rdai[i].info->capture.ssi; in rsnd_dai_probe()
866 drv[i].capture.rates = RSND_RATES; in rsnd_dai_probe()
867 drv[i].capture.formats = RSND_FMTS; in rsnd_dai_probe()
[all …]
/sound/drivers/vx/
Dvx_mixer.c217 static int vx_adjust_audio_level(struct vx_core *chip, int audio, int capture, in vx_adjust_audio_level() argument
226 if (capture) in vx_adjust_audio_level()
256 static int vx_read_audio_level(struct vx_core *chip, int audio, int capture,
264 if (capture)
315 static int vx_set_audio_gain(struct vx_core *chip, int audio, int capture, int level) in vx_set_audio_gain() argument
322 chip->audio_gain[capture][audio] = level; in vx_set_audio_gain()
323 return vx_adjust_audio_level(chip, audio, capture, &info); in vx_set_audio_gain()
375 static int vx_get_audio_vu_meter(struct vx_core *chip, int audio, int capture, struct vx_vu_meter *… in vx_get_audio_vu_meter() argument
385 if (capture) in vx_get_audio_vu_meter()
604 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_get() local
[all …]
Dvx_pcm.c405 static int vx_alloc_pipe(struct vx_core *chip, int capture, in vx_alloc_pipe() argument
416 vx_set_pipe_cmd_params(&rmh, capture, audioid, num_audio); in vx_alloc_pipe()
422 if (! capture && data_mode) in vx_alloc_pipe()
433 vx_set_pipe_cmd_params(&rmh, capture, audioid, 0); in vx_alloc_pipe()
440 pipe->is_capture = capture; in vx_alloc_pipe()
1136 int p, buf, capture, eob; in vx_pcm_update_intr() local
1138 capture = (chip->irq_rmh.Stat[i] & 0x400000) ? 1 : 0; in vx_pcm_update_intr()
1149 if (capture) in vx_pcm_update_intr()
/sound/soc/sh/
Dsiu_dai.c72 struct format_flag capture; member
85 .capture = {
99 .capture = {
148 siu_write32(base + SIU_SBDVCB, port_info->capture.volume); in siu_dai_start()
384 vol = port_info->capture.volume; in siu_dai_get_volume()
428 cur_vol = port_info->capture.volume; in siu_dai_put_volume()
430 port_info->capture.volume = new_vol; in siu_dai_put_volume()
477 (*port_info)->capture.volume = DFLT_VOLUME_LEVEL; in siu_init_port()
546 if (WARN_ON(port_info->playback.rw_flg || port_info->capture.rw_flg)) in siu_dai_shutdown()
572 siu_stream = &port_info->capture; in siu_dai_prepare()
[all …]
Dsiu_pcm.c167 struct siu_stream *siu_stream = &port_info->capture; in siu_pcm_rd_set()
255 struct siu_stream *siu_stream = &port_info->capture; in siu_pcm_stmread_start()
277 struct siu_stream *siu_stream = &port_info->capture; in siu_pcm_stmread_stop()
322 siu_stream = &port_info->capture; in siu_pcm_hw_free()
363 siu_stream = &port_info->capture; in siu_pcm_open()
393 siu_stream = &port_info->capture; in siu_pcm_close()
415 siu_stream = &port_info->capture; in siu_pcm_prepare()
504 siu_stream = &port_info->capture; in siu_pcm_pointer_dma()
570 tasklet_init(&(*port_info)->capture.tasklet, siu_io_tasklet, in siu_pcm_new()
571 (unsigned long)&(*port_info)->capture); in siu_pcm_new()
[all …]
Dfsi.c256 struct fsi_stream capture; member
479 fsi->capture.oerr_num++; in fsi_count_fifo_err()
482 fsi->capture.uerr_num++; in fsi_count_fifo_err()
500 return fsi_is_play(substream) ? &fsi->playback : &fsi->capture; in fsi_stream_get()
594 io = &fsi->capture; in fsi_stream_probe()
613 io = &fsi->capture; in fsi_stream_remove()
704 data |= AB_IO(1, fsi_get_port_shift(fsi, &fsi->capture)); in fsi_irq_clear_status()
1256 fsi_stream_transfer(&master->fsia.capture); in fsi_interrupt()
1258 fsi_stream_transfer(&master->fsib.capture); in fsi_interrupt()
1401 fsi->capture.handler = &fsi_pio_pop_handler; in fsi_dma_probe()
[all …]
/sound/usb/misc/
Dua101.c132 } capture, playback; member
360 struct ua101_stream *stream = &ua->capture; in capture_urb_complete()
506 kill_stream_urbs(&ua->capture); in stop_usb_capture()
521 kill_stream_urbs(&ua->capture); in start_usb_capture()
528 ua->capture.urbs[0]->urb.complete = first_capture_urb_complete; in start_usb_capture()
533 err = submit_stream_urbs(ua, &ua->capture); in start_usb_capture()
619 snd_pcm_stream_lock_irqsave(ua->capture.substream, flags); in abort_alsa_capture()
620 snd_pcm_stop(ua->capture.substream, SNDRV_PCM_STATE_XRUN); in abort_alsa_capture()
621 snd_pcm_stream_unlock_irqrestore(ua->capture.substream, flags); in abort_alsa_capture()
674 ua->capture.substream = substream; in capture_pcm_open()
[all …]
/sound/ppc/
Dpmac.c151 return &chip->capture; in snd_pmac_get_stream()
374 return snd_pmac_pcm_prepare(chip, &chip->capture, subs); in snd_pmac_capture_prepare()
381 return snd_pmac_pcm_trigger(chip, &chip->capture, subs, cmd); in snd_pmac_capture_trigger()
387 return snd_pmac_pcm_pointer(chip, &chip->capture, subs); in snd_pmac_capture_pointer()
665 return snd_pmac_pcm_open(chip, &chip->capture, subs); in snd_pmac_capture_open()
679 return snd_pmac_pcm_close(chip, &chip->capture, subs); in snd_pmac_capture_close()
733 chip->capture.cur_formats = chip->formats_ok; in snd_pmac_pcm_new()
735 chip->capture.cur_freqs = chip->freqs_ok; in snd_pmac_pcm_new()
750 out_le32(&chip->capture.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16); in snd_pmac_dbdma_reset()
751 snd_pmac_wait_ack(&chip->capture); in snd_pmac_dbdma_reset()
[all …]
/sound/pci/emu10k1/
Demufx.c1176 const int capture = playback + (SND_EMU10K1_PLAYBACK_CHANNELS * 2); /* we reserve 10 voices */ in _snd_emu10k1_audigy_init_efx() local
1177 const int stereo_mix = capture + 2; in _snd_emu10k1_audigy_init_efx()
1276 A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT)); in _snd_emu10k1_audigy_init_efx()
1277 A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT)); in _snd_emu10k1_audigy_init_efx()
1282 A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_FXBUS(FXBUS_MIDI_LEFT)); in _snd_emu10k1_audigy_init_efx()
1283 …A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture+1), A_GPR(gpr+1), A_FXBUS(FXBUS_MIDI_RIGH… in _snd_emu10k1_audigy_init_efx()
1298 A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_GPR(tmp)); in _snd_emu10k1_audigy_init_efx()
1300 A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture+1), A_GPR(gpr), A_GPR(tmp)); in _snd_emu10k1_audigy_init_efx()
1302 A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_P16VIN(0x0)); in _snd_emu10k1_audigy_init_efx()
1303 A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture+1), A_GPR(gpr+1), A_P16VIN(0x1)); in _snd_emu10k1_audigy_init_efx()
[all …]
/sound/soc/codecs/
Dadav80x.c370 unsigned int capture = 0x00; in adav80x_set_dai_fmt() local
375 capture |= ADAV80X_CAPTURE_MODE_MASTER; in adav80x_set_dai_fmt()
385 capture |= ADAV80X_CAPTURE_MODE_I2S; in adav80x_set_dai_fmt()
389 capture |= ADAV80X_CAPTURE_MODE_LEFT_J; in adav80x_set_dai_fmt()
393 capture |= ADAV80X_CAPTURE_MODE_RIGHT_J; in adav80x_set_dai_fmt()
409 capture); in adav80x_set_dai_fmt()
772 .capture = {
791 .capture = {
Dwm8782.c41 .capture = {
Ddmic.c32 .capture = {
/sound/usb/6fire/
Dpcm.c129 return &rt->capture; in usb6fire_pcm_get_substream()
319 sub = &rt->capture; in usb6fire_pcm_in_urb_handler()
411 sub = &rt->capture; in usb6fire_pcm_open()
444 if (!rt->playback.instance && !rt->capture.instance) { in usb6fire_pcm_close()
641 spin_lock_init(&rt->capture.lock); in usb6fire_pcm_init()
695 if (rt->capture.instance) { in usb6fire_pcm_abort()
696 snd_pcm_stream_lock_irqsave(rt->capture.instance, flags); in usb6fire_pcm_abort()
697 snd_pcm_stop(rt->capture.instance, in usb6fire_pcm_abort()
699 snd_pcm_stream_unlock_irqrestore(rt->capture.instance, flags); in usb6fire_pcm_abort()
Dpcm.h55 struct pcm_substream capture; member
/sound/soc/pxa/
Dpxa2xx-ac97.c167 .capture = {
184 .capture = {
195 .capture = {
/sound/pci/mixart/
Dmixart.h216 u32 capture; member
221 struct mixart_pipe *snd_mixart_add_ref_pipe(struct snd_mixart *chip, int pcm_number, int capture, i…
/sound/soc/
Dsoc-pcm.c359 if (codec_dai->driver->capture.sig_bits == 0) { in soc_pcm_apply_msb()
363 bits = max(codec_dai->driver->capture.sig_bits, bits); in soc_pcm_apply_msb()
365 cpu_bits = cpu_dai->driver->capture.sig_bits; in soc_pcm_apply_msb()
390 cpu_stream = &cpu_dai_drv->capture; in soc_pcm_init_runtime_hw()
398 codec_stream = &codec_dai_drv->capture; in soc_pcm_init_runtime_hw()
1526 dpcm_init_runtime_hw(runtime, &cpu_dai_drv->capture); in dpcm_set_fe_runtime()
2297 goto capture; in soc_dpcm_runtime_update()
2324 capture: in soc_dpcm_runtime_update()
2326 if (!fe->cpu_dai->driver->capture.channels_min) in soc_dpcm_runtime_update()
2456 int ret = 0, playback = 0, capture = 0; in soc_new_pcm() local
[all …]
/sound/soc/dwc/
Ddesignware_i2s.c422 dw_i2s_dai->capture.channels_min = MIN_CHANNEL_NUM; in dw_i2s_probe()
423 dw_i2s_dai->capture.channels_max = pdata->channel; in dw_i2s_probe()
424 dw_i2s_dai->capture.formats = pdata->snd_fmts; in dw_i2s_probe()
425 dw_i2s_dai->capture.rates = pdata->snd_rates; in dw_i2s_probe()
/sound/soc/kirkwood/
Dkirkwood-i2s.c452 .capture = {
471 .capture = {
494 .capture = {
515 .capture = {
/sound/arm/
Daaci.c212 struct aaci_runtime *aacirun = &aaci->capture; in aaci_fifo_irq()
412 aacirun = &aaci->capture; in aaci_pcm_open()
883 aaci->capture.pcm = &ac97_bus->pcms[1]; in aaci_probe_ac97()
1019 spin_lock_init(&aaci->capture.lock); in aaci_probe()
1020 aaci->capture.base = aaci->base + AACI_CSCH1; in aaci_probe()
1021 aaci->capture.fifo = aaci->base + AACI_DR1; in aaci_probe()

123456789