/linux-4.19.296/include/linux/ |
D | dma-buf.h | 37 struct dma_buf; 80 int (*attach)(struct dma_buf *, struct dma_buf_attachment *); 91 void (*detach)(struct dma_buf *, struct dma_buf_attachment *); 156 void (*release)(struct dma_buf *); 188 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction); 207 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction); 208 void *(*map)(struct dma_buf *, unsigned long); 209 void (*unmap)(struct dma_buf *, unsigned long, void *); 246 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma); 248 void *(*vmap)(struct dma_buf *); [all …]
|
D | seqno-fence.h | 35 struct dma_buf *sync_buf; 96 struct dma_buf *sync_buf, uint32_t context, in seqno_fence_init()
|
D | parport_pc.h | 40 char *dma_buf; member
|
/linux-4.19.296/include/drm/ |
D | drm_prime.h | 56 struct dma_buf; 67 struct dma_buf *drm_gem_prime_export(struct drm_device *dev, 74 struct dma_buf *dma_buf); 77 struct dma_buf *dma_buf, 82 struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev, 84 void drm_gem_dmabuf_release(struct dma_buf *dma_buf); 85 int drm_gem_map_attach(struct dma_buf *dma_buf, 87 void drm_gem_map_detach(struct dma_buf *dma_buf, 94 void *drm_gem_dmabuf_vmap(struct dma_buf *dma_buf); 95 void drm_gem_dmabuf_vunmap(struct dma_buf *dma_buf, void *vaddr); [all …]
|
D | drm_drv.h | 476 struct dma_buf * (*gem_prime_export)(struct drm_device *dev, 484 struct dma_buf *dma_buf);
|
D | drm_gem.h | 129 struct dma_buf *dma_buf; member
|
/linux-4.19.296/drivers/xen/ |
D | gntdev-dmabuf.c | 35 struct dma_buf *dmabuf; 225 static int dmabuf_exp_ops_attach(struct dma_buf *dma_buf, in dmabuf_exp_ops_attach() argument 240 static void dmabuf_exp_ops_detach(struct dma_buf *dma_buf, in dmabuf_exp_ops_detach() argument 333 static void dmabuf_exp_ops_release(struct dma_buf *dma_buf) in dmabuf_exp_ops_release() argument 335 struct gntdev_dmabuf *gntdev_dmabuf = dma_buf->priv; in dmabuf_exp_ops_release() 345 static void *dmabuf_exp_ops_kmap(struct dma_buf *dma_buf, in dmabuf_exp_ops_kmap() argument 352 static void dmabuf_exp_ops_kunmap(struct dma_buf *dma_buf, in dmabuf_exp_ops_kunmap() argument 358 static int dmabuf_exp_ops_mmap(struct dma_buf *dma_buf, in dmabuf_exp_ops_mmap() argument 611 struct dma_buf *dma_buf; in dmabuf_imp_to_refs() local 617 dma_buf = dma_buf_get(fd); in dmabuf_imp_to_refs() [all …]
|
/linux-4.19.296/drivers/dma-buf/ |
D | dma-buf.c | 51 struct dma_buf *dmabuf; in dma_buf_release() 86 struct dma_buf *dmabuf; in dma_buf_mmap_internal() 103 struct dma_buf *dmabuf; in dma_buf_llseek() 162 struct dma_buf *dmabuf; in dma_buf_poll() 282 struct dma_buf *dmabuf; in dma_buf_ioctl() 389 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info) in dma_buf_export() 391 struct dma_buf *dmabuf; in dma_buf_export() 394 size_t alloc_size = sizeof(struct dma_buf); in dma_buf_export() 471 int dma_buf_fd(struct dma_buf *dmabuf, int flags) in dma_buf_fd() 496 struct dma_buf *dma_buf_get(int fd) in dma_buf_get() [all …]
|
/linux-4.19.296/drivers/media/common/videobuf2/ |
D | videobuf2-vmalloc.c | 32 struct dma_buf *dbuf; 212 static int vb2_vmalloc_dmabuf_ops_attach(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_attach() 251 static void vb2_vmalloc_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_detach() 317 static void vb2_vmalloc_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_vmalloc_dmabuf_ops_release() 323 static void *vb2_vmalloc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_vmalloc_dmabuf_ops_kmap() 330 static void *vb2_vmalloc_dmabuf_ops_vmap(struct dma_buf *dbuf) in vb2_vmalloc_dmabuf_ops_vmap() 337 static int vb2_vmalloc_dmabuf_ops_mmap(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_mmap() 354 static struct dma_buf *vb2_vmalloc_get_dmabuf(void *buf_priv, unsigned long flags) in vb2_vmalloc_get_dmabuf() 357 struct dma_buf *dbuf; in vb2_vmalloc_get_dmabuf() 411 static void *vb2_vmalloc_attach_dmabuf(struct device *dev, struct dma_buf *dbuf, in vb2_vmalloc_attach_dmabuf()
|
D | videobuf2-dma-sg.c | 374 static int vb2_dma_sg_dmabuf_ops_attach(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_attach() 412 static void vb2_dma_sg_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_detach() 478 static void vb2_dma_sg_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_dma_sg_dmabuf_ops_release() 484 static void *vb2_dma_sg_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dma_sg_dmabuf_ops_kmap() 491 static void *vb2_dma_sg_dmabuf_ops_vmap(struct dma_buf *dbuf) in vb2_dma_sg_dmabuf_ops_vmap() 498 static int vb2_dma_sg_dmabuf_ops_mmap(struct dma_buf *dbuf, in vb2_dma_sg_dmabuf_ops_mmap() 515 static struct dma_buf *vb2_dma_sg_get_dmabuf(void *buf_priv, unsigned long flags) in vb2_dma_sg_get_dmabuf() 518 struct dma_buf *dbuf; in vb2_dma_sg_get_dmabuf() 608 static void *vb2_dma_sg_attach_dmabuf(struct device *dev, struct dma_buf *dbuf, in vb2_dma_sg_attach_dmabuf()
|
D | videobuf2-dma-contig.c | 225 static int vb2_dc_dmabuf_ops_attach(struct dma_buf *dbuf, in vb2_dc_dmabuf_ops_attach() 263 static void vb2_dc_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_dc_dmabuf_ops_detach() 329 static void vb2_dc_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_dc_dmabuf_ops_release() 335 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dc_dmabuf_ops_kmap() 342 static void *vb2_dc_dmabuf_ops_vmap(struct dma_buf *dbuf) in vb2_dc_dmabuf_ops_vmap() 349 static int vb2_dc_dmabuf_ops_mmap(struct dma_buf *dbuf, in vb2_dc_dmabuf_ops_mmap() 388 static struct dma_buf *vb2_dc_get_dmabuf(void *buf_priv, unsigned long flags) in vb2_dc_get_dmabuf() 391 struct dma_buf *dbuf; in vb2_dc_get_dmabuf() 676 static void *vb2_dc_attach_dmabuf(struct device *dev, struct dma_buf *dbuf, in vb2_dc_attach_dmabuf()
|
D | videobuf2-core.c | 1134 struct dma_buf *dbuf = dma_buf_get(planes[plane].m.fd); in __prepare_dmabuf() 1871 struct dma_buf *dbuf; in vb2_core_expbuf()
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-stm32.c | 84 dma->dma_buf = 0; in stm32_i2c_dma_free() 118 dma->dma_buf = dma_map_single(chan_dev, buf, dma->dma_len, in stm32_i2c_prep_dma_xfer() 120 if (dma_mapping_error(chan_dev, dma->dma_buf)) { in stm32_i2c_prep_dma_xfer() 125 txdesc = dmaengine_prep_slave_single(dma->chan_using, dma->dma_buf, in stm32_i2c_prep_dma_xfer() 150 dma_unmap_single(chan_dev, dma->dma_buf, dma->dma_len, in stm32_i2c_prep_dma_xfer()
|
D | i2c-qcom-geni.c | 370 void *dma_buf; in geni_i2c_rx_one_msg() local 374 dma_buf = i2c_get_dma_safe_msg_buf(msg, 32); in geni_i2c_rx_one_msg() 375 if (dma_buf) in geni_i2c_rx_one_msg() 384 ret = geni_se_rx_dma_prep(&gi2c->se, dma_buf, msg->len, in geni_i2c_rx_one_msg() 389 i2c_put_dma_safe_msg_buf(dma_buf, msg, false); in geni_i2c_rx_one_msg() 402 i2c_put_dma_safe_msg_buf(dma_buf, msg, !gi2c->err); in geni_i2c_rx_one_msg() 413 void *dma_buf; in geni_i2c_tx_one_msg() local 417 dma_buf = i2c_get_dma_safe_msg_buf(msg, 32); in geni_i2c_tx_one_msg() 418 if (dma_buf) in geni_i2c_tx_one_msg() 427 ret = geni_se_tx_dma_prep(&gi2c->se, dma_buf, msg->len, in geni_i2c_tx_one_msg() [all …]
|
D | i2c-stm32.h | 40 dma_addr_t dma_buf; member
|
D | i2c-imx.c | 179 dma_addr_t dma_buf; member 343 dma_unmap_single(dma->chan_using->device->dev, dma->dma_buf, in i2c_imx_dma_callback() 356 dma->dma_buf = dma_map_single(chan_dev, msgs->buf, in i2c_imx_dma_xfer() 358 if (dma_mapping_error(chan_dev, dma->dma_buf)) { in i2c_imx_dma_xfer() 363 txdesc = dmaengine_prep_slave_single(dma->chan_using, dma->dma_buf, in i2c_imx_dma_xfer() 385 dma_unmap_single(chan_dev, dma->dma_buf, in i2c_imx_dma_xfer() 395 dma->dma_buf = 0; in i2c_imx_dma_free()
|
D | i2c-sh_mobile.c | 139 u8 *dma_buf; member 570 dma_addr = dma_map_single(chan->device->dev, pd->dma_buf, pd->msg->len, dir); in sh_mobile_i2c_xfer_dma() 622 pd->dma_buf = i2c_get_dma_safe_msg_buf(pd->msg, 8); in start_ch() 623 if (pd->dma_buf) in start_ch() 709 i2c_put_dma_safe_msg_buf(pd->dma_buf, pd->msg, pd->stop_after_dma); in sh_mobile_i2c_xfer()
|
D | i2c-at91.c | 760 u8 *dma_buf = NULL; in at91_twi_xfer() local 809 dma_buf = i2c_get_dma_safe_msg_buf(m_start, 1); in at91_twi_xfer() 810 if (!dma_buf) { in at91_twi_xfer() 814 dev->buf = dma_buf; in at91_twi_xfer() 818 i2c_put_dma_safe_msg_buf(dma_buf, m_start, !ret); in at91_twi_xfer()
|
/linux-4.19.296/include/drm/ttm/ |
D | ttm_object.h | 158 struct dma_buf *dma_buf; member
|
/linux-4.19.296/include/media/ |
D | videobuf2-core.h | 122 struct dma_buf *(*get_dmabuf)(void *buf_priv, unsigned long flags); 133 struct dma_buf *dbuf, 174 struct dma_buf *dbuf;
|
/linux-4.19.296/drivers/parport/ |
D | parport_gsc.c | 259 priv->dma_buf = NULL; in parport_gsc_probe_port() 395 if (priv->dma_buf) in parport_remove_chip() 397 priv->dma_buf, in parport_remove_chip()
|
D | parport_gsc.h | 80 char *dma_buf; member
|
D | parport_pc.c | 616 memcpy(priv->dma_buf, buf, count); in parport_pc_fifo_write_block_dma() 2077 priv->dma_buf = NULL; in parport_pc_probe_port() 2211 priv->dma_buf = in parport_pc_probe_port() 2216 if (!priv->dma_buf) { in parport_pc_probe_port() 2291 if (priv->dma_buf) in parport_pc_unregister_port() 2293 priv->dma_buf, in parport_pc_unregister_port()
|
/linux-4.19.296/drivers/i2c/ |
D | i2c-core-smbus.c | 298 unsigned char *dma_buf; in i2c_smbus_try_get_dmabuf() local 300 dma_buf = kzalloc(I2C_SMBUS_BLOCK_MAX + (is_read ? 2 : 3), GFP_KERNEL); in i2c_smbus_try_get_dmabuf() 301 if (!dma_buf) in i2c_smbus_try_get_dmabuf() 304 msg->buf = dma_buf; in i2c_smbus_try_get_dmabuf()
|
/linux-4.19.296/drivers/iio/adc/ |
D | stm32-dfsdm-adc.c | 75 dma_addr_t dma_buf; member 590 adc->dma_buf, in stm32_dfsdm_adc_dma_start() 921 adc->rx_buf, adc->dma_buf); in stm32_dfsdm_dma_release() 947 &adc->dma_buf, GFP_KERNEL); in stm32_dfsdm_dma_request() 961 adc->rx_buf, adc->dma_buf); in stm32_dfsdm_dma_request()
|