• Home
  • Raw
  • Download

Lines Matching refs:capt

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()
1290 runtime->dma_bytes = chip->capt.hw_buf.bytes; in snd_cs46xx_capture_hw_params()
1293 if (runtime->dma_area == chip->capt.hw_buf.area) { in snd_cs46xx_capture_hw_params()
1311 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_free()
1325 snd_cs46xx_poke(chip, BA1_CBA, chip->capt.hw_buf.addr); in snd_cs46xx_capture_prepare()
1326 chip->capt.shift = 2; in snd_cs46xx_capture_prepare()
1327 memset(&chip->capt.pcm_rec, 0, sizeof(chip->capt.pcm_rec)); in snd_cs46xx_capture_prepare()
1328 chip->capt.pcm_rec.sw_buffer_size = snd_pcm_lib_buffer_bytes(substream); in snd_cs46xx_capture_prepare()
1329 chip->capt.pcm_rec.hw_buffer_size = runtime->period_size * CS46XX_FRAGS << 2; in snd_cs46xx_capture_prepare()
1362 if (chip->capt.substream) in snd_cs46xx_interrupt()
1363 snd_pcm_period_elapsed(chip->capt.substream); in snd_cs46xx_interrupt()
1392 if (chip->capt.substream) in snd_cs46xx_interrupt()
1393 snd_pcm_period_elapsed(chip->capt.substream); in snd_cs46xx_interrupt()
1586 PAGE_SIZE, &chip->capt.hw_buf) < 0) in snd_cs46xx_capture_open()
1588 chip->capt.substream = substream; in snd_cs46xx_capture_open()
1637 chip->capt.substream = NULL; in snd_cs46xx_capture_close()
1638 snd_dma_free_pages(&chip->capt.hw_buf); in snd_cs46xx_capture_close()
3277 chip->capt.ctl = tmp & 0x0000ffff; in snd_cs46xx_start_dsp()
3828 chip->capt.ctl = tmp & 0x0000ffff; in snd_cs46xx_resume()