Searched refs:global_dev (Results 1 – 1 of 1) sorted by relevance
51 static struct viafb_dev global_dev; variable59 iowrite32(v, global_dev.engine_mmio + reg); in viafb_mmio_write()64 return ioread32(global_dev.engine_mmio + reg); in viafb_mmio_read()170 spin_lock(&global_dev.reg_lock); in viafb_dma_irq()177 spin_unlock(&global_dev.reg_lock); in viafb_dma_irq()191 if (global_dev.chip_type != UNICHROME_VX855) in viafb_request_dma()200 ret = request_irq(global_dev.pdev->irq, viafb_dma_irq, in viafb_request_dma()218 free_irq(global_dev.pdev->irq, &viafb_dma_users); in viafb_release_dma()241 descrpages = dma_alloc_coherent(&global_dev.pdev->dev, in viafb_dma_copy_out_sg()245 dev_err(&global_dev.pdev->dev, "Unable to get descr page.\n"); in viafb_dma_copy_out_sg()[all …]