[go: nahoru, domu]

Searched refs:attach (Results 1 - 25 of 208) sorted by relevance

123456789

/drivers/gpu/drm/exynos/
H A Dexynos_drm_dmabuf.c33 struct dma_buf_attachment *attach)
42 attach->priv = exynos_attach;
48 struct dma_buf_attachment *attach)
50 struct exynos_drm_dmabuf_attachment *exynos_attach = attach->priv;
59 dma_unmap_sg(attach->dev, sgt->sgl, sgt->nents,
64 attach->priv = NULL;
68 exynos_gem_map_dma_buf(struct dma_buf_attachment *attach, argument
71 struct exynos_drm_dmabuf_attachment *exynos_attach = attach->priv;
72 struct exynos_drm_gem_obj *gem_obj = dma_buf_to_obj(attach->dmabuf);
109 nents = dma_map_sg(attach
31 exynos_gem_attach_dma_buf(struct dma_buf *dmabuf, struct device *dev, struct dma_buf_attachment *attach) argument
47 exynos_gem_detach_dma_buf(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) argument
129 exynos_gem_unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sgt, enum dma_data_direction dir) argument
196 struct dma_buf_attachment *attach; local
[all...]
/drivers/gpu/drm/msm/
H A Dmsm_gem_prime.c41 struct dma_buf_attachment *attach, struct sg_table *sg)
43 return msm_gem_import(dev, attach->dmabuf->size, sg);
40 msm_gem_prime_import_sg_table(struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *sg) argument
H A Dmsm_mmu.h24 int (*attach)(struct msm_mmu *mmu, const char **names, int cnt); member in struct:msm_mmu_funcs
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_prime.c38 * DMA-BUF attach- and mapping methods. No need to implement
44 struct dma_buf_attachment *attach)
50 struct dma_buf_attachment *attach)
54 static struct sg_table *vmw_prime_map_dma_buf(struct dma_buf_attachment *attach, argument
60 static void vmw_prime_unmap_dma_buf(struct dma_buf_attachment *attach, argument
106 .attach = vmw_prime_map_attach,
42 vmw_prime_map_attach(struct dma_buf *dma_buf, struct device *target_dev, struct dma_buf_attachment *attach) argument
49 vmw_prime_map_detach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach) argument
/drivers/acpi/
H A Dint340x_thermal.c45 .attach = int340x_thermal_handler_attach,
H A Dacpi_cmos_rtc.c83 .attach = acpi_install_cmos_rtc_space_handler,
H A Dacpi_pnp.c359 .attach = acpi_pnp_attach,
/drivers/gpu/drm/
H A Ddrm_prime.c120 struct dma_buf_attachment *attach)
131 attach->priv = prime_attach;
140 struct dma_buf_attachment *attach)
142 struct drm_prime_attachment *prime_attach = attach->priv;
156 dma_unmap_sg(attach->dev, sgt->sgl, sgt->nents,
163 attach->priv = NULL;
180 static struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach, argument
183 struct drm_prime_attachment *prime_attach = attach->priv;
184 struct drm_gem_object *obj = attach->dmabuf->priv;
204 if (!dma_map_sg(attach
118 drm_gem_map_attach(struct dma_buf *dma_buf, struct device *target_dev, struct dma_buf_attachment *attach) argument
139 drm_gem_map_detach(struct dma_buf *dma_buf, struct dma_buf_attachment *attach) argument
217 drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sgt, enum dma_data_direction dir) argument
496 struct dma_buf_attachment *attach; local
748 struct dma_buf_attachment *attach; local
[all...]
/drivers/dma-buf/
H A Ddma-buf.c414 * calls attach() of dma_buf_ops to allow device-specific attach functionality
415 * @dmabuf: [in] buffer to attach device to.
424 struct dma_buf_attachment *attach; local
430 attach = kzalloc(sizeof(struct dma_buf_attachment), GFP_KERNEL);
431 if (attach == NULL)
434 attach->dev = dev;
435 attach->dmabuf = dmabuf;
439 if (dmabuf->ops->attach) {
440 ret = dmabuf->ops->attach(dmabu
463 dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach) argument
488 dma_buf_map_attachment(struct dma_buf_attachment *attach, enum dma_data_direction direction) argument
515 dma_buf_unmap_attachment(struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) argument
[all...]
/drivers/video/adf/
H A Dadf_memblock.c24 static struct sg_table *adf_memblock_map(struct dma_buf_attachment *attach, argument
27 struct adf_memblock_pdata *pdata = attach->dmabuf->priv;
41 sg_set_page(table->sgl, page, attach->dmabuf->size, 0);
43 nents = dma_map_sg(attach->dev, table->sgl, 1, direction);
58 static void adf_memblock_unmap(struct dma_buf_attachment *attach, argument
61 dma_unmap_sg(attach->dev, table->sgl, 1, direction);
H A Dadf.h56 if (!dev->ops->attach)
59 return dev->ops->attach(dev, eng, intf);
/drivers/gpu/drm/nouveau/
H A Dnouveau_prime.c60 struct dma_buf_attachment *attach,
64 struct reservation_object *robj = attach->dmabuf->resv;
71 ret = nouveau_bo_new(dev, attach->dmabuf->size, 0, flags, 0, 0,
59 nouveau_gem_prime_import_sg_table(struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *sg) argument
/drivers/gpu/drm/qxl/
H A Dqxl_prime.c49 struct drm_device *dev, struct dma_buf_attachment *attach,
48 qxl_gem_prime_import_sg_table( struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *table) argument
/drivers/staging/comedi/drivers/
H A Damplc_pc236.c74 .attach = pc236_attach,
/drivers/media/v4l2-core/
H A Dvideobuf2-dma-contig.c238 struct vb2_dc_attachment *attach; local
245 attach = kzalloc(sizeof(*attach), GFP_KERNEL);
246 if (!attach)
249 sgt = &attach->sgt;
255 kfree(attach);
267 attach->dir = DMA_NONE;
268 dbuf_attach->priv = attach;
276 struct vb2_dc_attachment *attach = db_attach->priv; local
279 if (!attach)
296 struct vb2_dc_attachment *attach = db_attach->priv; local
[all...]
/drivers/gpu/drm/udl/
H A Dudl_gem.c255 struct dma_buf_attachment *attach; local
260 /* need to attach */
262 attach = dma_buf_attach(dma_buf, dev->dev);
263 if (IS_ERR(attach)) {
265 return ERR_CAST(attach);
270 sg = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL);
281 uobj->base.import_attach = attach;
286 dma_buf_unmap_attachment(attach, sg, DMA_BIDIRECTIONAL);
288 dma_buf_detach(dma_buf, attach);
/drivers/mtd/ubi/
H A DMakefile3 ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o attach.o
/drivers/staging/android/ion/
H A Dion_test.c48 struct dma_buf_attachment *attach; local
55 attach = dma_buf_attach(dma_buf, dev);
56 if (IS_ERR(attach))
57 return PTR_ERR(attach);
59 table = dma_buf_map_attachment(attach, dir);
95 dma_buf_unmap_attachment(attach, table, dir);
96 dma_buf_detach(dma_buf, attach);
/drivers/gpu/drm/radeon/
H A Dradeon_prime.c61 struct dma_buf_attachment *attach,
64 struct reservation_object *resv = attach->dmabuf->resv;
70 ret = radeon_bo_create(rdev, attach->dmabuf->size, PAGE_SIZE, false,
60 radeon_gem_prime_import_sg_table(struct drm_device *dev, struct dma_buf_attachment *attach, struct sg_table *sg) argument
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_dcb.h31 int (*attach) (struct qlcnic_dcb *); member in struct:qlcnic_dcb_ops
67 if (dcb && dcb->ops->attach)
68 return dcb->ops->attach(dcb);
/drivers/gpu/drm/tegra/
H A Dgem.c176 struct dma_buf_attachment *attach; local
196 attach = dma_buf_attach(buf, drm->dev);
197 if (IS_ERR(attach)) {
198 err = PTR_ERR(attach);
204 bo->sgt = dma_buf_map_attachment(attach, DMA_TO_DEVICE);
221 bo->gem.import_attach = attach;
227 dma_buf_unmap_attachment(attach, bo->sgt, DMA_TO_DEVICE);
229 dma_buf_detach(buf, attach);
334 tegra_gem_prime_map_dma_buf(struct dma_buf_attachment *attach, argument
337 struct drm_gem_object *gem = attach
356 tegra_gem_prime_unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sgt, enum dma_data_direction dir) argument
[all...]
/drivers/scsi/pcmcia/
H A DKconfig16 Say Y here if you intend to attach this type of PCMCIA SCSI host
25 Say Y here if you intend to attach this type of PCMCIA SCSI host
35 If you intend to attach this type of PCMCIA SCSI host adapter to
68 Say Y here if you intend to attach this type of PCMCIA SCSI host
/drivers/gpu/drm/i915/
H A Di915_gem_dmabuf.c272 struct dma_buf_attachment *attach; local
290 /* need to attach */
291 attach = dma_buf_attach(dma_buf, dev->dev);
292 if (IS_ERR(attach))
293 return ERR_CAST(attach);
305 obj->base.import_attach = attach;
310 dma_buf_detach(dma_buf, attach);
/drivers/gpu/drm/armada/
H A Darmada_gem.c421 armada_gem_prime_map_dma_buf(struct dma_buf_attachment *attach, argument
424 struct drm_gem_object *obj = attach->dmabuf->priv;
456 if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0) {
467 if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0)
490 static void armada_gem_prime_unmap_dma_buf(struct dma_buf_attachment *attach, argument
493 struct drm_gem_object *obj = attach->dmabuf->priv;
498 dma_unmap_sg(attach->dev, sgt->sgl, sgt->nents, dir);
548 struct dma_buf_attachment *attach; local
563 attach = dma_buf_attach(buf, dev->dev);
564 if (IS_ERR(attach))
[all...]
/drivers/net/wireless/ath/ath5k/
H A DMakefile11 ath5k-y += attach.o

Completed in 437 milliseconds

123456789