/linux/drivers/spi/ |
H A D | spi-mem.c | 235 if (ctlr->mem_ops && ctlr->mem_ops->supports_op) in spi_mem_internal_supports_op() 236 return ctlr->mem_ops->supports_op(mem, op); in spi_mem_internal_supports_op() 374 if (ctlr->mem_ops && ctlr->mem_ops->exec_op && !spi_get_csgpiod(mem->spi, 0)) { in spi_mem_exec_op() 379 ret = ctlr->mem_ops->exec_op(mem, op); in spi_mem_exec_op() 510 if (ctlr->mem_ops && ctlr->mem_ops->adjust_op_size) in spi_mem_adjust_op_size() 511 return ctlr->mem_ops->adjust_op_size(mem, op); in spi_mem_adjust_op_size() 513 if (!ctlr->mem_ops || !ctlr->mem_ops->exec_op) { in spi_mem_adjust_op_size() 606 if (ctlr->mem_ops && ctlr->mem_ops->dirmap_create) in spi_mem_dirmap_create() 607 ret = ctlr->mem_ops->dirmap_create(desc); in spi_mem_dirmap_create() 637 if (!desc->nodirmap && ctlr->mem_ops && ctlr->mem_ops->dirmap_destroy) in spi_mem_dirmap_destroy() [all …]
|
H 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()
|
H 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() 944 if (dws->mem_ops.exec_op) in dw_spi_add_host() 945 host->mem_ops = &dws->mem_ops; in dw_spi_add_host()
|
H A D | spi-intel.c | 177 const struct intel_spi_mem_op *mem_ops; member 742 for (iop = ispi->mem_ops; iop->mem_op.cmd.opcode; iop++) { in intel_spi_match_mem_op() 1188 ispi->mem_ops = erase_64k_mem_ops; in intel_spi_init() 1191 ispi->mem_ops = generic_mem_ops; in intel_spi_init() 1487 host->mem_ops = &intel_spi_mem_ops; in intel_spi_probe()
|
H A D | spi-rpc-if.c | 153 ctlr->mem_ops = &rpcif_spi_mem_ops; in rpcif_spi_probe()
|
H A D | spi-dw.h | 185 struct spi_controller_mem_ops mem_ops; member
|
H A D | spi-gxp.c | 284 ctlr->mem_ops = &gxp_spi_mem_ops; in gxp_spifi_probe()
|
H A D | spi-amlogic-spifc-a1.c | 358 ctrl->mem_ops = &amlogic_spifc_a1_mem_ops; in amlogic_spifc_a1_probe()
|
H A D | spi-cadence-xspi.c | 1168 host->mem_ops = &marvell_xspi_mem_ops; in cdns_xspi_probe() 1173 host->mem_ops = &cadence_xspi_mem_ops; in cdns_xspi_probe()
|
H A D | spi-wpcm-fiu.c | 472 ctrl->mem_ops = &wpcm_fiu_mem_ops; in wpcm_fiu_probe()
|
H A D | spi-zynq-qspi.c | 708 ctlr->mem_ops = &zynq_qspi_mem_ops; in zynq_qspi_probe()
|
/linux/tools/testing/selftests/mm/ |
H A D | khugepaged.c | 44 struct mem_ops { struct 52 static struct mem_ops *file_ops; argument 53 static struct mem_ops *anon_ops; 54 static struct mem_ops *shmem_ops; 58 struct mem_ops *ops, bool expect); 304 static void *alloc_hpage(struct mem_ops *ops) in alloc_hpage() 472 static struct mem_ops __anon_ops = { 480 static struct mem_ops __file_ops = { 488 static struct mem_ops __shmem_ops = { 497 struct mem_ops *ops, bool expect) in __madvise_collapse() [all …]
|
H A D | uffd-unit-tests.c | 31 uffd_test_ops_t *mem_ops; member 40 .mem_ops = &anon_uffd_test_ops, 46 .mem_ops = &shmem_uffd_test_ops, 52 .mem_ops = &shmem_uffd_test_ops, 58 .mem_ops = &hugetlb_uffd_test_ops, 64 .mem_ops = &hugetlb_uffd_test_ops, 190 uffd_test_ops = mem_type->mem_ops; in uffd_setup_environment()
|
/linux/drivers/tee/optee/ |
H 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()
|
/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 67 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") 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); \ 154 ((vb)->vb2_queue->mem_ops->op ? \ 155 (vb)->vb2_queue->mem_ops->op(args) : 0) 158 ((vb)->vb2_queue->mem_ops->op ? \ 159 (vb)->vb2_queue->mem_ops->op(vb, args) : NULL) 163 if ((vb)->vb2_queue->mem_ops->op) \ [all …]
|
/linux/drivers/tee/tstee/ |
H 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()
|
/linux/drivers/media/pci/tw686x/ |
H A D | tw686x.h | 109 const struct vb2_mem_ops *mem_ops; member
|
/linux/include/media/ |
H A D | videobuf2-core.h | 632 const struct vb2_mem_ops *mem_ops; member
|
/linux/include/linux/ |
H A D | arm_ffa.h | 473 const struct ffa_mem_ops *mem_ops; member
|
/linux/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 385 q->mem_ops = &vb2_dma_sg_memops; in saa7146_register_device()
|
/linux/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 176 q->mem_ops = &vb2_vmalloc_memops; in dvb_vb2_init()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec.c | 1019 src_vq->mem_ops = &vb2_dma_contig_memops; in mtk_vcodec_dec_queue_init() 1035 dst_vq->mem_ops = &vb2_dma_contig_memops; in mtk_vcodec_dec_queue_init()
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_drv.c | 212 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init() 232 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-stats.c | 167 q->mem_ops = &vb2_vmalloc_memops; in rkisp1_stats_init_vb2_queue()
|
/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-v4l2.c | 549 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init() 564 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
|