Lines Matching refs:rx_dma_buf
70 bf5xx_ac97_to_pcm((struct ac97_frame *)sport->rx_dma_buf + in bf5xx_mmap_copy()
142 memset(sport->rx_dma_buf, 0, runtime->buffer_size * in bf5xx_pcm_hw_free()
164 sport_config_rx_dma(sport, sport->rx_dma_buf, runtime->periods, in bf5xx_pcm_prepare()
363 if (!sport_handle->rx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer()
364 sport_handle->rx_dma_buf = dma_alloc_coherent(NULL, \ in bf5xx_pcm_preallocate_dma_buffer()
366 if (!sport_handle->rx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer()
370 memset(sport_handle->rx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
372 memset(sport_handle->rx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
408 if (sport_handle->rx_dma_buf) in bf5xx_pcm_free_dma_buffers()
410 sport_handle->rx_dma_buf, 0); in bf5xx_pcm_free_dma_buffers()
411 sport_handle->rx_dma_buf = NULL; in bf5xx_pcm_free_dma_buffers()