Lines Matching refs:tx_dma_buf
62 bf5xx_pcm_to_ac97((struct ac97_frame *)sport->tx_dma_buf + in bf5xx_mmap_copy()
139 memset(sport->tx_dma_buf, 0, runtime->buffer_size * in bf5xx_pcm_hw_free()
160 sport_config_tx_dma(sport, sport->tx_dma_buf, runtime->periods, in bf5xx_pcm_prepare()
352 if (!sport_handle->tx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer()
353 sport_handle->tx_dma_buf = dma_alloc_coherent(NULL, \ in bf5xx_pcm_preallocate_dma_buffer()
355 if (!sport_handle->tx_dma_buf) { in bf5xx_pcm_preallocate_dma_buffer()
359 memset(sport_handle->tx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
361 memset(sport_handle->tx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
402 if (sport_handle->tx_dma_buf) in bf5xx_pcm_free_dma_buffers()
404 sport_handle->tx_dma_buf, 0); in bf5xx_pcm_free_dma_buffers()
405 sport_handle->tx_dma_buf = NULL; in bf5xx_pcm_free_dma_buffers()