| /drivers/spi/ |
| A D | spi-mem.c | 245 if (ctlr->mem_ops && ctlr->mem_ops->supports_op) in spi_mem_internal_supports_op() 398 if (ctlr->mem_ops && ctlr->mem_ops->exec_op && !spi_get_csgpiod(mem->spi, 0)) { in spi_mem_exec_op() 538 if (ctlr->mem_ops && ctlr->mem_ops->adjust_op_size) in spi_mem_adjust_op_size() 541 if (!ctlr->mem_ops || !ctlr->mem_ops->exec_op) { in spi_mem_adjust_op_size() 702 if (ctlr->mem_ops && ctlr->mem_ops->dirmap_create) in spi_mem_dirmap_create() 733 if (!desc->nodirmap && ctlr->mem_ops && ctlr->mem_ops->dirmap_destroy) in spi_mem_dirmap_destroy() 734 ctlr->mem_ops->dirmap_destroy(desc); in spi_mem_dirmap_destroy() 839 } else if (ctlr->mem_ops && ctlr->mem_ops->dirmap_read) { in spi_mem_dirmap_read() 885 } else if (ctlr->mem_ops && ctlr->mem_ops->dirmap_write) { in spi_mem_dirmap_write() 957 if (ctlr->mem_ops && ctlr->mem_ops->poll_status && !spi_get_csgpiod(mem->spi, 0)) { in spi_mem_poll_status() [all …]
|
| A D | spi-dw-bt1.c | 55 !dwsbt1->dws.mem_ops.supports_op(desc->mem, &desc->info.op_tmpl)) in dw_spi_bt1_dirmap_create() 223 dws->mem_ops.dirmap_create = dw_spi_bt1_dirmap_create; in dw_spi_bt1_sys_init() 224 dws->mem_ops.dirmap_read = dw_spi_bt1_dirmap_read; in dw_spi_bt1_sys_init()
|
| A D | spi-dw-core.c | 763 if (!dws->mem_ops.exec_op && !(dws->caps & DW_SPI_CAP_CS_OVERRIDE) && in dw_spi_init_mem_ops() 765 dws->mem_ops.adjust_op_size = dw_spi_adjust_mem_op_size; in dw_spi_init_mem_ops() 766 dws->mem_ops.supports_op = dw_spi_supports_mem_op; in dw_spi_init_mem_ops() 767 dws->mem_ops.exec_op = dw_spi_exec_mem_op; in dw_spi_init_mem_ops() 948 if (dws->mem_ops.exec_op) { in dw_spi_add_host() 949 host->mem_ops = &dws->mem_ops; in dw_spi_add_host()
|
| A D | spi-intel.c | 177 const struct intel_spi_mem_op *mem_ops; member 747 for (iop = ispi->mem_ops; iop->mem_op.cmd.opcode; iop++) { in intel_spi_match_mem_op() 1193 ispi->mem_ops = erase_64k_mem_ops; in intel_spi_init() 1196 ispi->mem_ops = generic_mem_ops; in intel_spi_init() 1494 host->mem_ops = &intel_spi_mem_ops; in intel_spi_probe()
|
| A D | spi-rpc-if.c | 167 ctlr->mem_ops = &rpcif_spi_mem_ops; in rpcif_spi_probe()
|
| A D | spi-ath79.c | 190 host->mem_ops = &ath79_mem_ops; in ath79_spi_probe()
|
| A D | spi-dw.h | 185 struct spi_controller_mem_ops mem_ops; member
|
| A D | spi-gxp.c | 284 ctlr->mem_ops = &gxp_spi_mem_ops; in gxp_spifi_probe()
|
| /drivers/tee/optee/ |
| A D | ffa_abi.c | 276 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_register() local 298 rc = mem_ops->memory_share(&args); in optee_ffa_shm_register() 305 mem_ops->memory_reclaim(args.g_handle, 0); in optee_ffa_shm_register() 320 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister() local 336 rc = mem_ops->memory_reclaim(global_handle, 0); in optee_ffa_shm_unregister() 347 const struct ffa_mem_ops *mem_ops; in optee_ffa_shm_unregister_supp() local 358 mem_ops = optee->ffa.ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister_supp() 359 rc = mem_ops->memory_reclaim(global_handle, 0); in optee_ffa_shm_unregister_supp()
|
| /drivers/media/common/videobuf2/ |
| A D | videobuf2-core.c | 75 err = _q->mem_ops->op ? _q->mem_ops->op(args) : 0; \ 87 ptr = _q->mem_ops->op ? _q->mem_ops->op(vb, args) : NULL; \ 98 if (_q->mem_ops->op) \ 99 _q->mem_ops->op(args); \ 750 !q->mem_ops->put_userptr) in __verify_userptr_ops() 763 !q->mem_ops->put || !q->mem_ops->mmap) in __verify_mmap_ops() 776 !q->mem_ops->detach_dmabuf || !q->mem_ops->map_dmabuf || in __verify_dmabuf_ops() 777 !q->mem_ops->unmap_dmabuf) in __verify_dmabuf_ops() 2446 if (!q->mem_ops->get_dmabuf) { in vb2_core_expbuf() 2619 WARN_ON(!q->mem_ops) || in vb2_core_queue_init() [all …]
|
| /drivers/tee/tstee/ |
| A D | core.c | 270 rc = ffa_dev->ops->mem_ops->memory_share(&mem_args); in tstee_shm_register() 290 (void)ffa_dev->ops->mem_ops->memory_reclaim(shm->sec_world_id, in tstee_shm_register() 300 ffa_dev->ops->mem_ops->memory_reclaim(shm->sec_world_id, 0); in tstee_shm_register() 335 rc = ffa_dev->ops->mem_ops->memory_reclaim(shm->sec_world_id, 0); in tstee_shm_unregister()
|
| /drivers/media/platform/nvidia/tegra-vde/ |
| A D | v4l2.c | 339 const struct vb2_mem_ops *mem_ops; in tegra_queue_init() local 351 mem_ops = &vb2_dma_sg_memops; in tegra_queue_init() 353 mem_ops = &vb2_dma_contig_memops; in tegra_queue_init() 365 src_vq->mem_ops = mem_ops; in tegra_queue_init() 390 dst_vq->mem_ops = mem_ops; in tegra_queue_init()
|
| /drivers/media/platform/chips-media/wave5/ |
| A D | wave5-helper.c | 94 src_vq->mem_ops = &vb2_dma_contig_memops; in wave5_vpu_queue_init() 107 dst_vq->mem_ops = &vb2_dma_contig_memops; in wave5_vpu_queue_init()
|
| /drivers/usb/gadget/function/ |
| A D | uvc_queue.c | 141 queue->queue.mem_ops = &vb2_dma_sg_memops; in uvcg_queue_init() 144 queue->queue.mem_ops = &vb2_vmalloc_memops; in uvcg_queue_init()
|
| /drivers/media/platform/amphion/ |
| A D | vpu_v4l2.c | 672 src_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init() 674 src_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init() 689 dst_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init() 691 dst_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init()
|
| /drivers/media/pci/tw686x/ |
| A D | tw686x.h | 109 const struct vb2_mem_ops *mem_ops; member
|
| A D | tw686x-video.c | 149 .mem_ops = &vb2_vmalloc_memops, 179 .mem_ops = &vb2_dma_contig_memops, 334 .mem_ops = &vb2_dma_sg_memops, 1221 vc->vidq.mem_ops = dev->dma_ops->mem_ops; in tw686x_video_init()
|
| /drivers/media/platform/qcom/iris/ |
| A D | iris_vidc.c | 102 src_vq->mem_ops = &vb2_dma_contig_memops; in iris_m2m_queue_init() 116 dst_vq->mem_ops = &vb2_dma_contig_memops; in iris_m2m_queue_init()
|
| /drivers/staging/media/sunxi/cedrus/ |
| A D | cedrus_video.c | 604 src_vq->mem_ops = &vb2_dma_contig_memops; in cedrus_queue_init() 620 dst_vq->mem_ops = &vb2_dma_contig_memops; in cedrus_queue_init()
|
| /drivers/media/platform/st/stm32/dma2d/ |
| A D | dma2d.c | 201 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init() 215 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
|
| /drivers/media/test-drivers/visl/ |
| A D | visl-video.c | 749 src_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init() 764 dst_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init()
|
| /drivers/media/usb/uvc/ |
| A D | uvc_queue.c | 247 queue->queue.mem_ops = &vb2_vmalloc_memops; in uvc_queue_init()
|
| /drivers/media/pci/saa7134/ |
| A D | saa7134-empress.c | 281 q->mem_ops = &vb2_dma_sg_memops; in empress_init()
|
| /drivers/media/platform/amlogic/c3/isp/ |
| A D | c3-isp-stats.c | 265 vb2_q->mem_ops = &vb2_dma_contig_memops; in c3_isp_stats_register()
|
| /drivers/media/platform/nxp/imx8-isi/ |
| A D | imx8-isi-m2m.c | 289 src_vq->mem_ops = &vb2_dma_contig_memops; in mxc_isi_m2m_queue_init() 303 dst_vq->mem_ops = &vb2_dma_contig_memops; in mxc_isi_m2m_queue_init()
|