Lines Matching refs:dscr_info
75 struct dma_descriptor *dscr_info) in configure_dma_descriptor() argument
84 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset, dscr_info->src_addr); in configure_dma_descriptor()
85 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x4, dscr_info->dest_addr); in configure_dma_descriptor()
86 snd_sof_dsp_write(sdev, ACP_DSP_BAR, offset + 0x8, dscr_info->tx_cnt.u32_all); in configure_dma_descriptor()
120 unsigned int dscr_count, struct dma_descriptor *dscr_info) in acpbus_dma_start() argument
126 if (!dscr_info || !dscr_count) in acpbus_dma_start()
130 configure_dma_descriptor(adata, dscr, dscr_info++); in acpbus_dma_start()
148 adata->dscr_info[desc_count].src_addr = src_addr + desc_count * ACP_PAGE_SIZE; in configure_and_run_dma()
149 adata->dscr_info[desc_count].dest_addr = dest_addr + desc_count * ACP_PAGE_SIZE; in configure_and_run_dma()
150 adata->dscr_info[desc_count].tx_cnt.bits.count = ACP_PAGE_SIZE; in configure_and_run_dma()
152 adata->dscr_info[desc_count].tx_cnt.bits.count = dsp_data_size; in configure_and_run_dma()
155 ret = acpbus_dma_start(adata, 0, desc_count, adata->dscr_info); in configure_and_run_dma()
161 memset(&adata->dscr_info[index], 0x00, sizeof(struct dma_descriptor)); in configure_and_run_dma()