Home
last modified time | relevance | path

Searched refs:map_offset (Results 1 – 7 of 7) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-udma.c37 …_udma_fill_sg_list (struct ivtv_user_dma *dma, struct ivtv_dma_page_info *dma_page, int map_offset) in ivtv_udma_fill_sg_list() argument
42 if (map_offset < 0) in ivtv_udma_fill_sg_list()
43 return map_offset; in ivtv_udma_fill_sg_list()
52 if (PageHighMem(dma->map[map_offset])) { in ivtv_udma_fill_sg_list()
55 if (dma->bouncemap[map_offset] == NULL) in ivtv_udma_fill_sg_list()
56 dma->bouncemap[map_offset] = alloc_page(GFP_KERNEL); in ivtv_udma_fill_sg_list()
57 if (dma->bouncemap[map_offset] == NULL) in ivtv_udma_fill_sg_list()
60 src = kmap_atomic(dma->map[map_offset]) + offset; in ivtv_udma_fill_sg_list()
61 memcpy(page_address(dma->bouncemap[map_offset]) + offset, src, len); in ivtv_udma_fill_sg_list()
64 sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); in ivtv_udma_fill_sg_list()
[all …]
Divtv-udma.h26 …_udma_fill_sg_list(struct ivtv_user_dma *dma, struct ivtv_dma_page_info *dma_page, int map_offset);
/drivers/watchdog/
Dhpwdt.c216 unsigned long map_offset) in cru_detect() argument
231 bios32_entrypoint = bios32_map + map_offset; in cru_detect()
300 unsigned long map_entry, map_offset; in bios32_present() local
318 map_offset = bios_32_ptr->entry_point - map_entry; in bios32_present()
320 return cru_detect(map_entry, map_offset); in bios32_present()
/drivers/video/
Dsbuslib.c47 unsigned long map_offset = 0; in sbusfb_mmap_helper() local
75 map_offset = (physbase + map[i].poff) & POFF_MASK; in sbusfb_mmap_helper()
87 map_offset >> PAGE_SHIFT), in sbusfb_mmap_helper()
Digafb.c226 unsigned long map_offset = 0; in igafb_mmap() local
248 map_offset = par->mmap_map[i].poff + (offset - start); in igafb_mmap()
262 map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) in igafb_mmap()
/drivers/gpu/drm/
Ddrm_vm.c334 unsigned long map_offset; in drm_do_vm_sg_fault() local
344 map_offset = map->offset - (unsigned long)dev->sg->virtual; in drm_do_vm_sg_fault()
345 page_offset = (offset >> PAGE_SHIFT) + (map_offset >> PAGE_SHIFT); in drm_do_vm_sg_fault()
/drivers/video/aty/
Datyfb_base.c1932 unsigned long map_offset = 0; in atyfb_mmap() local
1967 map_offset = par->mmap_map[i].poff + (offset - start); in atyfb_mmap()
1981 map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) in atyfb_mmap()