Searched +full:resource +full:- +full:attachments (Results 1 – 6 of 6) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/iio/adc/cirrus,ep9301-adc.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#13 https://cdn.embeddedts.com/resource-attachments/ts-7000_ep9301-ug.pdf16 - Alexander Sverdlin <alexander.sverdlin@gmail.com>20 const: cirrus,ep9301-adc32 - compatible33 - reg34 - clocks[all …]
42 #include <linux/dma-buf.h>43 #include <linux/dma-fence-array.h>44 #include <linux/pci-p2pdma.h>49 * dma_buf_attach_adev - Helper to get adev of an attachment59 if (attach->importer_ops == &amdgpu_dma_buf_attach_ops) { in dma_buf_attach_adev()60 struct drm_gem_object *obj = attach->importer_priv; in dma_buf_attach_adev()63 return amdgpu_ttm_adev(bo->tbo.bdev); in dma_buf_attach_adev()70 * amdgpu_dma_buf_attach - &dma_buf_ops.attach implementation72 * @dmabuf: DMA-buf where we attach to75 * Add the attachment as user to the exported DMA-buf.[all …]
1 // SPDX-License-Identifier: MIT3 * Copyright 2014-2018 Advanced Micro Devices, Inc.23 #include <linux/dma-buf.h>73 #define domain_string(domain) domain_bit_to_string[ffs(domain)-1]82 list_for_each_entry(entry, &mem->attachments, list) in kfd_mem_is_attached()83 if (entry->bo_va->base.vm == avm) in kfd_mem_is_attached()90 * reuse_dmamap() - Check whether adev can share the original104 return (adev->ram_is_direct_mapped && bo_adev->ram_is_direct_mapped) || in reuse_dmamap()105 (adev->dev->iommu_group == bo_adev->dev->iommu_group); in reuse_dmamap()109 * System (TTM + userptr) memory - 15/16th System RAM[all …]
31 #include <linux/dma-buf.h>50 struct amdgpu_fpriv *fpriv = filp->driver_priv; in amdgpu_cs_parser_init()52 if (cs->in.num_chunks == 0) in amdgpu_cs_parser_init()53 return -EINVAL; in amdgpu_cs_parser_init()56 p->adev = adev; in amdgpu_cs_parser_init()57 p->filp = filp; in amdgpu_cs_parser_init()59 p->ctx = amdgpu_ctx_get(fpriv, cs->in.ctx_id); in amdgpu_cs_parser_init()60 if (!p->ctx) in amdgpu_cs_parser_init()61 return -EINVAL; in amdgpu_cs_parser_init()63 if (atomic_read(&p->ctx->guilty)) { in amdgpu_cs_parser_init()[all …]
1 /* SPDX-License-Identifier: GPL-2.0-only */7 * Copyright (C) 1998-2008 Novell/SUSE8 * Copyright 2009-2010 Canonical Ltd.31 #include "resource.h"44 ((_profile)->mode == (_mode)))52 #define PROFILE_IS_HAT(_profile) ((_profile)->label.flags & FLAG_HAT)54 #define CHECK_DEBUG1(_profile) ((_profile)->label.flags & FLAG_DEBUG1)56 #define CHECK_DEBUG2(_profile) ((_profile)->label.flags & FLAG_DEBUG2)58 #define profile_is_stale(_profile) (label_is_stale(&(_profile)->label))60 #define on_list_rcu(X) (!list_empty(X) && (X)->prev != LIST_POISON2)[all …]
1 // SPDX-License-Identifier: GPL-2.02 // Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.7 #include <linux/dma-buf.h>8 #include <linux/dma-mapping.h>9 #include <linux/dma-resv.h>199 /* Lock for dma buf attachments */201 struct list_head attachments; member314 if (map->table) { in fastrpc_free_map()315 if (map->attr & FASTRPC_ATTR_SECUREMAP) { in fastrpc_free_map()317 int vmid = map->fl->cctx->vmperms[0].vmid; in fastrpc_free_map()[all …]