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()
334 size_t size = bf5xx_pcm_hardware.buffer_bytes_max in bf5xx_pcm_preallocate_dma_buffer() local
340 buf->area = dma_alloc_coherent(pcm->card->dev, size, in bf5xx_pcm_preallocate_dma_buffer()
347 buf->bytes = size; in bf5xx_pcm_preallocate_dma_buffer()
365 size, &sport_handle->tx_dma_phy, GFP_KERNEL); in bf5xx_pcm_preallocate_dma_buffer()
370 memset(sport_handle->tx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
372 memset(sport_handle->tx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
376 size, &sport_handle->rx_dma_phy, GFP_KERNEL); in bf5xx_pcm_preallocate_dma_buffer()
381 memset(sport_handle->rx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
383 memset(sport_handle->rx_dma_buf, 0, size); in bf5xx_pcm_preallocate_dma_buffer()
398 size_t size = bf5xx_pcm_hardware.buffer_bytes_max * in bf5xx_pcm_free_dma_buffers() local
414 dma_free_coherent(NULL, size, \ in bf5xx_pcm_free_dma_buffers()
420 dma_free_coherent(NULL, size, \ in bf5xx_pcm_free_dma_buffers()