Lines Matching refs:capt
706 chip->capt.hw_buf.area + rec->hw_data, bytes);
712 snd_pcm_indirect_capture_transfer(substream, &chip->capt.pcm_rec, snd_cs46xx_cp_trans_copy);
751 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr;
752 return ptr >> chip->capt.shift;
758 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr;
759 return snd_pcm_indirect_capture_pointer(substream, &chip->capt.pcm_rec, ptr);
840 snd_cs46xx_poke(chip, BA1_CCTL, chip->capt.ctl | tmp);
1098 if (runtime->dma_area != chip->capt.hw_buf.area)
1100 runtime->dma_area = chip->capt.hw_buf.area;
1101 runtime->dma_addr = chip->capt.hw_buf.addr;
1102 runtime->dma_bytes = chip->capt.hw_buf.bytes;
1105 if (runtime->dma_area == chip->capt.hw_buf.area) {
1123 if (runtime->dma_area != chip->capt.hw_buf.area)
1137 snd_cs46xx_poke(chip, BA1_CBA, chip->capt.hw_buf.addr);
1138 chip->capt.shift = 2;
1139 memset(&chip->capt.pcm_rec, 0, sizeof(chip->capt.pcm_rec));
1140 chip->capt.pcm_rec.sw_buffer_size = snd_pcm_lib_buffer_bytes(substream);
1141 chip->capt.pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << 2;
1174 if (chip->capt.substream)
1175 snd_pcm_period_elapsed(chip->capt.substream);
1204 if (chip->capt.substream)
1205 snd_pcm_period_elapsed(chip->capt.substream);
1398 PAGE_SIZE, &chip->capt.hw_buf) < 0)
1400 chip->capt.substream = substream;
1449 chip->capt.substream = NULL;
1450 snd_dma_free_pages(&chip->capt.hw_buf);
3159 chip->capt.ctl = tmp & 0x0000ffff;