Home
last modified time | relevance | path

Searched refs:kerninfo (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/char/agp/
Dcompat_ioctl.c41 struct agp_kern_info kerninfo; in compat_agpioc_info_wrap() local
43 agp_copy_info(agp_bridge, &kerninfo); in compat_agpioc_info_wrap()
45 userinfo.version.major = kerninfo.version.major; in compat_agpioc_info_wrap()
46 userinfo.version.minor = kerninfo.version.minor; in compat_agpioc_info_wrap()
47 userinfo.bridge_id = kerninfo.device->vendor | in compat_agpioc_info_wrap()
48 (kerninfo.device->device << 16); in compat_agpioc_info_wrap()
49 userinfo.agp_mode = kerninfo.mode; in compat_agpioc_info_wrap()
50 userinfo.aper_base = (compat_long_t)kerninfo.aper_base; in compat_agpioc_info_wrap()
51 userinfo.aper_size = kerninfo.aper_size; in compat_agpioc_info_wrap()
52 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in compat_agpioc_info_wrap()
[all …]
Dfrontend.c571 struct agp_kern_info kerninfo; in agp_mmap() local
581 agp_copy_info(agp_bridge, &kerninfo); in agp_mmap()
583 current_size = kerninfo.aper_size; in agp_mmap()
600 DBG("client vm_ops=%p", kerninfo.vm_ops); in agp_mmap()
601 if (kerninfo.vm_ops) { in agp_mmap()
602 vma->vm_ops = kerninfo.vm_ops; in agp_mmap()
604 (kerninfo.aper_base + offset) >> PAGE_SHIFT, in agp_mmap()
617 DBG("controller vm_ops=%p", kerninfo.vm_ops); in agp_mmap()
618 if (kerninfo.vm_ops) { in agp_mmap()
619 vma->vm_ops = kerninfo.vm_ops; in agp_mmap()
[all …]