Lines Matching refs:size
121 size_t size = bf5xx_pcm_hardware.buffer_bytes_max in bf5xx_pcm_hw_params() local
124 snd_pcm_lib_malloc_pages(substream, size); in bf5xx_pcm_hw_params()
275 size_t size = vma->vm_end - vma->vm_start; in bf5xx_pcm_mmap() local
277 vma->vm_end = vma->vm_start + size; in bf5xx_pcm_mmap()
323 size_t size = bf5xx_pcm_hardware.buffer_bytes_max in bf5xx_pcm_preallocate_dma_buffer() local
329 buf->area = dma_alloc_coherent(pcm->card->dev, size, in bf5xx_pcm_preallocate_dma_buffer()
336 buf->bytes = size; in bf5xx_pcm_preallocate_dma_buffer()
354 size, &sport_handle->tx_dma_phy, GFP_KERNEL); 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()
365 size, &sport_handle->rx_dma_phy, GFP_KERNEL); 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()
387 size_t size = bf5xx_pcm_hardware.buffer_bytes_max * in bf5xx_pcm_free_dma_buffers() local
403 dma_free_coherent(NULL, size, \ in bf5xx_pcm_free_dma_buffers()
409 dma_free_coherent(NULL, size, \ in bf5xx_pcm_free_dma_buffers()