Home
last modified time | relevance | path

Searched full:attachment (Results 1 – 25 of 157) sorted by relevance

1234567

/linux/drivers/media/platform/nvidia/tegra-vde/ !
H A Ddmabuf-cache.c69 struct dma_buf_attachment *attachment; in tegra_vde_dmabuf_cache_map() local
98 attachment = dma_buf_attach(dmabuf, dev); in tegra_vde_dmabuf_cache_map()
99 if (IS_ERR(attachment)) { in tegra_vde_dmabuf_cache_map()
101 err = PTR_ERR(attachment); in tegra_vde_dmabuf_cache_map()
105 sgt = dma_buf_map_attachment_unlocked(attachment, dma_dir); in tegra_vde_dmabuf_cache_map()
142 entry->a = attachment; in tegra_vde_dmabuf_cache_map()
155 dma_buf_unmap_attachment_unlocked(attachment, sgt, dma_dir); in tegra_vde_dmabuf_cache_map()
157 dma_buf_detach(dmabuf, attachment); in tegra_vde_dmabuf_cache_map()
/linux/tools/bpf/bpftool/Documentation/ !
H A Dbpftool-perf.rst33 List all raw_tracepoint, tracepoint, kprobe attachment in the system.
36 followed by bpf program id, attachment information, and attachment point.
37 The attachment point for raw_tracepoint/tracepoint is the trace probe name.
38 The attachment point for k[ret]probe is either symbol name and offset, or a
39 kernel virtual address. The attachment point for u[ret]probe is the file
/linux/drivers/dma-buf/heaps/ !
H A Dsystem_heap.c74 struct dma_buf_attachment *attachment) in system_heap_attach() argument
90 a->dev = attachment->dev; in system_heap_attach()
94 attachment->priv = a; in system_heap_attach()
104 struct dma_buf_attachment *attachment) in system_heap_detach() argument
107 struct dma_heap_attachment *a = attachment->priv; in system_heap_detach()
117 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf() argument
120 struct dma_heap_attachment *a = attachment->priv; in system_heap_map_dma_buf()
124 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
132 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf() argument
136 struct dma_heap_attachment *a = attachment->priv; in system_heap_unmap_dma_buf()
[all …]
H A Dcma_heap.c55 struct dma_buf_attachment *attachment) in cma_heap_attach() argument
74 a->dev = attachment->dev; in cma_heap_attach()
78 attachment->priv = a; in cma_heap_attach()
88 struct dma_buf_attachment *attachment) in cma_heap_detach() argument
91 struct dma_heap_attachment *a = attachment->priv; in cma_heap_detach()
101 static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_map_dma_buf() argument
104 struct dma_heap_attachment *a = attachment->priv; in cma_heap_map_dma_buf()
108 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
115 static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_unmap_dma_buf() argument
119 struct dma_heap_attachment *a = attachment->priv; in cma_heap_unmap_dma_buf()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/ !
H A Damdgpu_amdkfd_gpuvm.c544 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_userptr() argument
550 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr()
551 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_userptr()
594 kfd_mem_dmamap_dmabuf(struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_dmabuf() argument
597 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_dmabuf()
606 * @attachment: Virtual address attachment of the BO on accessing device
631 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_sg_bo() argument
634 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_sg_bo()
635 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_sg_bo()
686 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_attachment() argument
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/ !
H A Dmock_dmabuf.c10 static struct sg_table *mock_map_dma_buf(struct dma_buf_attachment *attachment, in mock_map_dma_buf() argument
13 struct mock_dmabuf *mock = to_mock(attachment->dmabuf); in mock_map_dma_buf()
32 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
45 static void mock_unmap_dma_buf(struct dma_buf_attachment *attachment, in mock_unmap_dma_buf() argument
49 dma_unmap_sgtable(attachment->dev, st, dir, 0); in mock_unmap_dma_buf()
/linux/net/core/ !
H A Ddevmem.c72 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in __net_devmem_dmabuf_binding_free()
74 dma_buf_detach(binding->dmabuf, binding->attachment); in __net_devmem_dmabuf_binding_free()
212 binding->attachment = dma_buf_attach(binding->dmabuf, dev->dev.parent); in net_devmem_bind_dmabuf()
213 if (IS_ERR(binding->attachment)) { in net_devmem_bind_dmabuf()
214 err = PTR_ERR(binding->attachment); in net_devmem_bind_dmabuf()
219 binding->sgt = dma_buf_map_attachment_unlocked(binding->attachment, in net_devmem_bind_dmabuf()
223 NL_SET_ERR_MSG(extack, "Failed to map dmabuf attachment"); in net_devmem_bind_dmabuf()
314 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in net_devmem_bind_dmabuf()
317 dma_buf_detach(dmabuf, binding->attachment); in net_devmem_bind_dmabuf()
/linux/drivers/gpu/drm/omapdrm/ !
H A Domap_gem_dmabuf.c21 struct dma_buf_attachment *attachment, in omap_gem_map_dma_buf() argument
24 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_map_dma_buf()
33 static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in omap_gem_unmap_dma_buf() argument
36 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_unmap_dma_buf()
/linux/tools/testing/selftests/bpf/prog_tests/ !
H A Drecursive_attach.c9 /* Test recursive attachment of tracing progs with more than one nesting level
10 * is not possible. Create a chain of attachment, verify that the last prog
47 /* Create an attachment chain with two fentry progs */ in test_recursive_fentry_chain()
82 * attachment of the following prog. in test_recursive_fentry_chain()
H A Dxdp_link.c43 /* set initial prog attachment */ in serial_test_xdp_link()
53 /* BPF link is not allowed to replace prog attachment */ in serial_test_xdp_link()
/linux/Documentation/devicetree/bindings/ata/ !
H A Dpata-common.yaml7 title: Common Properties for Parallel AT attachment (PATA) controllers
14 ATA (PATA, also known as IDE) AT attachment storage devices.
H A Dsata-common.yaml7 title: Common Properties for Serial AT attachment (SATA) controllers
14 AT attachment (SATA) storage devices. It doesn't constitute a device tree
/linux/Documentation/bpf/ !
H A Dprog_lsm.rst117 Attachment to LSM Hooks
120 The LSM allows attachment of eBPF programs as LSM hooks using :manpage:`bpf(2)`
128 ``my_prog__attach`` for attachment and ``my_prog__destroy`` for cleaning up.
H A Dmap_cgroup_storage.rst130 Prior to Linux 5.9, the lifetime of a storage is precisely per-attachment, and
146 the old storage is reused for the new attachment. If the map is attach type
160 APIs to read or update the storage for a given attachment. For Linux 5.9
H A Dprog_sk_lookup.rst33 Attachment chapter
38 netns FD as attachment ``target_fd``.
/linux/fs/jffs2/ !
H A Dsecurity.c25 /* ---- Initial Security Label(s) Attachment callback --- */
42 /* ---- Initial Security Label(s) Attachment ----------- */
/linux/net/xfrm/ !
H A DKconfig68 where mobile nodes change their attachment point to the Internet.
132 change their attachment point to the Internet. Detail
/linux/sound/soc/fsl/ !
H A Dfsl_asrc_m2m.c411 static struct sg_table *fsl_asrc_m2m_map_dma_buf(struct dma_buf_attachment *attachment, in fsl_asrc_m2m_map_dma_buf() argument
414 struct snd_dma_buffer *dmab = attachment->dmabuf->priv; in fsl_asrc_m2m_map_dma_buf()
421 if (dma_get_sgtable(attachment->dev, sgt, dmab->area, dmab->addr, dmab->bytes) < 0) in fsl_asrc_m2m_map_dma_buf()
424 if (dma_map_sgtable(attachment->dev, sgt, direction, 0)) in fsl_asrc_m2m_map_dma_buf()
435 static void fsl_asrc_m2m_unmap_dma_buf(struct dma_buf_attachment *attachment, in fsl_asrc_m2m_unmap_dma_buf() argument
439 dma_unmap_sgtable(attachment->dev, table, direction, 0); in fsl_asrc_m2m_unmap_dma_buf()
/linux/drivers/gpu/drm/xe/ !
H A Dxe_dma_buf.c282 * Don't publish the bo until we have a valid attachment, and a in xe_gem_prime_import()
283 * valid attachment needs the bo address. So pre-create a bo before in xe_gem_prime_import()
284 * creating the attachment and publish. in xe_gem_prime_import()
/linux/tools/testing/selftests/bpf/progs/ !
H A Dbad_struct_ops2.c9 * struct_ops map, which provides attachment information.
H A Dfentry_recursive.c9 /* Dummy fentry bpf prog for testing fentry attachment chains */
H A Dfentry_recursive_target.c9 /* Dummy fentry bpf prog for testing fentry attachment chains. It's going to be
/linux/drivers/soundwire/ !
H A Dsysfs_local.h11 /* basic attributes to report status of Slave (attachment, dev_num) */
/linux/include/linux/usb/ !
H A Disp116x.h20 by attachment/detachment or by device activity
/linux/drivers/media/dvb-frontends/ !
H A Dix2505v.h15 * struct ix2505v_config - ix2505 attachment configuration

1234567