Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/video/
Digafb.c63 struct pci_mmap_map *mmap_map; member
229 if (!par->mmap_map) in igafb_mmap()
237 for (i = 0; par->mmap_map[i].size; i++) { in igafb_mmap()
238 unsigned long start = par->mmap_map[i].voff; in igafb_mmap()
239 unsigned long end = start + par->mmap_map[i].size; in igafb_mmap()
247 map_size = par->mmap_map[i].size - (offset - start); in igafb_mmap()
248 map_offset = par->mmap_map[i].poff + (offset - start); in igafb_mmap()
258 pgprot_val(vma->vm_page_prot) &= ~(par->mmap_map[i].prot_mask); in igafb_mmap()
259 pgprot_val(vma->vm_page_prot) |= par->mmap_map[i].prot_flag; in igafb_mmap()
466 par->mmap_map = kzalloc(4 * sizeof(*par->mmap_map), GFP_ATOMIC); in igafb_init()
[all …]
Dtcx.c120 struct sbus_mmap_map mmap_map[TCX_MMAP_ENTRIES]; member
304 return sbusfb_mmap_helper(par->mmap_map, in tcx_mmap()
405 memcpy(&par->mmap_map, &__tcx_mmap_map, sizeof(par->mmap_map)); in tcx_probe()
413 par->mmap_map[1].size = SBUS_MMAP_EMPTY; in tcx_probe()
414 par->mmap_map[4].size = SBUS_MMAP_EMPTY; in tcx_probe()
415 par->mmap_map[5].size = SBUS_MMAP_EMPTY; in tcx_probe()
416 par->mmap_map[6].size = SBUS_MMAP_EMPTY; in tcx_probe()
438 par->mmap_map[i].poff = op->resource[j].start; in tcx_probe()
Dcg14.c200 struct sbus_mmap_map mmap_map[CG14_MMAP_ENTRIES]; member
270 return sbusfb_mmap_helper(par->mmap_map, in cg14_mmap()
516 BUILD_BUG_ON(sizeof(par->mmap_map) != sizeof(__cg14_mmap_map)); in cg14_probe()
518 memcpy(&par->mmap_map, &__cg14_mmap_map, sizeof(par->mmap_map)); in cg14_probe()
521 struct sbus_mmap_map *map = &par->mmap_map[i]; in cg14_probe()
/linux-2.6.39/drivers/video/aty/
Datyfb_base.c1940 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()
[all …]
Datyfb.h155 struct pci_mmap_map *mmap_map; member