Searched refs:virtual_start (Results 1 – 7 of 7) sorted by relevance
336 unsigned long virtual_start; in grvga_probe() local438 virtual_start = (unsigned long) ioremap(physical_start, grvga_mem_size); in grvga_probe()440 if (!virtual_start) { in grvga_probe()449 virtual_start = (unsigned long) __get_free_pages(GFP_DMA, in grvga_probe()451 if (!virtual_start) { in grvga_probe()459 physical_start = dma_map_single(&dev->dev, (void *)virtual_start, grvga_mem_size, DMA_TO_DEVICE); in grvga_probe()464 for (page = virtual_start; in grvga_probe()465 page < PAGE_ALIGN(virtual_start + grvga_mem_size); in grvga_probe()473 memset((unsigned long *) virtual_start, 0, grvga_mem_size); in grvga_probe()475 info->screen_base = (char __iomem *) virtual_start; in grvga_probe()[all …]
933 free_unused_pages(unsigned int virtual_start, unsigned int virtual_end) in free_unused_pages() argument940 virtual_start = PAGE_ALIGN(virtual_start); in free_unused_pages()943 while (virtual_start < virtual_end) { in free_unused_pages()951 page = virt_to_page(virtual_start); in free_unused_pages()954 virtual_start += PAGE_SIZE; in free_unused_pages()
161 if (dev_priv->ring.virtual_start) { in via_dma_cleanup()165 dev_priv->ring.virtual_start = NULL; in via_dma_cleanup()182 if (dev_priv->ring.virtual_start != NULL) { in via_initialize()212 dev_priv->ring.virtual_start = dev_priv->ring.map.handle; in via_initialize()214 dev_priv->dma_ptr = dev_priv->ring.virtual_start; in via_initialize()249 retcode = (dev_priv->ring.virtual_start != NULL) ? in via_dma_init()268 if (dev_priv->ring.virtual_start == NULL) { in via_dispatch_cmdbuffer()685 if (dev_priv->ring.virtual_start == NULL) { in via_cmdbuf_size()
50 char *virtual_start; member
74 u8 *virtual_start; member155 virt = dev_priv->ring.virtual_start; \
215 if (dev_priv->ring.virtual_start) in i810_dma_cleanup()376 dev_priv->ring.virtual_start = dev_priv->ring.map.handle; in i810_dma_initialize()
279 HYPERVISOR_ATTR_RO(virtual_start);