Searched refs:virtual_start (Results 1 – 7 of 7) sorted by relevance
331 unsigned long virtual_start; in grvga_probe() local431 virtual_start = (unsigned long) ioremap(physical_start, grvga_mem_size); in grvga_probe()433 if (!virtual_start) { in grvga_probe()442 virtual_start = (unsigned long) __get_free_pages(GFP_DMA, in grvga_probe()444 if (!virtual_start) { in grvga_probe()452 physical_start = dma_map_single(&dev->dev, (void *)virtual_start, grvga_mem_size, DMA_TO_DEVICE); in grvga_probe()457 for (page = virtual_start; in grvga_probe()458 page < PAGE_ALIGN(virtual_start + grvga_mem_size); in grvga_probe()466 memset((unsigned long *) virtual_start, 0, grvga_mem_size); in grvga_probe()468 info->screen_base = (char __iomem *) virtual_start; in grvga_probe()[all …]
930 free_unused_pages(unsigned int virtual_start, unsigned int virtual_end) in free_unused_pages() argument937 virtual_start = PAGE_ALIGN(virtual_start); in free_unused_pages()940 while (virtual_start < virtual_end) { in free_unused_pages()948 page = virt_to_page(virtual_start); in free_unused_pages()951 virtual_start += PAGE_SIZE; in free_unused_pages()
168 if (dev_priv->ring.virtual_start) { in via_dma_cleanup()172 dev_priv->ring.virtual_start = NULL; in via_dma_cleanup()189 if (dev_priv->ring.virtual_start != NULL) { in via_initialize()219 dev_priv->ring.virtual_start = dev_priv->ring.map.handle; in via_initialize()221 dev_priv->dma_ptr = dev_priv->ring.virtual_start; in via_initialize()256 retcode = (dev_priv->ring.virtual_start != NULL) ? in via_dma_init()275 if (dev_priv->ring.virtual_start == NULL) { in via_dispatch_cmdbuffer()692 if (dev_priv->ring.virtual_start == NULL) { in via_cmdbuf_size()
58 char *virtual_start; member
76 u8 *virtual_start; member156 virt = dev_priv->ring.virtual_start; \
220 if (dev_priv->ring.virtual_start) in i810_dma_cleanup()381 dev_priv->ring.virtual_start = dev_priv->ring.map.handle; in i810_dma_initialize()
305 HYPERVISOR_ATTR_RO(virtual_start);