Home
last modified time | relevance | path

Searched refs:capt (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/sound/arm/
Dpxa2xx-pcm.c89 int capt = client->capture_params ? 1 : 0; in pxa2xx_pcm_new() local
92 ret = snd_pcm_new(card, "PXA2xx-PCM", 0, play, capt, &pcm); in pxa2xx_pcm_new()
111 if (capt) { in pxa2xx_pcm_new()
/linux-2.6.39/sound/pci/cs46xx/
Dcs46xx_lib.c713 chip->capt.hw_buf.area + rec->hw_data, bytes); in snd_cs46xx_cp_trans_copy()
719 snd_pcm_indirect_capture_transfer(substream, &chip->capt.pcm_rec, snd_cs46xx_cp_trans_copy); in snd_cs46xx_capture_transfer()
761 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; in snd_cs46xx_capture_direct_pointer()
762 return ptr >> chip->capt.shift; in snd_cs46xx_capture_direct_pointer()
768 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; in snd_cs46xx_capture_indirect_pointer()
769 return snd_pcm_indirect_capture_pointer(substream, &chip->capt.pcm_rec, ptr); in snd_cs46xx_capture_indirect_pointer()
850 snd_cs46xx_poke(chip, BA1_CCTL, chip->capt.ctl | tmp); in snd_cs46xx_capture_trigger()
1110 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_params()
1112 runtime->dma_area = chip->capt.hw_buf.area; in snd_cs46xx_capture_hw_params()
1113 runtime->dma_addr = chip->capt.hw_buf.addr; in snd_cs46xx_capture_hw_params()
[all …]
/linux-2.6.39/sound/drivers/
Daloop.c399 struct loopback_pcm *capt, in copy_play_buf() argument
404 char *dst = capt->substream->runtime->dma_area; in copy_play_buf()
406 unsigned int dst_off = capt->buf_pos; in copy_play_buf()
430 if (dst_off + size > capt->pcm_buffer_size) in copy_play_buf()
431 size = capt->pcm_buffer_size - dst_off; in copy_play_buf()
433 capt->silent_size = 0; in copy_play_buf()
438 dst_off = (dst_off + size) % capt->pcm_buffer_size; in copy_play_buf()
442 clear_capture_buf(capt, clear_bytes); in copy_play_buf()
443 capt->silent_size = 0; in copy_play_buf()
/linux-2.6.39/sound/pci/ice1712/
Dice1724.c1292 int play, capt; in snd_vt1724_pcm_spdif() local
1303 capt = 1; in snd_vt1724_pcm_spdif()
1306 capt = 0; in snd_vt1724_pcm_spdif()
1307 if (!play && !capt) in snd_vt1724_pcm_spdif()
1314 err = snd_pcm_new(ice->card, name, device, play, capt, &pcm); in snd_vt1724_pcm_spdif()
1321 if (capt) in snd_vt1724_pcm_spdif()
/linux-2.6.39/include/sound/
Dcs46xx.h1680 } capt; member