/linux-4.19.296/drivers/media/common/videobuf2/ |
D | videobuf2-vmalloc.c | 215 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 …]
|
D | videobuf2-dma-sg.c | 377 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 …]
|
D | videobuf2-dma-contig.c | 228 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/ |
D | gntdev-dmabuf.c | 53 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/ |
D | dma-buf.c | 554 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/ |
D | drm_prime.h | 86 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,
|
D | drm_gem_cma_helper.h | 99 struct dma_buf_attachment *attach,
|
D | drm_bridge.h | 51 int (*attach)(struct drm_bridge *bridge); member
|
D | drm_drv.h | 492 struct dma_buf_attachment *attach,
|
D | drm_mipi_dsi.h | 87 int (*attach)(struct mipi_dsi_host *host, member
|
/linux-4.19.296/include/linux/ |
D | atm_tcp.h | 14 int (*attach)(struct atm_vcc *vcc,int itf); member
|
D | hdlc.h | 40 int (*attach)(struct net_device *dev, member
|
D | dma-buf.h | 80 int (*attach)(struct dma_buf *, struct dma_buf_attachment *); member
|
D | cgroup-defs.h | 601 void (*attach)(struct cgroup_taskset *tset); member
|
D | parport.h | 260 void (*attach) (struct parport *); member
|
/linux-4.19.296/include/net/ |
D | rsi_91x.h | 50 int (*attach)(void *priv, struct rsi_proto_ops *ops); member
|
/linux-4.19.296/include/drm/bridge/ |
D | analogix_dp.h | 39 int (*attach)(struct analogix_dp_plat_data *, struct drm_bridge *, member
|
/linux-4.19.296/include/scsi/ |
D | scsi_dh.h | 69 int (*attach)(struct scsi_device *); member
|
/linux-4.19.296/include/drm/tinydrm/ |
D | tinydrm.h | 103 struct dma_buf_attachment *attach,
|
/linux-4.19.296/drivers/media/common/b2c2/ |
D | flexcop-fe-tuner.c | 666 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/ |
D | btrsi.c | 177 .attach = rsi_hci_attach,
|
/linux-4.19.296/include/uapi/scsi/ |
D | cxlflash_ioctl.h | 172 struct dk_cxlflash_attach attach; member
|
/linux-4.19.296/drivers/bus/ |
D | Kconfig | 46 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/ |
D | serial.h | 264 int (*attach)(struct usb_serial *serial); member
|
/linux-4.19.296/include/media/drv-intf/ |
D | saa7146.h | 104 int (*attach)(struct saa7146_dev *, struct saa7146_pci_extension_data *); member
|