Home
last modified time | relevance | path

Searched refs:mmio_pgoff (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/video/fbdev/core/
H A Dfb_chrdev.c317 unsigned long mmio_pgoff; in fb_mmap() local
354 mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT; in fb_mmap()
355 if (vma->vm_pgoff >= mmio_pgoff) { in fb_mmap()
361 vma->vm_pgoff -= mmio_pgoff; in fb_mmap()
/openbmc/linux/drivers/video/fbdev/
H A Dcontrolfb.c734 unsigned long mmio_pgoff; in controlfb_mmap() local
740 mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT; in controlfb_mmap()
741 if (vma->vm_pgoff >= mmio_pgoff) { in controlfb_mmap()
744 vma->vm_pgoff -= mmio_pgoff; in controlfb_mmap()