Home
last modified time | relevance | path

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

/linux-6.1.9/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()
72 enum pci_mmap_state mmap_type; in pci_mmap_resource() local
90 mmap_type = res->flags & IORESOURCE_MEM ? pci_mmap_mem : pci_mmap_io; in pci_mmap_resource()
92 return hose_mmap_page_range(pdev->sysdata, vma, mmap_type, sparse); in pci_mmap_resource()
276 enum pci_mmap_state mmap_type) in has_sparse() argument
280 base = (mmap_type == pci_mmap_mem) ? hose->sparse_mem_base : in has_sparse()
287 enum pci_mmap_state mmap_type) in pci_mmap_legacy_page_range() argument
290 int sparse = has_sparse(hose, mmap_type); in pci_mmap_legacy_page_range()
293 res_size = (mmap_type == pci_mmap_mem) ? bus->legacy_mem->size : in pci_mmap_legacy_page_range()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c583 if (mmo->mmap_type == I915_MMAP_TYPE_GTT) in i915_gem_object_release_mmap_offset()
596 enum i915_mmap_type mmap_type) in lookup_mmo() argument
606 if (mmo->mmap_type == mmap_type) { in lookup_mmo()
611 if (mmo->mmap_type < mmap_type) in lookup_mmo()
635 if (pos->mmap_type == mmo->mmap_type) { in insert_mmo()
643 if (pos->mmap_type < mmo->mmap_type) in insert_mmo()
657 enum i915_mmap_type mmap_type, in mmap_offset_attach() argument
666 mmo = lookup_mmo(obj, mmap_type); in mmap_offset_attach()
675 mmo->mmap_type = mmap_type; in mmap_offset_attach()
697 GEM_BUG_ON(lookup_mmo(obj, mmap_type) != mmo); in mmap_offset_attach()
[all …]
Di915_gem_object_types.h218 enum i915_mmap_type mmap_type; member
/linux-6.1.9/arch/alpha/include/asm/
Dpci.h88 enum pci_mmap_state mmap_type);
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_main.c297 enum hns_roce_mmap_type mmap_type) in hns_roce_user_mmap_entry_insert() argument
307 entry->mmap_type = mmap_type; in hns_roce_user_mmap_entry_insert()
309 switch (mmap_type) { in hns_roce_user_mmap_entry_insert()
440 switch (entry->mmap_type) { in hns_roce_mmap()
Dhns_roce_device.h195 enum hns_roce_mmap_type mmap_type; member
1237 enum hns_roce_mmap_type mmap_type);
/linux-6.1.9/drivers/pci/
Dpci-sysfs.c930 enum pci_mmap_state mmap_type) in pci_adjust_legacy_attr() argument
1042 enum pci_mmap_state mmap_type; in pci_mmap_resource() local
1056 mmap_type = res->flags & IORESOURCE_MEM ? pci_mmap_mem : pci_mmap_io; in pci_mmap_resource()
1058 return pci_mmap_resource_range(pdev, bar, vma, mmap_type, write_combine); in pci_mmap_resource()