Searched refs:capt (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/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() 1286 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_params() 1288 runtime->dma_area = chip->capt.hw_buf.area; in snd_cs46xx_capture_hw_params() 1289 runtime->dma_addr = chip->capt.hw_buf.addr; in snd_cs46xx_capture_hw_params() [all …]
|
D | cs46xx.h | 1665 } capt; member
|
/Linux-v5.10/sound/drivers/ |
D | aloop.c | 527 struct loopback_pcm *capt, in copy_play_buf() argument 532 char *dst = capt->substream->runtime->dma_area; in copy_play_buf() 534 unsigned int dst_off = capt->buf_pos; in copy_play_buf() 558 if (dst_off + size > capt->pcm_buffer_size) in copy_play_buf() 559 size = capt->pcm_buffer_size - dst_off; in copy_play_buf() 561 capt->silent_size = 0; in copy_play_buf() 566 dst_off = (dst_off + size) % capt->pcm_buffer_size; in copy_play_buf() 570 clear_capture_buf(capt, clear_bytes); in copy_play_buf() 571 capt->silent_size = 0; in copy_play_buf()
|
/Linux-v5.10/sound/pci/ice1712/ |
D | ice1724.c | 1122 int capt, err; in snd_vt1724_pcm_profi() local 1126 capt = 0; in snd_vt1724_pcm_profi() 1128 capt = 1; in snd_vt1724_pcm_profi() 1129 err = snd_pcm_new(ice->card, "ICE1724", device, 1, capt, &pcm); in snd_vt1724_pcm_profi() 1134 if (capt) in snd_vt1724_pcm_profi() 1300 int play, capt; in snd_vt1724_pcm_spdif() local 1311 capt = 1; in snd_vt1724_pcm_spdif() 1314 capt = 0; in snd_vt1724_pcm_spdif() 1315 if (!play && !capt) in snd_vt1724_pcm_spdif() 1322 err = snd_pcm_new(ice->card, name, device, play, capt, &pcm); in snd_vt1724_pcm_spdif() [all …]
|