Lines Matching refs:mmap_map

1940 	if (!par->mmap_map)  in atyfb_mmap()
1961 for (i = 0; par->mmap_map[i].size; i++) { in atyfb_mmap()
1962 unsigned long start = par->mmap_map[i].voff; in atyfb_mmap()
1963 unsigned long end = start + par->mmap_map[i].size; in atyfb_mmap()
1971 map_size = par->mmap_map[i].size - (offset - start); in atyfb_mmap()
1972 map_offset = par->mmap_map[i].poff + (offset - start); in atyfb_mmap()
1982 pgprot_val(vma->vm_page_prot) &= ~(par->mmap_map[i].prot_mask); in atyfb_mmap()
1983 pgprot_val(vma->vm_page_prot) |= par->mmap_map[i].prot_flag; in atyfb_mmap()
2996 par->mmap_map = kcalloc(j, sizeof(*par->mmap_map), GFP_ATOMIC); in atyfb_setup_sparc()
2997 if (!par->mmap_map) { in atyfb_setup_sparc()
3026 par->mmap_map[j].voff = (pbase + 0x10000000) & PAGE_MASK; in atyfb_setup_sparc()
3027 par->mmap_map[j].poff = base & PAGE_MASK; in atyfb_setup_sparc()
3028 par->mmap_map[j].size = (size + ~PAGE_MASK) & PAGE_MASK; in atyfb_setup_sparc()
3029 par->mmap_map[j].prot_mask = _PAGE_CACHE; in atyfb_setup_sparc()
3030 par->mmap_map[j].prot_flag = _PAGE_E; in atyfb_setup_sparc()
3039 par->mmap_map[j].voff = (pbase + 0x800000) & PAGE_MASK; in atyfb_setup_sparc()
3040 par->mmap_map[j].poff = (base + 0x800000) & PAGE_MASK; in atyfb_setup_sparc()
3041 par->mmap_map[j].size = 0x800000; in atyfb_setup_sparc()
3042 par->mmap_map[j].prot_mask = _PAGE_CACHE; in atyfb_setup_sparc()
3043 par->mmap_map[j].prot_flag = _PAGE_E | _PAGE_IE; in atyfb_setup_sparc()
3048 par->mmap_map[j].voff = pbase & PAGE_MASK; in atyfb_setup_sparc()
3049 par->mmap_map[j].poff = base & PAGE_MASK; in atyfb_setup_sparc()
3050 par->mmap_map[j].size = (size + ~PAGE_MASK) & PAGE_MASK; in atyfb_setup_sparc()
3051 par->mmap_map[j].prot_mask = _PAGE_CACHE; in atyfb_setup_sparc()
3052 par->mmap_map[j].prot_flag = _PAGE_E; in atyfb_setup_sparc()
3594 par->mmap_map[0].voff = 0x8000000000000000UL; in atyfb_pci_probe()
3595 par->mmap_map[0].poff = (unsigned long) info->screen_base & PAGE_MASK; in atyfb_pci_probe()
3596 par->mmap_map[0].size = info->fix.smem_len; in atyfb_pci_probe()
3597 par->mmap_map[0].prot_mask = _PAGE_CACHE; in atyfb_pci_probe()
3598 par->mmap_map[0].prot_flag = _PAGE_E; in atyfb_pci_probe()
3599 par->mmap_map[1].voff = par->mmap_map[0].voff + info->fix.smem_len; in atyfb_pci_probe()
3600 par->mmap_map[1].poff = (long)par->ati_regbase & PAGE_MASK; in atyfb_pci_probe()
3601 par->mmap_map[1].size = PAGE_SIZE; in atyfb_pci_probe()
3602 par->mmap_map[1].prot_mask = _PAGE_CACHE; in atyfb_pci_probe()
3603 par->mmap_map[1].prot_flag = _PAGE_E; in atyfb_pci_probe()
3615 kfree(par->mmap_map); in atyfb_pci_probe()
3755 kfree(par->mmap_map); in atyfb_remove()