Home
last modified time | relevance | path

Searched refs:mmap_map (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/drivers/video/
Digafb.c83 struct pci_mmap_map *mmap_map; member
251 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 …]
Dcgfourteenfb.c398 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()
Dp9100fb.c186 fb->mmap_map = p9100_mmap_map; in p9100fb_init()
Dbwtwofb.c256 fb->mmap_map = bw2_mmap_map; in bwtwofb_init()
Dsbusfb.c200 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()
Dcgthreefb.c235 fb->mmap_map = cg3_mmap_map; in cgthreefb_init()
Dtcxfb.c341 fb->mmap_map = tcx_mmap_map; in tcxfb_init()
Dleofb.c751 fb->mmap_map = leo_mmap_map; in leofb_init()
Dcgsixfb.c772 fb->mmap_map = cg6_mmap_map; in cgsixfb_init()
Dcreatorfb.c896 fb->mmap_map = ffb_mmap_map; in creatorfb_init()
/linux-2.4.37.9/drivers/video/aty/
Datyfb_base.c1586 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 …]
Datyfb.h140 struct pci_mmap_map *mmap_map; member
/linux-2.4.37.9/include/video/
Dsbusfb.h117 struct sbus_mmap_map *mmap_map; member