Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/alpha/kernel/
Dpci-sysfs.c20 enum pci_mmap_state mmap_type, int sparse) in hose_mmap_page_range() argument
24 if (mmap_type == pci_mmap_mem) in hose_mmap_page_range()
70 enum pci_mmap_state mmap_type; in pci_mmap_resource() local
88 mmap_type = res->flags & IORESOURCE_MEM ? pci_mmap_mem : pci_mmap_io; in pci_mmap_resource()
90 return hose_mmap_page_range(pdev->sysdata, vma, mmap_type, sparse); in pci_mmap_resource()
272 enum pci_mmap_state mmap_type) in has_sparse() argument
276 base = (mmap_type == pci_mmap_mem) ? hose->sparse_mem_base : in has_sparse()
283 enum pci_mmap_state mmap_type) in pci_mmap_legacy_page_range() argument
286 int sparse = has_sparse(hose, mmap_type); in pci_mmap_legacy_page_range()
289 res_size = (mmap_type == pci_mmap_mem) ? bus->legacy_mem->size : in pci_mmap_legacy_page_range()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c514 if (mmo->mmap_type == I915_MMAP_TYPE_GTT) in i915_gem_object_release_mmap_offset()
527 enum i915_mmap_type mmap_type) in lookup_mmo() argument
537 if (mmo->mmap_type == mmap_type) { in lookup_mmo()
542 if (mmo->mmap_type < mmap_type) in lookup_mmo()
566 if (pos->mmap_type == mmo->mmap_type) { in insert_mmo()
574 if (pos->mmap_type < mmo->mmap_type) in insert_mmo()
588 enum i915_mmap_type mmap_type, in mmap_offset_attach() argument
595 mmo = lookup_mmo(obj, mmap_type); in mmap_offset_attach()
604 mmo->mmap_type = mmap_type; in mmap_offset_attach()
625 GEM_BUG_ON(lookup_mmo(obj, mmap_type) != mmo); in mmap_offset_attach()
[all …]
Di915_gem_object_types.h80 enum i915_mmap_type mmap_type; member
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dpci.h94 enum pci_mmap_state mmap_type);
/kernel/linux/linux-5.10/drivers/pci/
Dpci-sysfs.c901 enum pci_mmap_state mmap_type) in pci_adjust_legacy_attr() argument
1008 enum pci_mmap_state mmap_type; in pci_mmap_resource() local
1022 mmap_type = res->flags & IORESOURCE_MEM ? pci_mmap_mem : pci_mmap_io; in pci_mmap_resource()
1024 return pci_mmap_resource_range(pdev, bar, vma, mmap_type, write_combine); in pci_mmap_resource()