Searched defs:capture (Results 1 - 25 of 26) sorted by relevance

12

/sound/soc/fsl/
H A Dmpc5200_dma.h11 * psc_ac97_stream - Data specific to a single stream (playback or capture)
48 * @capture: Capture stream context data
66 struct psc_dma_stream capture; member in struct:psc_dma
80 return &psc_dma->capture;
H A Dfsl_ssi.c80 * @capture: the number of capture streams opened
94 unsigned int capture; member in struct:fsl_ssi_private
290 if (!ssi_private->playback && !ssi_private->capture) {
394 ? "capture" : "playback");
415 ssi_private->capture++;
426 * cause a problem with supporting simultaneous playback and capture. If
428 * stopped when you start capture.
446 /* In synchronous mode, the SSI uses STCCR for capture */
517 ssi_private->capture
[all...]
/sound/usb/6fire/
H A Dpcm.h56 struct pcm_substream capture; member in struct:pcm_runtime
/sound/i2c/
H A Dcs8427.c56 struct cs8427_stream capture; member in struct:cs8427
536 chip->capture.substream = cap_substream;
/sound/soc/samsung/
H A Ds3c-i2s-v2.c397 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local
409 writel(capture ? S3C2412_IISFIC_RXFLUSH : S3C2412_IISFIC_TXFLUSH,
425 if (capture)
446 if (capture)
H A Di2s.c834 int capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); local
850 if (capture)
862 if (capture)
867 if (capture)
1062 i2s->i2s_dai_drv.capture.channels_min = 2;
1063 i2s->i2s_dai_drv.capture.channels_max = 2;
1064 i2s->i2s_dai_drv.capture.rates = SAMSUNG_I2S_RATES;
1065 i2s->i2s_dai_drv.capture.formats = SAMSUNG_I2S_FMTS;
/sound/atmel/
H A Dac97c.c767 int capture, playback, retval, err; local
769 capture = test_bit(DMA_RX_CHAN_PRESENT, &chip->flags);
780 chip->pdev->id, playback, capture, &pcm);
784 if (capture)
/sound/drivers/vx/
H A Dvx_pcm.c33 * for capture, the situation is much easier.
34 * to get a low latency response, we'll check the capture streams at each
35 * interrupt (capture stream has no EOB notification). if the pending
398 * @capture: 0 = playback, 1 = capture operation
405 static int vx_alloc_pipe(struct vx_core *chip, int capture, argument
416 vx_set_pipe_cmd_params(&rmh, capture, audioid, num_audio);
422 if (! capture && data_mode)
433 vx_set_pipe_cmd_params(&rmh, capture, audioid, 0);
440 pipe->is_capture = capture;
1157 int p, buf, capture, eob; local
[all...]
H A Dvx_mixer.c221 static int vx_adjust_audio_level(struct vx_core *chip, int audio, int capture, argument
230 if (capture)
260 static int vx_read_audio_level(struct vx_core *chip, int audio, int capture,
268 if (capture)
319 static int vx_set_audio_gain(struct vx_core *chip, int audio, int capture, int level) argument
326 chip->audio_gain[capture][audio] = level;
327 return vx_adjust_audio_level(chip, audio, capture, &info);
376 * @capture: 0 = playback, 1 = capture operation
379 static int vx_get_audio_vu_meter(struct vx_core *chip, int audio, int capture, struc argument
608 int capture = (kcontrol->private_value >> 8) & 1; local
621 int capture = (kcontrol->private_value >> 8) & 1; local
869 int capture = (kcontrol->private_value >> 8) & 1; local
882 int capture = (kcontrol->private_value >> 8) & 1; local
[all...]
/sound/isa/gus/
H A Dgus_pcm.c858 int capture, err; local
863 capture = !gus->interwave && !gus->ess_flag && !gus->ace_flag ? 1 : 0;
868 capture,
883 if (capture) {
/sound/pci/emu10k1/
H A Dp16v.c27 * Mic capture now works at fixed: S32_LE, 96000Hz, Stereo.
45 * Implement different capture rates.
47 * Implement different capture source channels.
52 * Include capture buffer sizes.
60 * Find out how to change capture sample rates. E.g. To record SPDIF at 48000Hz.
61 * Currently capture fixed at 48000Hz.
399 /* prepare capture callback */
408 printk(KERN_DEBUG "prepare capture:channel_number=%d, rate=%d, "
591 printk(KERN_WARNING "buffer capture limited!\n");
645 int capture local
[all...]
H A Demufx.c44 #if 0 /* for testing purposes - digital out -> capture */
1147 * Used for emu1010 - conversion from 32-bit capture inputs from HANA
1176 const int capture = playback + (SND_EMU10K1_PLAYBACK_CHANNELS * 2); /* we reserve 10 voices */ local
1177 const int stereo_mix = capture + 2;
1271 A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT));
1272 A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT));
1277 A_OP(icode, &ptr, iMAC0, A_GPR(capture+0), A_GPR(capture+0), A_GPR(gpr), A_FXBUS(FXBUS_MIDI_LEFT));
1278 A_OP(icode, &ptr, iMAC0, A_GPR(capture+1), A_GPR(capture
1808 int err, i, z, gpr, tmp, playback, capture; local
[all...]
H A Demu10k1x.c81 #define IPR_CAP_0_LOOP 0x00080000 /* Channel capture loop */
82 #define IPR_CAP_0_HALF_LOOP 0x00010000 /* Channel capture half loop */
89 #define INTE_CAP_0_LOOP 0x00080000 /* Channel capture loop */
90 #define INTE_CAP_0_HALF_LOOP 0x00010000 /* Channel capture half loop */
123 /* Only one capture channel supported */
135 #define TRIGGER_CAPTURE 0x00000100 /* Trigger capture channel */
184 * The hardware has 3 channels for playback and 1 for capture.
630 /* prepare capture callback */
796 // capture interrupt
837 int capture local
[all...]
/sound/pci/mixart/
H A Dmixart.c217 snd_mixart_add_ref_pipe(struct snd_mixart *chip, int pcm_number, int capture, argument
224 if(capture) {
284 if(capture) j += MIXART_PLAYBACK_STREAMS; /* in the array capture is behind playback */
298 if(capture) {
622 i += MIXART_PLAYBACK_STREAMS; /* in array capture is behind playback */
H A Dmixart.h220 u32 capture; member in struct:mixart_flowinfo
225 struct mixart_pipe *snd_mixart_add_ref_pipe(struct snd_mixart *chip, int pcm_number, int capture, int monitoring);
/sound/pci/pcxhr/
H A Dpcxhr_mixer.c105 } else { /* capture */
129 } else { /* capture */
302 int capture, int channel)
308 if (capture)
315 pcxhr_set_pipe_cmd_params(&rmh, capture, 0, 0,
319 if (capture) {
322 * (capture pipe level) */
367 if (is_capture) /* digital capture */
388 if (is_capture) /* digital capture */
400 if (is_capture) /* update capture volum
301 pcxhr_update_audio_pipe_level(struct snd_pcxhr *chip, int capture, int channel) argument
[all...]
H A Dpcxhr_core.c734 void pcxhr_set_pipe_cmd_params(struct pcxhr_rmh *rmh, int capture, argument
739 if (capture)
775 * next 12 bits are the pipe states for the capture audios
801 /* can start capture pipe */
839 /* stop capture pipe */
/sound/ppc/
H A Dpmac.h61 * playback/capture stream
136 struct pmac_stream capture; member in struct:snd_pmac
/sound/soc/sh/
H A Dsiu.h133 struct siu_stream capture; member in struct:siu_port
H A Dsiu_dai.c71 struct format_flag capture; member in struct:port_flag
84 .capture = {
98 .capture = {
150 siu_write32(base + SIU_SBDVCB, port_info->capture.volume);
340 /* Playback and capture hardware properties are identical */
389 vol = port_info->capture.volume;
433 cur_vol = port_info->capture.volume;
435 port_info->capture.volume = new_vol;
482 (*port_info)->capture.volume = DFLT_VOLUME_LEVEL;
501 "failed to add capture control
[all...]
H A Dfsi.c150 struct fsi_stream capture; member in struct:fsi_priv
329 return is_play ? &fsi->playback : &fsi->capture;
430 fsi->capture.oerr_num++;
433 fsi->capture.uerr_num++;
717 * for capture
1160 .capture = {
1176 .capture = {
/sound/arm/
H A Daaci.h241 struct aaci_runtime capture; member in struct:aaci
/sound/usb/misc/
H A Dua101.c103 /* FIFO to synchronize playback rate to capture rate */
132 } capture, playback; member in struct:ua101
273 * Synchronizing the playback rate to the capture rate is done by using
276 * the size of the corresponding capture packet, i.e., both playback
277 * and capture URBs must have been completed. Since the USB core does
278 * not guarantee that playback and capture complete callbacks are
360 struct ua101_stream *stream = &ua->capture;
506 kill_stream_urbs(&ua->capture);
521 kill_stream_urbs(&ua->capture);
528 ua->capture
[all...]
/sound/soc/
H A Dsoc-core.c604 max(codec_dai_drv->capture.rate_min,
605 cpu_dai_drv->capture.rate_min);
607 min(codec_dai_drv->capture.rate_max,
608 cpu_dai_drv->capture.rate_max);
610 max(codec_dai_drv->capture.channels_min,
611 cpu_dai_drv->capture.channels_min);
613 min(codec_dai_drv->capture.channels_max,
614 cpu_dai_drv->capture.channels_max);
616 codec_dai_drv->capture.formats & cpu_dai_drv->capture
2122 int ret = 0, playback = 0, capture = 0; local
[all...]
/sound/pci/
H A Des1968.c432 /* capture mixing buffer size */
467 /* playback/capture pcm buffer */
469 /* capture mixer buffer */
481 int mode; /* playback / capture */
996 int channel, u32 addr, int capture)
1000 if (! capture) {
995 snd_es1968_program_wavecache(struct es1968 *chip, struct esschan *es, int channel, u32 addr, int capture) argument

Completed in 275 milliseconds

12