Home
last modified time | relevance | path

Searched refs:attach (Results 1 – 25 of 35) sorted by relevance

12

/linux-4.19.296/drivers/media/common/videobuf2/
Dvideobuf2-vmalloc.c215 struct vb2_vmalloc_attachment *attach; in vb2_vmalloc_dmabuf_ops_attach() local
224 attach = kzalloc(sizeof(*attach), GFP_KERNEL); in vb2_vmalloc_dmabuf_ops_attach()
225 if (!attach) in vb2_vmalloc_dmabuf_ops_attach()
228 sgt = &attach->sgt; in vb2_vmalloc_dmabuf_ops_attach()
231 kfree(attach); in vb2_vmalloc_dmabuf_ops_attach()
239 kfree(attach); in vb2_vmalloc_dmabuf_ops_attach()
246 attach->dma_dir = DMA_NONE; in vb2_vmalloc_dmabuf_ops_attach()
247 dbuf_attach->priv = attach; in vb2_vmalloc_dmabuf_ops_attach()
254 struct vb2_vmalloc_attachment *attach = db_attach->priv; in vb2_vmalloc_dmabuf_ops_detach() local
257 if (!attach) in vb2_vmalloc_dmabuf_ops_detach()
[all …]
Dvideobuf2-dma-sg.c377 struct vb2_dma_sg_attachment *attach; in vb2_dma_sg_dmabuf_ops_attach() local
384 attach = kzalloc(sizeof(*attach), GFP_KERNEL); in vb2_dma_sg_dmabuf_ops_attach()
385 if (!attach) in vb2_dma_sg_dmabuf_ops_attach()
388 sgt = &attach->sgt; in vb2_dma_sg_dmabuf_ops_attach()
394 kfree(attach); in vb2_dma_sg_dmabuf_ops_attach()
406 attach->dma_dir = DMA_NONE; in vb2_dma_sg_dmabuf_ops_attach()
407 dbuf_attach->priv = attach; in vb2_dma_sg_dmabuf_ops_attach()
415 struct vb2_dma_sg_attachment *attach = db_attach->priv; in vb2_dma_sg_dmabuf_ops_detach() local
418 if (!attach) in vb2_dma_sg_dmabuf_ops_detach()
421 sgt = &attach->sgt; in vb2_dma_sg_dmabuf_ops_detach()
[all …]
Dvideobuf2-dma-contig.c228 struct vb2_dc_attachment *attach; in vb2_dc_dmabuf_ops_attach() local
235 attach = kzalloc(sizeof(*attach), GFP_KERNEL); in vb2_dc_dmabuf_ops_attach()
236 if (!attach) in vb2_dc_dmabuf_ops_attach()
239 sgt = &attach->sgt; in vb2_dc_dmabuf_ops_attach()
245 kfree(attach); in vb2_dc_dmabuf_ops_attach()
257 attach->dma_dir = DMA_NONE; in vb2_dc_dmabuf_ops_attach()
258 dbuf_attach->priv = attach; in vb2_dc_dmabuf_ops_attach()
266 struct vb2_dc_attachment *attach = db_attach->priv; in vb2_dc_dmabuf_ops_detach() local
269 if (!attach) in vb2_dc_dmabuf_ops_detach()
272 sgt = &attach->sgt; in vb2_dc_dmabuf_ops_detach()
[all …]
/linux-4.19.296/drivers/xen/
Dgntdev-dmabuf.c53 struct dma_buf_attachment *attach; member
226 struct dma_buf_attachment *attach) in dmabuf_exp_ops_attach() argument
236 attach->priv = gntdev_dmabuf_attach; in dmabuf_exp_ops_attach()
241 struct dma_buf_attachment *attach) in dmabuf_exp_ops_detach() argument
243 struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach = attach->priv; in dmabuf_exp_ops_detach()
250 dma_unmap_sg_attrs(attach->dev, sgt->sgl, in dmabuf_exp_ops_detach()
259 attach->priv = NULL; in dmabuf_exp_ops_detach()
264 dmabuf_exp_ops_map_dma_buf(struct dma_buf_attachment *attach, in dmabuf_exp_ops_map_dma_buf() argument
267 struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach = attach->priv; in dmabuf_exp_ops_map_dma_buf()
268 struct gntdev_dmabuf *gntdev_dmabuf = attach->dmabuf->priv; in dmabuf_exp_ops_map_dma_buf()
[all …]
/linux-4.19.296/drivers/dma-buf/
Ddma-buf.c554 struct dma_buf_attachment *attach; in dma_buf_attach() local
560 attach = kzalloc(sizeof(*attach), GFP_KERNEL); in dma_buf_attach()
561 if (!attach) in dma_buf_attach()
564 attach->dev = dev; in dma_buf_attach()
565 attach->dmabuf = dmabuf; in dma_buf_attach()
569 if (dmabuf->ops->attach) { in dma_buf_attach()
570 ret = dmabuf->ops->attach(dmabuf, attach); in dma_buf_attach()
574 list_add(&attach->node, &dmabuf->attachments); in dma_buf_attach()
577 return attach; in dma_buf_attach()
580 kfree(attach); in dma_buf_attach()
[all …]
/linux-4.19.296/include/drm/
Ddrm_prime.h86 struct dma_buf_attachment *attach);
88 struct dma_buf_attachment *attach);
89 struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
91 void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
Ddrm_gem_cma_helper.h99 struct dma_buf_attachment *attach,
Ddrm_bridge.h51 int (*attach)(struct drm_bridge *bridge); member
Ddrm_drv.h492 struct dma_buf_attachment *attach,
Ddrm_mipi_dsi.h87 int (*attach)(struct mipi_dsi_host *host, member
/linux-4.19.296/include/linux/
Datm_tcp.h14 int (*attach)(struct atm_vcc *vcc,int itf); member
Dhdlc.h40 int (*attach)(struct net_device *dev, member
Ddma-buf.h80 int (*attach)(struct dma_buf *, struct dma_buf_attachment *); member
Dcgroup-defs.h601 void (*attach)(struct cgroup_taskset *tset); member
Dparport.h260 void (*attach) (struct parport *); member
/linux-4.19.296/include/net/
Drsi_91x.h50 int (*attach)(void *priv, struct rsi_proto_ops *ops); member
/linux-4.19.296/include/drm/bridge/
Danalogix_dp.h39 int (*attach)(struct analogix_dp_plat_data *, struct drm_bridge *, member
/linux-4.19.296/include/scsi/
Dscsi_dh.h69 int (*attach)(struct scsi_device *); member
/linux-4.19.296/include/drm/tinydrm/
Dtinydrm.h103 struct dma_buf_attachment *attach,
/linux-4.19.296/drivers/media/common/b2c2/
Dflexcop-fe-tuner.c666 int (*attach)(struct flexcop_device *, struct i2c_adapter *); member
685 if (!flexcop_frontends[i].attach) in flexcop_frontend_init()
690 if (flexcop_frontends[i].attach(fc, &fc->fc_i2c_adap[0].i2c_adap)) in flexcop_frontend_init()
/linux-4.19.296/drivers/bluetooth/
Dbtrsi.c177 .attach = rsi_hci_attach,
/linux-4.19.296/include/uapi/scsi/
Dcxlflash_ioctl.h172 struct dk_cxlflash_attach attach; member
/linux-4.19.296/drivers/bus/
DKconfig46 You can attach many different devices on it, such as NOR, onenand.
141 to attach devices such as NOR, UART, FPGA and more.
/linux-4.19.296/include/linux/usb/
Dserial.h264 int (*attach)(struct usb_serial *serial); member
/linux-4.19.296/include/media/drv-intf/
Dsaa7146.h104 int (*attach)(struct saa7146_dev *, struct saa7146_pci_extension_data *); member

12