Lines Matching refs:current_dma_page
324 dev_priv->current_dma_page = 0; in savage_dma_init()
341 dev_priv->first_dma_page = dev_priv->current_dma_page = 0; in savage_dma_reset()
374 unsigned int cur = dev_priv->current_dma_page; in savage_dma_alloc()
418 dev_priv->current_dma_page = --i; in savage_dma_alloc()
423 savage_dma_wait(dev_priv, dev_priv->current_dma_page); in savage_dma_alloc()
431 unsigned int cur = dev_priv->current_dma_page; in savage_dma_flush()
499 dev_priv->first_dma_page = dev_priv->current_dma_page = cur; in savage_dma_flush()
516 if (dev_priv->first_dma_page == dev_priv->current_dma_page && in savage_fake_dma_flush()
517 dev_priv->dma_pages[dev_priv->current_dma_page].used == 0) in savage_fake_dma_flush()
521 dev_priv->first_dma_page, dev_priv->current_dma_page, in savage_fake_dma_flush()
522 dev_priv->dma_pages[dev_priv->current_dma_page].used); in savage_fake_dma_flush()
525 i <= dev_priv->current_dma_page && dev_priv->dma_pages[i].used; in savage_fake_dma_flush()
531 if (i < dev_priv->current_dma_page && in savage_fake_dma_flush()
545 dev_priv->first_dma_page = dev_priv->current_dma_page = 0; in savage_fake_dma_flush()