Home
last modified time | relevance | path

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

12345678

/linux/drivers/spi/
H A Dspi-mem.c232 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()
371 if (ctlr->mem_ops && ctlr->mem_ops->exec_op && !spi_get_csgpiod(mem->spi, 0)) { in spi_mem_exec_op()
376 ret = ctlr->mem_ops->exec_op(mem, op); in spi_mem_exec_op()
507 if (ctlr->mem_ops && ctlr->mem_ops->adjust_op_size) in spi_mem_adjust_op_size()
508 return ctlr->mem_ops->adjust_op_size(mem, op); in spi_mem_adjust_op_size()
510 if (!ctlr->mem_ops || !ctlr->mem_ops->exec_op) { in spi_mem_adjust_op_size()
603 if (ctlr->mem_ops && ctlr->mem_ops->dirmap_create) in spi_mem_dirmap_create()
604 ret = ctlr->mem_ops->dirmap_create(desc); in spi_mem_dirmap_create()
634 if (!desc->nodirmap && ctlr->mem_ops && ctlr->mem_ops->dirmap_destroy) in spi_mem_dirmap_destroy()
[all …]
H A Dspi-dw-bt1.c55 !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 Dspi-dw-core.c763 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 Dspi-intel.c173 const struct intel_spi_mem_op *mem_ops; member
738 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()
1434 host->mem_ops = &intel_spi_mem_ops; in intel_spi_probe()
H A Dspi-rpc-if.c153 ctlr->mem_ops = &rpcif_spi_mem_ops; in rpcif_spi_probe()
H A Dspi-ath79.c190 host->mem_ops = &ath79_mem_ops; in ath79_spi_probe()
H A Dspi-dw.h185 struct spi_controller_mem_ops mem_ops; member
H A Dspi-gxp.c284 ctlr->mem_ops = &gxp_spi_mem_ops; in gxp_spifi_probe()
/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c44 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 Duffd-unit-tests.c31 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/media/common/videobuf2/
H A Dvideobuf2-core.c67 (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 Dcore.c270 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/platform/nvidia/tegra-vde/
H 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/drivers/media/platform/chips-media/wave5/
H A Dwave5-helper.c105 src_vq->mem_ops = &vb2_dma_contig_memops; in wave5_vpu_queue_init()
118 dst_vq->mem_ops = &vb2_dma_contig_memops; in wave5_vpu_queue_init()
/linux/drivers/usb/gadget/function/
H 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/drivers/media/pci/tw686x/
H A Dtw686x.h109 const struct vb2_mem_ops *mem_ops; member
H A Dtw686x-video.c149 .mem_ops = &vb2_vmalloc_memops,
179 .mem_ops = &vb2_dma_contig_memops,
334 .mem_ops = &vb2_dma_sg_memops,
1223 vc->vidq.mem_ops = dev->dma_ops->mem_ops; in tw686x_video_init()
/linux/drivers/media/platform/amphion/
H A Dvpu_v4l2.c663 src_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init()
665 src_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init()
680 dst_vq->mem_ops = &vb2_dma_contig_memops; in vpu_m2m_queue_init()
682 dst_vq->mem_ops = &vb2_vmalloc_memops; in vpu_m2m_queue_init()
/linux/drivers/staging/media/sunxi/cedrus/
H 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/drivers/media/test-drivers/visl/
H A Dvisl-video.c735 src_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init()
750 dst_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init()
/linux/drivers/media/platform/st/stm32/dma2d/
H 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/include/linux/
H A Darm_ffa.h470 const struct ffa_mem_ops *mem_ops;
458 const struct ffa_mem_ops *mem_ops; global() member
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-empress.c283 q->mem_ops = &vb2_dma_sg_memops; in empress_init()
/linux/sound/soc/sh/rcar/
H A Ddma.c58 static struct rsnd_mod_ops mem_ops = {
884 return rsnd_mod_init(NULL, &mem, &mem_ops, NULL, 0, 0); in rsnd_dma_alloc()
59 static struct rsnd_mod_ops mem_ops = { global() variable
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-m2m.c558 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
572 dst_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()

12345678