Searched refs:mem_ops (Results 1 - 25 of 183) sorted by relevance

12345678

/linux-master/tools/testing/selftests/mm/
H A Dkhugepaged.c44 struct mem_ops { struct
52 static struct mem_ops *file_ops;
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)
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 *op
[all...]
H A Duffd-unit-tests.c32 uffd_test_ops_t *mem_ops; member in struct:mem_type
41 .mem_ops = &anon_uffd_test_ops,
47 .mem_ops = &shmem_uffd_test_ops,
53 .mem_ops = &shmem_uffd_test_ops,
59 .mem_ops = &hugetlb_uffd_test_ops,
65 .mem_ops = &hugetlb_uffd_test_ops,
191 uffd_test_ops = mem_type->mem_ops;
/linux-master/drivers/spi/
H A Dspi-mem.c232 if (ctlr->mem_ops && ctlr->mem_ops->supports_op)
233 return ctlr->mem_ops->supports_op(mem, op);
371 if (ctlr->mem_ops && ctlr->mem_ops->exec_op && !spi_get_csgpiod(mem->spi, 0)) {
376 ret = ctlr->mem_ops->exec_op(mem, op);
507 if (ctlr->mem_ops && ctlr->mem_ops->adjust_op_size)
508 return ctlr->mem_ops->adjust_op_size(mem, op);
510 if (!ctlr->mem_ops || !ctl
[all...]
H A Dspi-dw-bt1.c55 !dwsbt1->dws.mem_ops.supports_op(desc->mem, &desc->info.op_tmpl))
221 dws->mem_ops.dirmap_create = dw_spi_bt1_dirmap_create;
222 dws->mem_ops.dirmap_read = dw_spi_bt1_dirmap_read;
H A Dspi-dw-core.c765 if (!dws->mem_ops.exec_op && !(dws->caps & DW_SPI_CAP_CS_OVERRIDE) &&
767 dws->mem_ops.adjust_op_size = dw_spi_adjust_mem_op_size;
768 dws->mem_ops.supports_op = dw_spi_supports_mem_op;
769 dws->mem_ops.exec_op = dw_spi_exec_mem_op;
932 if (dws->mem_ops.exec_op)
933 host->mem_ops = &dws->mem_ops;
H A Dspi-rpc-if.c153 ctlr->mem_ops = &rpcif_spi_mem_ops;
H A Dspi-ath79.c190 host->mem_ops = &ath79_mem_ops;
H A Dspi-intel.c156 * @mem_ops: Pointer to SPI MEM ops supported by the controller
173 const struct intel_spi_mem_op *mem_ops; member in struct:intel_spi
738 for (iop = ispi->mem_ops; iop->mem_op.cmd.opcode; iop++) {
1181 ispi->mem_ops = erase_64k_mem_ops;
1184 ispi->mem_ops = generic_mem_ops;
1431 host->mem_ops = &intel_spi_mem_ops;
H A Dspi-dw.h185 struct spi_controller_mem_ops mem_ops; member in struct:dw_spi
H A Dspi-gxp.c284 ctlr->mem_ops = &gxp_spi_mem_ops;
H A Dspi-amlogic-spifc-a1.c358 ctrl->mem_ops = &amlogic_spifc_a1_mem_ops;
/linux-master/drivers/tee/optee/
H A Dffa_abi.c275 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; local
297 rc = mem_ops->memory_share(&args);
304 mem_ops->memory_reclaim(args.g_handle, 0);
319 const struct ffa_mem_ops *mem_ops = ffa_dev->ops->mem_ops; local
335 rc = mem_ops->memory_reclaim(global_handle, 0);
346 const struct ffa_mem_ops *mem_ops; local
357 mem_ops = optee->ffa.ffa_dev->ops->mem_ops;
[all...]
/linux-master/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
[all...]
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-helper.c86 src_vq->mem_ops = &vb2_dma_contig_memops;
99 dst_vq->mem_ops = &vb2_dma_contig_memops;
/linux-master/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c341 const struct vb2_mem_ops *mem_ops; local
353 mem_ops = &vb2_dma_sg_memops;
355 mem_ops = &vb2_dma_contig_memops;
367 src_vq->mem_ops = mem_ops;
392 dst_vq->mem_ops = mem_ops;
/linux-master/drivers/media/pci/tw686x/
H A Dtw686x.h109 const struct vb2_mem_ops *mem_ops; member in struct:tw686x_dma_ops
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;
/linux-master/drivers/usb/gadget/function/
H A Duvc_queue.c147 queue->queue.mem_ops = &vb2_dma_sg_memops;
150 queue->queue.mem_ops = &vb2_vmalloc_memops;
/linux-master/drivers/media/platform/amphion/
H A Dvpu_v4l2.c647 src_vq->mem_ops = &vb2_dma_contig_memops;
649 src_vq->mem_ops = &vb2_vmalloc_memops;
664 dst_vq->mem_ops = &vb2_dma_contig_memops;
666 dst_vq->mem_ops = &vb2_vmalloc_memops;
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.c588 src_vq->mem_ops = &vb2_dma_contig_memops;
604 dst_vq->mem_ops = &vb2_dma_contig_memops;
/linux-master/drivers/media/pci/saa7134/
H A Dsaa7134-empress.c282 q->mem_ops = &vb2_dma_sg_memops;
/linux-master/include/linux/
H A Darm_ffa.h428 const struct ffa_mem_ops *mem_ops; member in struct:ffa_ops
/linux-master/include/media/
H A Dvideobuf2-core.h530 * @mem_ops: memory allocator specific callbacks
615 const struct vb2_mem_ops *mem_ops; member in struct:vb2_queue
972 * &vb2_queue->ops, &vb2_queue->mem_ops, &vb2_queue->type.
/linux-master/drivers/media/usb/uvc/
H A Duvc_queue.c224 queue->queue.mem_ops = &vb2_vmalloc_memops;
/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_fops.c385 q->mem_ops = &vb2_dma_sg_memops;

Completed in 260 milliseconds

12345678