Lines Matching refs:hw_buf
697 memcpy(cpcm->hw_buf.area + rec->hw_data, runtime->dma_area + rec->sw_data, bytes); in snd_cs46xx_pb_trans_copy()
714 chip->capt.hw_buf.area + rec->hw_data, bytes); in snd_cs46xx_cp_trans_copy()
738 ptr -= cpcm->hw_buf.addr; in snd_cs46xx_playback_direct_pointer()
755 ptr -= cpcm->hw_buf.addr; in snd_cs46xx_playback_indirect_pointer()
762 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; in snd_cs46xx_capture_direct_pointer()
769 size_t ptr = snd_cs46xx_peek(chip, BA1_CBA) - chip->capt.hw_buf.addr; in snd_cs46xx_capture_indirect_pointer()
876 cpcm, cpcm->hw_buf.addr,cpcm->pcm_channel_id); in _cs46xx_adjust_sample_rate()
889 cpcm->hw_buf.addr, in _cs46xx_adjust_sample_rate()
946 if (runtime->dma_area != cpcm->hw_buf.area) in snd_cs46xx_playback_hw_params()
948 runtime->dma_area = cpcm->hw_buf.area; in snd_cs46xx_playback_hw_params()
949 runtime->dma_addr = cpcm->hw_buf.addr; in snd_cs46xx_playback_hw_params()
950 runtime->dma_bytes = cpcm->hw_buf.bytes; in snd_cs46xx_playback_hw_params()
970 if (runtime->dma_area == cpcm->hw_buf.area) { in snd_cs46xx_playback_hw_params()
1019 if (runtime->dma_area != cpcm->hw_buf.area) in snd_cs46xx_playback_hw_free()
1088 snd_cs46xx_poke(chip, BA1_PBA, cpcm->hw_buf.addr); in snd_cs46xx_playback_prepare()
1111 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_params()
1113 runtime->dma_area = chip->capt.hw_buf.area; in snd_cs46xx_capture_hw_params()
1114 runtime->dma_addr = chip->capt.hw_buf.addr; in snd_cs46xx_capture_hw_params()
1115 runtime->dma_bytes = chip->capt.hw_buf.bytes; in snd_cs46xx_capture_hw_params()
1118 if (runtime->dma_area == chip->capt.hw_buf.area) { in snd_cs46xx_capture_hw_params()
1136 if (runtime->dma_area != chip->capt.hw_buf.area) in snd_cs46xx_capture_hw_free()
1150 snd_cs46xx_poke(chip, BA1_CBA, chip->capt.hw_buf.addr); in snd_cs46xx_capture_prepare()
1321 PAGE_SIZE, &cpcm->hw_buf) < 0) { in _cs46xx_playback_open_channel()
1411 PAGE_SIZE, &chip->capt.hw_buf) < 0) in snd_cs46xx_capture_open()
1452 snd_dma_free_pages(&cpcm->hw_buf); in snd_cs46xx_playback_close()
1463 snd_dma_free_pages(&chip->capt.hw_buf); in snd_cs46xx_capture_close()