Home
last modified time | relevance | path

Searched refs:mem_ops (Results 1 – 25 of 168) sorted by relevance

1234567

/linux-6.3-rc2/drivers/spi/
A Dspi-mem.c232 if (ctlr->mem_ops && ctlr->mem_ops->supports_op) in spi_mem_internal_supports_op()
328 if (ctlr->mem_ops && ctlr->mem_ops->exec_op && !mem->spi->cs_gpiod) { in spi_mem_exec_op()
460 if (ctlr->mem_ops && ctlr->mem_ops->adjust_op_size) in spi_mem_adjust_op_size()
463 if (!ctlr->mem_ops || !ctlr->mem_ops->exec_op) { in spi_mem_adjust_op_size()
556 if (ctlr->mem_ops && ctlr->mem_ops->dirmap_create) in spi_mem_dirmap_create()
587 if (!desc->nodirmap && ctlr->mem_ops && ctlr->mem_ops->dirmap_destroy) in spi_mem_dirmap_destroy()
588 ctlr->mem_ops->dirmap_destroy(desc); in spi_mem_dirmap_destroy()
693 } else if (ctlr->mem_ops && ctlr->mem_ops->dirmap_read) { in spi_mem_dirmap_read()
739 } else if (ctlr->mem_ops && ctlr->mem_ops->dirmap_write) { in spi_mem_dirmap_write()
811 if (ctlr->mem_ops && ctlr->mem_ops->poll_status && !mem->spi->cs_gpiod) { in spi_mem_poll_status()
[all …]
A Dspi-dw-bt1.c55 !dwsbt1->dws.mem_ops.supports_op(desc->mem, &desc->info.op_tmpl)) in dw_spi_bt1_dirmap_create()
221 dws->mem_ops.dirmap_create = dw_spi_bt1_dirmap_create; in dw_spi_bt1_sys_init()
222 dws->mem_ops.dirmap_read = dw_spi_bt1_dirmap_read; in dw_spi_bt1_sys_init()
A Dspi-dw-core.c767 if (!dws->mem_ops.exec_op && !(dws->caps & DW_SPI_CAP_CS_OVERRIDE) && in dw_spi_init_mem_ops()
769 dws->mem_ops.adjust_op_size = dw_spi_adjust_mem_op_size; in dw_spi_init_mem_ops()
770 dws->mem_ops.supports_op = dw_spi_supports_mem_op; in dw_spi_init_mem_ops()
771 dws->mem_ops.exec_op = dw_spi_exec_mem_op; in dw_spi_init_mem_ops()
934 if (dws->mem_ops.exec_op) in dw_spi_add_host()
935 master->mem_ops = &dws->mem_ops; in dw_spi_add_host()
A Dspi-intel.c173 const struct intel_spi_mem_op *mem_ops; member
739 for (iop = ispi->mem_ops; iop->mem_op.cmd.opcode; iop++) { in intel_spi_match_mem_op()
1181 ispi->mem_ops = erase_64k_mem_ops; in intel_spi_init()
1184 ispi->mem_ops = generic_mem_ops; in intel_spi_init()
1407 master->mem_ops = &intel_spi_mem_ops; in intel_spi_probe()
A Dspi-rpc-if.c153 ctlr->mem_ops = &rpcif_spi_mem_ops; in rpcif_spi_probe()
A Dspi-ath79.c190 host->mem_ops = &ath79_mem_ops; in ath79_spi_probe()
A Dspi-dw.h185 struct spi_controller_mem_ops mem_ops; member
A Dspi-gxp.c285 ctlr->mem_ops = &gxp_spi_mem_ops; in gxp_spifi_probe()
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dkhugepaged.c52 struct mem_ops { struct
60 static struct mem_ops *file_ops; argument
61 static struct mem_ops *anon_ops;
62 static struct mem_ops *shmem_ops;
66 struct mem_ops *ops, bool expect);
777 static struct mem_ops __anon_ops = {
785 static struct mem_ops __file_ops = {
793 static struct mem_ops __shmem_ops = {
843 struct mem_ops *ops) in wait_for_scan()
1341 struct mem_ops *ops) in madvise_collapse_existing_thps()
[all …]
/linux-6.3-rc2/drivers/tee/optee/
A Dffa_abi.c275 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_register() local
297 rc = mem_ops->memory_share(&args); in optee_ffa_shm_register()
304 mem_ops->memory_reclaim(args.g_handle, 0); in optee_ffa_shm_register()
319 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister() local
335 rc = mem_ops->memory_reclaim(global_handle, 0); in optee_ffa_shm_unregister()
346 const struct ffa_mem_ops *mem_ops; in optee_ffa_shm_unregister_supp() local
357 mem_ops = optee->ffa.ffa_dev->ops->mem_ops; in optee_ffa_shm_unregister_supp()
358 rc = mem_ops->memory_reclaim(global_handle, 0); in optee_ffa_shm_unregister_supp()
/linux-6.3-rc2/drivers/media/common/videobuf2/
A Dvideobuf2-core.c65 err = _q->mem_ops->op ? _q->mem_ops->op(args) : 0; \
77 ptr = _q->mem_ops->op ? _q->mem_ops->op(vb, args) : NULL; \
88 if (_q->mem_ops->op) \
89 _q->mem_ops->op(args); \
650 !q->mem_ops->put_userptr) in __verify_userptr_ops()
663 !q->mem_ops->put || !q->mem_ops->mmap) in __verify_mmap_ops()
676 !q->mem_ops->detach_dmabuf || !q->mem_ops->map_dmabuf || in __verify_dmabuf_ops()
677 !q->mem_ops->unmap_dmabuf) in __verify_dmabuf_ops()
2245 if (!q->mem_ops->get_dmabuf) { in vb2_core_expbuf()
2419 WARN_ON(!q->mem_ops) || in vb2_core_queue_init()
[all …]
/linux-6.3-rc2/drivers/media/platform/nvidia/tegra-vde/
A Dv4l2.c341 const struct vb2_mem_ops *mem_ops; in tegra_queue_init() local
353 mem_ops = &vb2_dma_sg_memops; in tegra_queue_init()
355 mem_ops = &vb2_dma_contig_memops; in tegra_queue_init()
367 src_vq->mem_ops = mem_ops; in tegra_queue_init()
392 dst_vq->mem_ops = mem_ops; in tegra_queue_init()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Duvc_queue.c147 queue->queue.mem_ops = &vb2_dma_sg_memops; in uvcg_queue_init()
150 queue->queue.mem_ops = &vb2_vmalloc_memops; in uvcg_queue_init()
/linux-6.3-rc2/drivers/media/pci/tw686x/
A Dtw686x.h109 const struct vb2_mem_ops *mem_ops; member
A Dtw686x-video.c149 .mem_ops = &vb2_vmalloc_memops,
179 .mem_ops = &vb2_dma_contig_memops,
334 .mem_ops = &vb2_dma_sg_memops,
1222 vc->vidq.mem_ops = dev->dma_ops->mem_ops; in tw686x_video_init()
/linux-6.3-rc2/drivers/media/platform/amphion/
A Dvpu_v4l2.c641 src_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init()
643 src_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init()
658 dst_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init()
660 dst_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init()
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/
A Dcedrus_video.c588 src_vq->mem_ops = &vb2_dma_contig_memops; in cedrus_queue_init()
604 dst_vq->mem_ops = &vb2_dma_contig_memops; in cedrus_queue_init()
/linux-6.3-rc2/include/linux/
A Darm_ffa.h364 const struct ffa_mem_ops *mem_ops; member
/linux-6.3-rc2/drivers/media/pci/saa7134/
A Dsaa7134-empress.c282 q->mem_ops = &vb2_dma_sg_memops; in empress_init()
/linux-6.3-rc2/include/media/
A Dvideobuf2-core.h606 const struct vb2_mem_ops *mem_ops; member
/linux-6.3-rc2/drivers/media/test-drivers/visl/
A Dvisl-video.c713 src_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init()
728 dst_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init()
/linux-6.3-rc2/drivers/media/platform/st/stm32/dma2d/
A Ddma2d.c203 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
217 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
/linux-6.3-rc2/drivers/media/platform/mediatek/mdp3/
A Dmtk-mdp3-m2m.c478 src_vq->mem_ops = &vb2_dma_contig_memops; in mdp_m2m_queue_init()
492 dst_vq->mem_ops = &vb2_dma_contig_memops; in mdp_m2m_queue_init()
/linux-6.3-rc2/drivers/media/platform/nxp/
A Dmx2_emmaprp.c695 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
709 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/
A Dfimc-m2m.c557 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
571 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()

Completed in 86 milliseconds

1234567