Searched refs:mmap_map (Results 1 – 13 of 13) sorted by relevance
83 struct pci_mmap_map *mmap_map; member251 if (!fb->mmap_map) in igafb_mmap()262 for (i = 0; fb->mmap_map[i].size; i++) { in igafb_mmap()263 unsigned long start = fb->mmap_map[i].voff; in igafb_mmap()264 unsigned long end = start + fb->mmap_map[i].size; in igafb_mmap()272 map_size = fb->mmap_map[i].size - (offset - start); in igafb_mmap()273 map_offset = fb->mmap_map[i].poff + (offset - start); in igafb_mmap()283 pgprot_val(vma->vm_page_prot) &= ~(fb->mmap_map[i].prot_mask); in igafb_mmap()284 pgprot_val(vma->vm_page_prot) |= fb->mmap_map[i].prot_flag; in igafb_mmap()679 info->mmap_map = kmalloc(4 * sizeof(*info->mmap_map), GFP_ATOMIC); in igafb_init()[all …]
398 fb->mmap_map = kmalloc(sizeof(cg14_mmap_map), GFP_KERNEL); in cgfourteenfb_init()399 if (!fb->mmap_map) in cgfourteenfb_init()403 fb->mmap_map[i].voff = cg14_mmap_map[i].voff; in cgfourteenfb_init()404 fb->mmap_map[i].poff = (cg14_mmap_map[i].poff & 0x80000000) ? in cgfourteenfb_init()407 fb->mmap_map[i].size = cg14_mmap_map[i].size; in cgfourteenfb_init()408 if (is_8mb && fb->mmap_map[i].size >= 0x100000 && in cgfourteenfb_init()409 fb->mmap_map[i].size <= 0x400000) in cgfourteenfb_init()410 fb->mmap_map[i].size <<= 1; in cgfourteenfb_init()
186 fb->mmap_map = p9100_mmap_map; in p9100fb_init()
256 fb->mmap_map = bw2_mmap_map; in bwtwofb_init()
200 for (i = 0; fb->mmap_map[i].size; i++) in sbusfb_mmap()201 if (fb->mmap_map[i].voff == off+page) { in sbusfb_mmap()202 map_size = sbusfb_mmapsize(fb,fb->mmap_map[i].size); in sbusfb_mmap()208 map_offset = (fb->physbase + fb->mmap_map[i].poff) & POFF_MASK; in sbusfb_mmap()
235 fb->mmap_map = cg3_mmap_map; in cgthreefb_init()
341 fb->mmap_map = tcx_mmap_map; in tcxfb_init()
751 fb->mmap_map = leo_mmap_map; in leofb_init()
772 fb->mmap_map = cg6_mmap_map; in cgsixfb_init()
896 fb->mmap_map = ffb_mmap_map; in creatorfb_init()
1586 if (!fb->mmap_map) in atyfb_mmap()1607 for (i = 0; fb->mmap_map[i].size; i++) { in atyfb_mmap()1608 unsigned long start = fb->mmap_map[i].voff; in atyfb_mmap()1609 unsigned long end = start + fb->mmap_map[i].size; in atyfb_mmap()1617 map_size = fb->mmap_map[i].size - (offset - start); in atyfb_mmap()1618 map_offset = fb->mmap_map[i].poff + (offset - start); in atyfb_mmap()1628 pgprot_val(vma->vm_page_prot) &= ~(fb->mmap_map[i].prot_mask); in atyfb_mmap()1629 pgprot_val(vma->vm_page_prot) |= fb->mmap_map[i].prot_flag; in atyfb_mmap()2506 info->mmap_map = kmalloc(j * sizeof(*info->mmap_map), GFP_ATOMIC); in atyfb_init()2507 if (!info->mmap_map) { in atyfb_init()[all …]
140 struct pci_mmap_map *mmap_map; member
117 struct sbus_mmap_map *mmap_map; member