/drivers/iommu/ |
H A D | iommu.c | 119 * iommu_set_fault_handler() - set a fault handler for an iommu domain 120 * @domain: iommu domain 129 void iommu_set_fault_handler(struct iommu_domain *domain, argument 132 BUG_ON(!domain); 134 domain->handler = handler; 140 struct iommu_domain *domain; local 146 domain = kzalloc(sizeof(*domain), GFP_KERNEL); 147 if (!domain) 165 iommu_domain_free(struct iommu_domain *domain) argument 174 iommu_attach_device(struct iommu_domain *domain, struct device *dev) argument 183 iommu_detach_device(struct iommu_domain *domain, struct device *dev) argument 192 iommu_iova_to_phys(struct iommu_domain *domain, unsigned long iova) argument 202 iommu_domain_has_cap(struct iommu_domain *domain, unsigned long cap) argument 212 iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot) argument 289 iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size) argument [all...] |
H A D | amd_iommu.c | 93 static void update_domain(struct protection_domain *domain); 204 * find the domain for a specific device 472 "domain=0x%04x address=0x%016llx flags=0x%04x]\n", 484 "domain=0x%04x address=0x%016llx flags=0x%04x]\n", 689 * TLB entries for this domain 720 * TLB entries for this domain 973 static void __domain_flush_pages(struct protection_domain *domain, argument 980 build_inv_iommu_pages(&cmd, address, size, domain->id, pde); 983 if (!domain->dev_iommu[i]) 987 * Devices of this domain ar 1004 domain_flush_pages(struct protection_domain *domain, u64 address, size_t size) argument 1011 domain_flush_tlb(struct protection_domain *domain) argument 1017 domain_flush_tlb_pde(struct protection_domain *domain) argument 1022 domain_flush_complete(struct protection_domain *domain) argument 1042 domain_flush_devices(struct protection_domain *domain) argument 1062 increase_address_space(struct protection_domain *domain, gfp_t gfp) argument 1084 alloc_pte(struct protection_domain *domain, unsigned long address, unsigned long page_size, u64 **pte_page, gfp_t gfp) argument 1132 fetch_pte(struct protection_domain *domain, unsigned long address) argument 1615 add_domain_to_list(struct protection_domain *domain) argument 1628 del_domain_from_list(struct protection_domain *domain) argument 1664 free_pagetable(struct protection_domain *domain) argument 1724 free_gcr3_table(struct protection_domain *domain) argument 1815 dma_ops_domain(struct protection_domain *domain) argument 1820 set_dte_entry(u16 devid, struct protection_domain *domain, bool ats) argument 1879 do_attach(struct iommu_dev_data *dev_data, struct protection_domain *domain) argument 1924 __attach_device(struct iommu_dev_data *dev_data, struct protection_domain *domain) argument 2058 attach_device(struct device *dev, struct protection_domain *domain) argument 2103 struct protection_domain *domain; local 2139 struct protection_domain *domain; local 2192 struct protection_domain *domain; local 2275 struct protection_domain *domain; local 2300 update_device_table(struct protection_domain *domain) argument 2308 update_domain(struct protection_domain *domain) argument 2541 struct protection_domain *domain; local 2578 struct protection_domain *domain; local 2622 struct protection_domain *domain; local 2683 struct protection_domain *domain; local 2714 struct protection_domain *domain; local 2771 struct protection_domain *domain; local 2952 cleanup_domain(struct protection_domain *domain) argument 2967 protection_domain_free(struct protection_domain *domain) argument 2982 struct protection_domain *domain; local 3021 struct protection_domain *domain; local 3046 struct protection_domain *domain = dom->priv; local 3092 struct protection_domain *domain = dom->priv; local 3119 struct protection_domain *domain = dom->priv; local 3141 struct protection_domain *domain = dom->priv; local 3159 struct protection_domain *domain = dom->priv; local 3183 amd_iommu_domain_has_cap(struct iommu_domain *domain, unsigned long cap) argument 3287 struct protection_domain *domain = dom->priv; local 3308 struct protection_domain *domain = dom->priv; local 3353 __flush_pasid(struct protection_domain *domain, int pasid, u64 address, bool size) argument 3409 __amd_iommu_flush_page(struct protection_domain *domain, int pasid, u64 address) argument 3420 struct protection_domain *domain = dom->priv; local 3432 __amd_iommu_flush_tlb(struct protection_domain *domain, int pasid) argument 3442 struct protection_domain *domain = dom->priv; local 3486 __set_gcr3(struct protection_domain *domain, int pasid, unsigned long cr3) argument 3503 __clear_gcr3(struct protection_domain *domain, int pasid) argument 3522 struct protection_domain *domain = dom->priv; local 3536 struct protection_domain *domain = dom->priv; local 3569 struct protection_domain *domain; local [all...] |
H A D | intel-iommu.c | 219 * 8-23: domain id 340 * This domain is a statically identity mapping domain. 341 * 1. This domain creats a static 1:1 mapping to all usable memory. 343 * 3. Each iommu mapps to this domain if successful. 348 /* devices under the same p2p bridge are owned in one domain */ 351 /* domain represents a virtual machine, more than one devices 352 * across iommus may be owned in one domain, e.g. kvm guest. 360 int id; /* domain id */ 362 unsigned long iommu_bmp; /* bitmap of iommus this domain use 394 struct dmar_domain *domain; /* pointer to domain */ member in struct:device_domain_info 405 struct dmar_domain *domain[HIGH_WATER_MARK]; member in struct:deferred_flush_tables 566 domain_get_iommu(struct dmar_domain *domain) argument 581 domain_update_iommu_coherency(struct dmar_domain *domain) argument 595 domain_update_iommu_snooping(struct dmar_domain *domain) argument 609 domain_update_iommu_superpage(struct dmar_domain *domain) argument 631 domain_update_iommu_cap(struct dmar_domain *domain) argument 668 domain_flush_cache(struct dmar_domain *domain, void *addr, int size) argument 764 pfn_to_dma_pte(struct dmar_domain *domain, unsigned long pfn, int target_level) argument 813 dma_pfn_level_pte(struct dmar_domain *domain, unsigned long pfn, int level, int *large_page) argument 845 dma_pte_clear_range(struct dmar_domain *domain, unsigned long start_pfn, unsigned long last_pfn) argument 882 dma_pte_free_pagetable(struct dmar_domain *domain, unsigned long start_pfn, unsigned long last_pfn) argument 1086 iommu_support_dev_iotlb( struct dmar_domain *domain, int segment, u8 bus, u8 devfn) argument 1138 iommu_flush_dev_iotlb(struct dmar_domain *domain, u64 addr, unsigned mask) argument 1280 struct dmar_domain *domain; local 1330 struct dmar_domain *domain; local 1343 iommu_attach_domain(struct dmar_domain *domain, struct intel_iommu *iommu) argument 1370 iommu_detach_domain(struct dmar_domain *domain, struct intel_iommu *iommu) argument 1436 domain_reserve_special_ranges(struct dmar_domain *domain) argument 1455 domain_init(struct dmar_domain *domain, int guest_width) argument 1506 domain_exit(struct dmar_domain *domain) argument 1536 domain_context_mapping_one(struct dmar_domain *domain, int segment, u8 bus, u8 devfn, int translation) argument 1667 domain_context_mapping(struct dmar_domain *domain, struct pci_dev *pdev, int translation) argument 1751 hardware_largepage_caps(struct dmar_domain *domain, unsigned long iov_pfn, unsigned long phy_pfn, unsigned long pages) argument 1778 __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn, struct scatterlist *sg, unsigned long phys_pfn, unsigned long nr_pages, int prot) argument 1878 domain_sg_mapping(struct dmar_domain *domain, unsigned long iov_pfn, struct scatterlist *sg, unsigned long nr_pages, int prot) argument 1885 domain_pfn_mapping(struct dmar_domain *domain, unsigned long iov_pfn, unsigned long phys_pfn, unsigned long nr_pages, int prot) argument 1903 domain_remove_dev_info(struct dmar_domain *domain) argument 1948 struct dmar_domain *domain, *found = NULL; local 2086 iommu_domain_identity_map(struct dmar_domain *domain, unsigned long long start, unsigned long long end) argument 2116 struct dmar_domain *domain; local 2271 domain_add_dev_info(struct dmar_domain *domain, struct pci_dev *pdev, int translation) argument 2612 intel_alloc_iova(struct device *dev, struct dmar_domain *domain, unsigned long nrpages, uint64_t dma_mask) argument 2645 struct dmar_domain *domain; local 2744 struct dmar_domain *domain; local 2837 struct dmar_domain *domain = deferred_flush[i].domain[j]; local 2896 struct dmar_domain *domain; local 2989 struct dmar_domain *domain; local 3049 struct dmar_domain *domain; local 3575 struct dmar_domain *domain; local 3698 domain_remove_one_dev_info(struct dmar_domain *domain, struct pci_dev *pdev) argument 3766 vm_domain_remove_all_dev_info(struct dmar_domain *domain) argument 3810 struct dmar_domain *domain; local 3824 md_domain_init(struct dmar_domain *domain, int guest_width) argument 3855 iommu_free_vm_domain(struct dmar_domain *domain) argument 3881 vm_domain_exit(struct dmar_domain *domain) argument 3901 intel_iommu_domain_init(struct iommu_domain *domain) argument 3923 intel_iommu_domain_destroy(struct iommu_domain *domain) argument 3931 intel_iommu_attach_device(struct iommu_domain *domain, struct device *dev) argument 3989 intel_iommu_detach_device(struct iommu_domain *domain, struct device *dev) argument 3998 intel_iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t hpa, size_t size, int iommu_prot) argument 4036 intel_iommu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size) argument 4051 intel_iommu_iova_to_phys(struct iommu_domain *domain, unsigned long iova) argument 4065 intel_iommu_domain_has_cap(struct iommu_domain *domain, unsigned long cap) argument [all...] |
H A D | msm_iommu.c | 81 static int __flush_iotlb(struct iommu_domain *domain) argument 83 struct msm_priv *priv = domain->priv; 213 static int msm_iommu_domain_init(struct iommu_domain *domain) argument 228 domain->priv = priv; 236 static void msm_iommu_domain_destroy(struct iommu_domain *domain) argument 244 priv = domain->priv; 245 domain->priv = NULL; 263 static int msm_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) argument 275 priv = domain->priv; 311 ret = __flush_iotlb(domain); 318 msm_iommu_detach_dev(struct iommu_domain *domain, struct device *dev) argument 357 msm_iommu_map(struct iommu_domain *domain, unsigned long va, phys_addr_t pa, size_t len, int prot) argument 468 msm_iommu_unmap(struct iommu_domain *domain, unsigned long va, size_t len) argument 551 msm_iommu_iova_to_phys(struct iommu_domain *domain, unsigned long va) argument 601 msm_iommu_domain_has_cap(struct iommu_domain *domain, unsigned long cap) argument [all...] |
H A D | omap-iovmm.c | 409 static int map_iovm_area(struct iommu_domain *domain, struct iovm_struct *new, argument 417 if (!domain || !sgt) 437 err = iommu_map(domain, da, pa, bytes, flags); 454 iommu_unmap(domain, da, bytes); 462 static void unmap_iovm_area(struct iommu_domain *domain, struct omap_iommu *obj, argument 481 unmapped = iommu_unmap(domain, start, bytes); 497 static struct sg_table *unmap_vm_area(struct iommu_domain *domain, argument 524 unmap_iovm_area(domain, obj, area); 539 static u32 map_iommu_region(struct iommu_domain *domain, struct omap_iommu *obj, argument 556 if (map_iovm_area(domain, ne 574 __iommu_vmap(struct iommu_domain *domain, struct omap_iommu *obj, u32 da, const struct sg_table *sgt, void *va, size_t bytes, u32 flags) argument 591 omap_iommu_vmap(struct iommu_domain *domain, struct device *dev, u32 da, const struct sg_table *sgt, u32 flags) argument 633 omap_iommu_vunmap(struct iommu_domain *domain, struct device *dev, u32 da) argument 661 omap_iommu_vmalloc(struct iommu_domain *domain, struct device *dev, u32 da, size_t bytes, u32 flags) argument 710 omap_iommu_vfree(struct iommu_domain *domain, struct device *dev, const u32 da) argument [all...] |
H A D | omap-iommu.c | 40 * struct omap_iommu_domain - omap iommu domain 42 * @iommu_dev: an omap iommu device attached to this domain. only a single 44 * @lock: domain lock, should be taken when attaching/detaching 785 struct iommu_domain *domain = obj->domain; local 797 if (!report_iommu_fault(domain, obj->dev, da, 0)) 830 * omap_iommu_attach() - attach iommu device to an iommu domain 1016 static int omap_iommu_map(struct iommu_domain *domain, unsigned long da, argument 1019 struct omap_iommu_domain *omap_domain = domain->priv; 1046 static size_t omap_iommu_unmap(struct iommu_domain *domain, unsigne argument 1059 omap_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) argument 1091 omap_iommu_detach_dev(struct iommu_domain *domain, struct device *dev) argument 1116 omap_iommu_domain_init(struct iommu_domain *domain) argument 1152 omap_iommu_domain_destroy(struct iommu_domain *domain) argument 1162 omap_iommu_iova_to_phys(struct iommu_domain *domain, unsigned long da) argument 1192 omap_iommu_domain_has_cap(struct iommu_domain *domain, unsigned long cap) argument [all...] |
H A D | amd_iommu_v2.c | 62 struct iommu_domain *domain; member in struct:device_state 131 * First detach device from domain - No more PRI requests will arrive 132 * from that device after it is unbound from the IOMMUv2 domain. 134 iommu_detach_device(dev_state->domain, &dev_state->pdev->dev); 136 /* Everything is down now, free the IOMMUv2 domain */ 137 iommu_domain_free(dev_state->domain); 317 struct iommu_domain *domain; local 319 domain = pasid_state->device_state->domain; 321 amd_iommu_domain_clear_gcr3(domain, pasid_stat [all...] |
/drivers/dca/ |
H A D | dca-core.c | 60 struct dca_domain *domain; local 62 domain = kzalloc(sizeof(*domain), GFP_NOWAIT); 63 if (!domain) 66 INIT_LIST_HEAD(&domain->dca_providers); 67 domain->pci_rc = rc; 69 return domain; 72 static void dca_free_domain(struct dca_domain *domain) argument 74 list_del(&domain->node); 75 kfree(domain); 97 struct dca_domain *domain; local 130 struct dca_domain *domain; local 142 struct dca_domain *domain; local 159 struct dca_domain *domain; local 192 struct dca_domain *domain; local 359 struct dca_domain *domain, *newdomain = NULL; local 416 struct dca_domain *domain; local [all...] |
/drivers/base/ |
H A D | map.c | 32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, argument 57 mutex_lock(domain->lock); 59 struct probe **s = &domain->probes[index % 255]; 65 mutex_unlock(domain->lock); 69 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) argument 79 mutex_lock(domain->lock); 82 for (s = &domain->probes[index % 255]; *s; s = &(*s)->next) { 92 mutex_unlock(domain->lock); 96 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) argument 103 mutex_lock(domain [all...] |
/drivers/xen/xen-pciback/ |
H A D | passthrough.c | 20 unsigned int domain, 31 if (domain == (unsigned int)pci_domain_nr(dev_entry->dev->bus) 50 unsigned int domain, bus, devfn; local 63 domain = (unsigned int)pci_domain_nr(dev->bus); 66 err = publish_cb(pdev, domain, bus, devfn, devid); 119 unsigned int domain, bus; local 138 domain = (unsigned int)pci_domain_nr(dev_entry->dev->bus); 142 err = publish_root_cb(pdev, domain, bus); 170 unsigned int *domain, unsigned int *bus, 173 *domain 19 __xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, unsigned int domain, unsigned int bus, unsigned int devfn) argument 168 __xen_pcibk_get_pcifront_dev(struct pci_dev *pcidev, struct xen_pcibk_device *pdev, unsigned int *domain, unsigned int *bus, unsigned int *devfn) argument [all...] |
H A D | pciback.h | 62 int domain, int bus, 84 unsigned int domain, unsigned int bus, 87 unsigned int domain, unsigned int bus); 98 unsigned int *domain, unsigned int *bus, 105 unsigned int domain, unsigned int bus, 131 xen_pcibk_get_pci_dev(struct xen_pcibk_device *pdev, unsigned int domain, argument 135 return xen_pcibk_backend->get(pdev, domain, bus, devfn); 140 * Add for domain0 PCIE-AER handling. Get guest domain/bus/devfn in xen_pcibk 147 unsigned int *domain, 152 return xen_pcibk_backend->find(pcidev, pdev, domain, bu 145 xen_pcibk_get_pcifront_dev(struct pci_dev *pcidev, struct xen_pcibk_device *pdev, unsigned int *domain, unsigned int *bus, unsigned int *devfn) argument [all...] |
H A D | xenbus.c | 71 /* If the driver domain started an op, make sure we complete it 114 "Error mapping other domain page in ours."); 196 unsigned int domain, unsigned int bus, 211 "%04x:%02x:%02x.%02x", domain, bus, 219 int domain, int bus, int slot, int func, 226 domain, bus, slot, func); 228 dev = pcistub_get_pci_dev_by_slot(pdev, domain, bus, slot, func); 235 domain, bus, slot, func); 257 * driver domain, that all devices under that bridge are not given 266 int domain, in 195 xen_pcibk_publish_pci_dev(struct xen_pcibk_device *pdev, unsigned int domain, unsigned int bus, unsigned int devfn, unsigned int devid) argument 218 xen_pcibk_export_device(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func, int devid) argument 265 xen_pcibk_remove_device(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument 292 xen_pcibk_publish_pci_root(struct xen_pcibk_device *pdev, unsigned int domain, unsigned int bus) argument 356 int domain, bus, slot, func; local 554 int domain, bus, slot, func; local [all...] |
H A D | pci_stub.c | 34 int domain; member in struct:pcistub_device_id 118 static struct pcistub_device *pcistub_device_find(int domain, int bus, argument 128 && domain == pci_domain_nr(psdev->dev->bus) 166 int domain, int bus, 177 && domain == pci_domain_nr(psdev->dev->bus) 232 * (so it's ready for the next domain) 251 /* Match the specified device by domain, bus, slot, func and also if 255 if (pci_domain_nr(dev->bus) == pdev_id->domain 484 printk(KERN_WARNING DRV_NAME ": ****** driver domain may" 487 "domain befor 165 pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument 861 str_to_slot(const char *buf, int *domain, int *bus, int *slot, int *func) argument 881 str_to_quirk(const char *buf, int *domain, int *bus, int *slot, int *func, int *reg, int *size, int *mask) argument 894 pcistub_device_id_add(int domain, int bus, int slot, int func) argument 917 pcistub_device_id_remove(int domain, int bus, int slot, int func) argument 946 pcistub_reg_add(int domain, int bus, int slot, int func, int reg, int size, int mask) argument 985 int domain, bus, slot, func; local 1004 int domain, bus, slot, func; local 1078 int domain, bus, slot, func; local 1112 int domain, bus, slot, func, reg, size, mask; local 1177 int domain, bus, slot, func; local 1260 int domain, bus, slot, func; local [all...] |
/drivers/pci/pcie/aer/ |
H A D | aer_inject.c | 44 u16 domain; member in struct:aer_error_inj 49 u16 domain; member in struct:aer_error 77 static void aer_error_init(struct aer_error *err, u16 domain, argument 82 err->domain = domain; 89 static struct aer_error *__find_aer_error(u16 domain, unsigned int bus, argument 95 if (domain == err->domain && 106 int domain = pci_domain_nr(dev->bus); local 107 if (domain < 191 int domain; local 223 int domain; local [all...] |
/drivers/pci/ |
H A D | xen-pcifront.c | 53 int domain; member in struct:pcifront_sd 64 unsigned int domain, unsigned int bus, 67 sd->domain = domain; 181 .domain = pci_domain_nr(bus), 219 .domain = pci_domain_nr(bus), 252 .domain = pci_domain_nr(dev->bus), 305 .domain = pci_domain_nr(dev->bus), 324 .domain = pci_domain_nr(dev->bus), 353 .domain 63 pcifront_init_sd(struct pcifront_sd *sd, unsigned int domain, unsigned int bus, struct pcifront_device *pdev) argument 413 pcifront_scan_bus(struct pcifront_device *pdev, unsigned int domain, unsigned int bus, struct pci_bus *b) argument 442 pcifront_scan_root(struct pcifront_device *pdev, unsigned int domain, unsigned int bus) argument 504 pcifront_rescan_root(struct pcifront_device *pdev, unsigned int domain, unsigned int bus) argument 837 unsigned int domain, bus; local 926 unsigned int domain, bus; local 984 unsigned int domain, bus, slot, func; local [all...] |
H A D | search.c | 70 * pci_find_bus - locate PCI bus from a given domain and bus number 71 * @domain: number of PCI domain to search 74 * Given a PCI bus number and domain number, the desired PCI bus is located 78 struct pci_bus * pci_find_bus(int domain, int busnr) argument 84 if (pci_domain_nr(bus) != domain) 153 * pci_get_domain_bus_and_slot - locate PCI device for a given PCI domain (segment), bus, and slot 154 * @domain: PCI domain/segment on which the PCI device resides. 160 * Given a PCI domain, bu 167 pci_get_domain_bus_and_slot(int domain, unsigned int bus, unsigned int devfn) argument [all...] |
/drivers/base/power/ |
H A D | Makefile | 6 obj-$(CONFIG_PM_GENERIC_DOMAINS) += domain.o domain_governor.o
|
H A D | domain.c | 2 * drivers/base/power/domain.c - Common code related to device power domains. 110 * Wait for the domain to transition into either the active, 140 * __pm_genpd_poweron - Restore power to a given PM domain and its masters. 141 * @genpd: PM domain to power up. 153 /* If the domain's master is being waited for, we have to wait too. */ 233 * pm_genpd_poweron - Restore power to a given PM domain and its masters. 234 * @genpd: PM domain to power up. 253 * @genpd: PM domain the device belongs to. 283 * @genpd: PM domain the device belongs to. 307 * genpd_abort_poweroff - Check if a PM domain powe [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_object.h | 35 * radeon_mem_type_to_domain - return domain corresponding to mem_type 38 * Returns corresponding domain of the ttm mem_type 115 bool kernel, u32 domain, 120 extern int radeon_bo_pin(struct radeon_bo *bo, u32 domain, u64 *gpu_addr); 149 unsigned size, u32 domain);
|
H A D | radeon_object.c | 84 void radeon_ttm_placement_from_domain(struct radeon_bo *rbo, u32 domain) argument 92 if (domain & RADEON_GEM_DOMAIN_VRAM) 95 if (domain & RADEON_GEM_DOMAIN_GTT) 97 if (domain & RADEON_GEM_DOMAIN_CPU) 106 unsigned long size, int byte_align, bool kernel, u32 domain, 153 radeon_ttm_placement_from_domain(bo, domain); 162 if (domain == RADEON_GEM_DOMAIN_VRAM) { 163 domain |= RADEON_GEM_DOMAIN_GTT; 168 size, domain); 227 int radeon_bo_pin(struct radeon_bo *bo, u32 domain, u6 argument 105 radeon_bo_create(struct radeon_device *rdev, unsigned long size, int byte_align, bool kernel, u32 domain, struct radeon_bo **bo_ptr) argument 339 u32 domain; local [all...] |
H A D | radeon_sa.c | 36 unsigned size, u32 domain) 42 sa_manager->domain = domain; 86 r = radeon_bo_pin(sa_manager->bo, sa_manager->domain, &sa_manager->gpu_addr); 34 radeon_sa_bo_manager_init(struct radeon_device *rdev, struct radeon_sa_manager *sa_manager, unsigned size, u32 domain) argument
|
H A D | radeon_gem.c | 108 uint32_t domain; local 114 domain = wdomain; 115 if (!domain) { 116 domain = rdomain; 118 if (!domain) { 120 printk(KERN_WARNING "Set domain withou domain !\n"); 123 if (domain == RADEON_GEM_DOMAIN_CPU) { 254 /* transition the BO to a domain - 255 * just validate the BO into a certain domain */ [all...] |
/drivers/xen/ |
H A D | privcmd.c | 4 * Interface to privileged domain-0 commands. 157 domid_t domain; member in struct:mmap_mfn_state 181 st->domain); 229 state.domain = mmapcmd.dom; 246 domid_t domain; member in struct:mmap_batch_state 260 st->vma->vm_page_prot, st->domain) < 0) { 318 state.domain = m.dom;
|
/drivers/scsi/libsas/ |
H A D | Kconfig | 31 use the domain device construct (like the aic94xxx).
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_gem.c | 125 nouveau_gem_new(struct drm_device *dev, int size, int align, uint32_t domain, argument 134 if (domain & NOUVEAU_GEM_DOMAIN_VRAM) 136 if (domain & NOUVEAU_GEM_DOMAIN_GART) 138 if (!flags || domain & NOUVEAU_GEM_DOMAIN_CPU) 154 nvbo->valid_domains &= domain; 176 rep->domain = NOUVEAU_GEM_DOMAIN_GART; 178 rep->domain = NOUVEAU_GEM_DOMAIN_VRAM; 214 req->info.domain, req->info.tile_mode, 447 b->presumed.domain & NOUVEAU_GEM_DOMAIN_VRAM) || 449 b->presumed.domain 819 domain_to_ttm(struct nouveau_bo *nvbo, uint32_t domain) argument [all...] |