Searched refs:capt (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 886 chip->capt.hw_buf.area + rec->hw_data, bytes); in snd_cs46xx_cp_trans_copy() 892 return snd_pcm_indirect_capture_transfer(substream, &chip->capt.pcm_rec, in snd_cs46xx_capture_transfer() 934 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; in snd_cs46xx_capture_direct_pointer() 935 return ptr >> chip->capt.shift; in snd_cs46xx_capture_direct_pointer() 941 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; in snd_cs46xx_capture_indirect_pointer() 942 return snd_pcm_indirect_capture_pointer(substream, &chip->capt.pcm_rec, ptr); in snd_cs46xx_capture_indirect_pointer() 1023 snd_cs46xx_poke(chip, BA1_CCTL, chip->capt.ctl | tmp); in snd_cs46xx_capture_trigger() 1281 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_params() 1283 snd_pcm_set_runtime_buffer(substream, &chip->capt.hw_buf); in snd_cs46xx_capture_hw_params() 1286 if (runtime->dma_area == chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_params() [all …]
|
D | cs46xx.h | 1664 } capt; member
|
/linux-6.1.9/sound/drivers/ |
D | aloop.c | 526 struct loopback_pcm *capt, in copy_play_buf() argument 531 char *dst = capt->substream->runtime->dma_area; in copy_play_buf() 533 unsigned int dst_off = capt->buf_pos; in copy_play_buf() 557 if (dst_off + size > capt->pcm_buffer_size) in copy_play_buf() 558 size = capt->pcm_buffer_size - dst_off; in copy_play_buf() 560 capt->silent_size = 0; in copy_play_buf() 565 dst_off = (dst_off + size) % capt->pcm_buffer_size; in copy_play_buf() 569 clear_capture_buf(capt, clear_bytes); in copy_play_buf() 570 capt->silent_size = 0; in copy_play_buf()
|
/linux-6.1.9/sound/pci/ice1712/ |
D | ice1724.c | 1103 int capt, err; in snd_vt1724_pcm_profi() local 1107 capt = 0; in snd_vt1724_pcm_profi() 1109 capt = 1; in snd_vt1724_pcm_profi() 1110 err = snd_pcm_new(ice->card, "ICE1724", device, 1, capt, &pcm); in snd_vt1724_pcm_profi() 1115 if (capt) in snd_vt1724_pcm_profi() 1281 int play, capt; in snd_vt1724_pcm_spdif() local 1292 capt = 1; in snd_vt1724_pcm_spdif() 1295 capt = 0; in snd_vt1724_pcm_spdif() 1296 if (!play && !capt) in snd_vt1724_pcm_spdif() 1303 err = snd_pcm_new(ice->card, name, device, play, capt, &pcm); in snd_vt1724_pcm_spdif() [all …]
|