Searched refs:nr_dma_pages (Results 1 – 2 of 2) sorted by relevance
308 dev_priv->nr_dma_pages = dev_priv->cmd_dma->size / in savage_dma_init()310 dev_priv->dma_pages = kmalloc_array(dev_priv->nr_dma_pages, in savage_dma_init()316 for (i = 0; i < dev_priv->nr_dma_pages; ++i) { in savage_dma_init()335 for (i = 0; i < dev_priv->nr_dma_pages; ++i) { in savage_dma_reset()385 if (cur + nr_pages < dev_priv->nr_dma_pages) { in savage_dma_alloc()397 for (i = cur; i < dev_priv->nr_dma_pages; ++i) { in savage_dma_alloc()497 if (cur == dev_priv->nr_dma_pages) in savage_dma_flush()
179 unsigned int nr_dma_pages, first_dma_page, current_dma_page; member