/linux-6.6.21/drivers/spi/ |
D | spi-mem.c | 232 if (ctlr->mem_ops && ctlr->mem_ops->supports_op) in spi_mem_internal_supports_op() 233 return ctlr->mem_ops->supports_op(mem, op); in spi_mem_internal_supports_op() 328 if (ctlr->mem_ops && ctlr->mem_ops->exec_op && !spi_get_csgpiod(mem->spi, 0)) { in spi_mem_exec_op() 333 ret = ctlr->mem_ops->exec_op(mem, op); in spi_mem_exec_op() 460 if (ctlr->mem_ops && ctlr->mem_ops->adjust_op_size) in spi_mem_adjust_op_size() 461 return ctlr->mem_ops->adjust_op_size(mem, op); 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() 557 ret = ctlr->mem_ops->dirmap_create(desc); in spi_mem_dirmap_create() 587 if (!desc->nodirmap && ctlr->mem_ops && ctlr->mem_ops->dirmap_destroy) in spi_mem_dirmap_destroy() [all …]
|
D | spi-dw-bt1.c | 55 !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()
|
D | spi-dw-core.c | 765 if (!dws->mem_ops.exec_op && !(dws->caps & DW_SPI_CAP_CS_OVERRIDE) && in dw_spi_init_mem_ops() 767 dws->mem_ops.adjust_op_size = dw_spi_adjust_mem_op_size; in dw_spi_init_mem_ops() 768 dws->mem_ops.supports_op = dw_spi_supports_mem_op; in dw_spi_init_mem_ops() 769 dws->mem_ops.exec_op = dw_spi_exec_mem_op; in dw_spi_init_mem_ops() 932 if (dws->mem_ops.exec_op) in dw_spi_add_host() 933 host->mem_ops = &dws->mem_ops; in dw_spi_add_host()
|
D | spi-intel.c | 173 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 host->mem_ops = &intel_spi_mem_ops; in intel_spi_probe()
|
D | spi-rpc-if.c | 153 ctlr->mem_ops = &rpcif_spi_mem_ops; in rpcif_spi_probe()
|
D | spi-ath79.c | 190 host->mem_ops = &ath79_mem_ops; in ath79_spi_probe()
|
D | spi-dw.h | 185 struct spi_controller_mem_ops mem_ops; member
|
D | spi-gxp.c | 284 ctlr->mem_ops = &gxp_spi_mem_ops; in gxp_spifi_probe()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | khugepaged.c | 43 struct mem_ops { struct 51 static struct mem_ops *file_ops; argument 52 static struct mem_ops *anon_ops; 53 static struct mem_ops *shmem_ops; 57 struct mem_ops *ops, bool expect); 600 static void *alloc_hpage(struct mem_ops *ops) in alloc_hpage() 768 static struct mem_ops __anon_ops = { 776 static struct mem_ops __file_ops = { 784 static struct mem_ops __shmem_ops = { 793 struct mem_ops *ops, bool expect) in __madvise_collapse() [all …]
|
D | uffd-unit-tests.c | 29 uffd_test_ops_t *mem_ops; member 38 .mem_ops = &anon_uffd_test_ops, 44 .mem_ops = &shmem_uffd_test_ops, 50 .mem_ops = &shmem_uffd_test_ops, 56 .mem_ops = &hugetlb_uffd_test_ops, 62 .mem_ops = &hugetlb_uffd_test_ops, 187 uffd_test_ops = mem_type->mem_ops; in uffd_setup_environment()
|
/linux-6.6.21/drivers/tee/optee/ |
D | ffa_abi.c | 275 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.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 57 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") 65 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); \ 144 ((vb)->vb2_queue->mem_ops->op ? \ 145 (vb)->vb2_queue->mem_ops->op(args) : 0) 148 ((vb)->vb2_queue->mem_ops->op ? \ 149 (vb)->vb2_queue->mem_ops->op(vb, args) : NULL) 153 if ((vb)->vb2_queue->mem_ops->op) \ [all …]
|
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/ |
D | v4l2.c | 341 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.6.21/drivers/usb/gadget/function/ |
D | uvc_queue.c | 147 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.6.21/drivers/media/pci/tw686x/ |
D | tw686x.h | 109 const struct vb2_mem_ops *mem_ops; member
|
D | tw686x-video.c | 149 .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.6.21/drivers/media/platform/amphion/ |
D | vpu_v4l2.c | 647 src_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init() 649 src_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init() 664 dst_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init() 666 dst_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init()
|
/linux-6.6.21/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 588 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.6.21/include/linux/ |
D | arm_ffa.h | 373 const struct ffa_mem_ops *mem_ops; member
|
/linux-6.6.21/include/media/ |
D | videobuf2-core.h | 606 const struct vb2_mem_ops *mem_ops; member
|
/linux-6.6.21/drivers/media/pci/saa7134/ |
D | saa7134-empress.c | 282 q->mem_ops = &vb2_dma_sg_memops; in empress_init()
|
/linux-6.6.21/drivers/media/test-drivers/visl/ |
D | visl-video.c | 716 src_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init() 731 dst_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init()
|
/linux-6.6.21/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.c | 203 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.6.21/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-m2m.c | 475 src_vq->mem_ops = &vb2_dma_contig_memops; in mdp_m2m_queue_init() 489 dst_vq->mem_ops = &vb2_dma_contig_memops; in mdp_m2m_queue_init()
|
/linux-6.6.21/sound/soc/sh/rcar/ |
D | dma.c | 59 static struct rsnd_mod_ops mem_ops = { variable 945 return rsnd_mod_init(NULL, &mem, &mem_ops, NULL, 0, 0); in rsnd_dma_probe()
|