Home
last modified time | relevance | path

Searched full:m2m (Results 1 – 25 of 146) sorted by relevance

123456

/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-m2m.c51 struct mxc_isi_m2m *m2m; member
53 /* Protects the m2m vb2 queues */
92 * V4L2 M2M device operations
97 struct mxc_isi_m2m *m2m = &pipe->isi->m2m; in mxc_isi_m2m_frame_write_done() local
101 ctx = v4l2_m2m_get_curr_priv(m2m->m2m_dev); in mxc_isi_m2m_frame_write_done()
103 dev_err(m2m->isi->dev, in mxc_isi_m2m_frame_write_done()
119 v4l2_m2m_job_finish(m2m->m2m_dev, ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done()
125 struct mxc_isi_m2m *m2m = ctx->m2m; in mxc_isi_m2m_device_run() local
129 mxc_isi_channel_disable(m2m->pipe); in mxc_isi_m2m_device_run()
131 mutex_lock(&m2m->lock); in mxc_isi_m2m_device_run()
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/snowridgex/
Duncore-interconnect.json603 "Unit": "M2M"
612 "Unit": "M2M"
621 "Unit": "M2M"
630 "Unit": "M2M"
639 "Unit": "M2M"
648 "Unit": "M2M"
657 "Unit": "M2M"
666 "Unit": "M2M"
675 "Unit": "M2M"
684 "Unit": "M2M"
[all …]
/kernel/linux/linux-5.10/include/media/
Dv4l2-mem2mem.h87 * @m2m_dev: opaque pointer to the internal data to handle M2M context
129 * @list: list of m2m buffers
140 * @m2m_dev: opaque pointer to the internal data to handle M2M context
147 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
157 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
180 * @m2m_dev: opaque pointer to the internal data to handle M2M context
181 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
199 * @m2m_dev: opaque pointer to the internal data to handle M2M context
200 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
230 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
[all …]
/kernel/linux/linux-6.6/include/media/
Dv4l2-mem2mem.h87 * @m2m_dev: opaque pointer to the internal data to handle M2M context
129 * @list: list of m2m buffers
140 * @m2m_dev: opaque pointer to the internal data to handle M2M context
147 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
157 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
180 * @m2m_dev: opaque pointer to the internal data to handle M2M context
181 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
199 * @m2m_dev: opaque pointer to the internal data to handle M2M context
200 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
230 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/icelakex/
Duncore-interconnect.json603 "Unit": "M2M"
612 "Unit": "M2M"
621 "Unit": "M2M"
630 "Unit": "M2M"
639 "Unit": "M2M"
648 "Unit": "M2M"
657 "Unit": "M2M"
666 "Unit": "M2M"
675 "Unit": "M2M"
684 "Unit": "M2M"
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/cascadelakex/
Duncore-interconnect.json633 "Unit": "M2M"
642 "Unit": "M2M"
651 "Unit": "M2M"
660 "Unit": "M2M"
669 "Unit": "M2M"
678 "Unit": "M2M"
687 "Unit": "M2M"
696 "Unit": "M2M"
705 "Unit": "M2M"
714 "Unit": "M2M"
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/skylakex/
Duncore-interconnect.json633 "Unit": "M2M"
642 "Unit": "M2M"
651 "Unit": "M2M"
660 "Unit": "M2M"
669 "Unit": "M2M"
678 "Unit": "M2M"
687 "Unit": "M2M"
696 "Unit": "M2M"
705 "Unit": "M2M"
714 "Unit": "M2M"
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/sapphirerapids/
Duncore-interconnect.json435 "BriefDescription": "M2M Clockticks",
439 "PublicDescription": "Clockticks of the mesh to memory (M2M)",
440 "Unit": "M2M"
447 "Unit": "M2M"
455 "Unit": "M2M"
464 "Unit": "M2M"
471 "Unit": "M2M"
479 "Unit": "M2M"
487 "Unit": "M2M"
495 "Unit": "M2M"
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-m2m.c54 v4l2_m2m_job_finish(ctx->fimc_dev->m2m.m2m_dev, in fimc_m2m_job_finish()
130 if (fimc->m2m.ctx != ctx) { in fimc_device_run()
132 fimc->m2m.ctx = ctx; in fimc_device_run()
355 v4l2_err(&fimc->m2m.vfd, "queue (%d) busy\n", f->type); in fimc_m2m_s_fmt_mplane()
436 v4l2_err(&fimc->m2m.vfd, in fimc_m2m_try_selection()
511 v4l2_err(&fimc->m2m.vfd, "Out of scaler range\n"); in fimc_m2m_s_selection()
625 v4l2_fh_init(&ctx->fh, &fimc->m2m.vfd); in fimc_m2m_open()
648 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(fimc->m2m.m2m_dev, ctx, queue_init); in fimc_m2m_open()
654 if (fimc->m2m.refcnt++ == 0) in fimc_m2m_open()
683 task_pid_nr(current), fimc->state, fimc->m2m.refcnt); in fimc_m2m_release()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/
Dfimc-m2m.c54 v4l2_m2m_job_finish(ctx->fimc_dev->m2m.m2m_dev, in fimc_m2m_job_finish()
130 if (fimc->m2m.ctx != ctx) { in fimc_device_run()
132 fimc->m2m.ctx = ctx; in fimc_device_run()
355 v4l2_err(&fimc->m2m.vfd, "queue (%d) busy\n", f->type); in fimc_m2m_s_fmt_mplane()
436 v4l2_err(&fimc->m2m.vfd, in fimc_m2m_try_selection()
511 v4l2_err(&fimc->m2m.vfd, "Out of scaler range\n"); in fimc_m2m_s_selection()
625 v4l2_fh_init(&ctx->fh, &fimc->m2m.vfd); in fimc_m2m_open()
648 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(fimc->m2m.m2m_dev, ctx, queue_init); in fimc_m2m_open()
654 if (fimc->m2m.refcnt++ == 0) in fimc_m2m_open()
683 task_pid_nr(current), fimc->state, fimc->m2m.refcnt); in fimc_m2m_release()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/
Dgsc-m2m.c33 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req()
110 v4l2_m2m_job_finish(ctx->gsc_dev->m2m.m2m_dev, in gsc_m2m_job_finish()
161 if (gsc->m2m.ctx != ctx) { in gsc_m2m_device_run()
162 pr_debug("gsc->m2m.ctx = 0x%p, current_ctx = 0x%p", in gsc_m2m_device_run()
163 gsc->m2m.ctx, ctx); in gsc_m2m_device_run()
165 gsc->m2m.ctx = ctx; in gsc_m2m_device_run()
623 v4l2_fh_init(&ctx->fh, gsc->m2m.vfd); in gsc_m2m_open()
643 ctx->m2m_ctx = v4l2_m2m_ctx_init(gsc->m2m.m2m_dev, ctx, queue_init); in gsc_m2m_open()
645 pr_err("Failed to initialize m2m context"); in gsc_m2m_open()
650 if (gsc->m2m.refcnt++ == 0) in gsc_m2m_open()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c33 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req()
110 v4l2_m2m_job_finish(ctx->gsc_dev->m2m.m2m_dev, in gsc_m2m_job_finish()
161 if (gsc->m2m.ctx != ctx) { in gsc_m2m_device_run()
162 pr_debug("gsc->m2m.ctx = 0x%p, current_ctx = 0x%p", in gsc_m2m_device_run()
163 gsc->m2m.ctx, ctx); in gsc_m2m_device_run()
165 gsc->m2m.ctx = ctx; in gsc_m2m_device_run()
628 v4l2_fh_init(&ctx->fh, gsc->m2m.vfd); in gsc_m2m_open()
648 ctx->m2m_ctx = v4l2_m2m_ctx_init(gsc->m2m.m2m_dev, ctx, queue_init); in gsc_m2m_open()
650 pr_err("Failed to initialize m2m context"); in gsc_m2m_open()
655 if (gsc->m2m.refcnt++ == 0) in gsc_m2m_open()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/cascadelakex/
Duncore-other.json1243 "BriefDescription": "Traffic in which the M2M to iMC Bypass was not taken",
1248 …"PublicDescription": "Counts traffic in which the M2M (Mesh to Memory) to iMC (Memory Controller) …
1250 "Unit": "M2M"
1259 "Unit": "M2M"
1268 "Unit": "M2M"
1277 "Unit": "M2M"
1286 "Unit": "M2M"
1295 "Unit": "M2M"
1304 "Unit": "M2M"
1313 "Unit": "M2M"
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/skylakex/
Duncore-other.json1222 "BriefDescription": "Traffic in which the M2M to iMC Bypass was not taken",
1227 …"PublicDescription": "Counts traffic in which the M2M (Mesh to Memory) to iMC (Memory Controller) …
1229 "Unit": "M2M"
1238 "Unit": "M2M"
1247 "Unit": "M2M"
1256 "Unit": "M2M"
1265 "Unit": "M2M"
1274 "Unit": "M2M"
1283 "Unit": "M2M"
1292 "Unit": "M2M"
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/nvidia/tegra-vde/
Dvde.h125 struct v4l2_m2m_dev *m2m; member
158 struct v4l2_m2m_buffer m2m; member
170 struct v4l2_m2m_buffer *m2m = container_of(vb, struct v4l2_m2m_buffer, in vb_to_tegra_buf() local
173 return container_of(m2m, struct tegra_m2m_buffer, m2m); in vb_to_tegra_buf()
/kernel/linux/linux-6.6/drivers/dma/
Dep93xx_dma.c56 /* M2M registers */
133 * struct ep93xx_dma_chan - an EP93xx DMA M2P/M2M channel
146 * @runtime_addr: physical address currently used as dest/src (M2M only). This
149 * @runtime_ctrl: M2M runtime values for the control register.
189 * @m2m: is this an M2M or M2P device
199 * M2M channels. hw_xxx() methods are used to perform operations which are
200 * different on M2M and M2P channels. These methods are called with channel
205 bool m2m; member
456 * M2M DMA implementation
532 dev_warn(chan2dev(edmac), "M2M: empty descriptor list\n"); in m2m_fill_desc()
[all …]
/kernel/linux/linux-5.10/drivers/dma/
Dep93xx_dma.c56 /* M2M registers */
133 * struct ep93xx_dma_chan - an EP93xx DMA M2P/M2M channel
146 * @runtime_addr: physical address currently used as dest/src (M2M only). This
149 * @runtime_ctrl: M2M runtime values for the control register.
189 * @m2m: is this an M2M or M2P device
199 * M2M channels. hw_xxx() methods are used to perform operations which are
200 * different on M2M and M2P channels. These methods are called with channel
205 bool m2m; member
456 * M2M DMA implementation
532 dev_warn(chan2dev(edmac), "M2M: empty descriptor list\n"); in m2m_fill_desc()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/
Dbdisp-v4l2.c203 v4l2_m2m_job_finish(ctx->bdisp_dev->m2m.m2m_dev, in bdisp_job_finish()
218 curr_ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_ctx_stop_req()
319 if (bdisp->m2m.ctx != ctx) { in bdisp_device_run()
321 bdisp->m2m.ctx, ctx); in bdisp_device_run()
323 bdisp->m2m.ctx = ctx; in bdisp_device_run()
598 v4l2_fh_init(&ctx->fh, bdisp->m2m.vdev); in bdisp_open()
616 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(bdisp->m2m.m2m_dev, ctx, in bdisp_open()
619 dev_err(bdisp->dev, "Failed to initialize m2m context\n"); in bdisp_open()
624 bdisp->m2m.refcnt++; in bdisp_open()
663 if (--bdisp->m2m.refcnt <= 0) in bdisp_release()
[all …]
Dbdisp.h131 * @vdev: video device node for v4l2 m2m mode
132 * @m2m_dev: v4l2 m2m device data
176 * @m2m: memory-to-memory V4L2 device information
177 * @state: flags used to synchronize m2m and capture mode operation
193 struct bdisp_m2m_device m2m; member
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/
Dbdisp-v4l2.c203 v4l2_m2m_job_finish(ctx->bdisp_dev->m2m.m2m_dev, in bdisp_job_finish()
218 curr_ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_ctx_stop_req()
319 if (bdisp->m2m.ctx != ctx) { in bdisp_device_run()
321 bdisp->m2m.ctx, ctx); in bdisp_device_run()
323 bdisp->m2m.ctx = ctx; in bdisp_device_run()
598 v4l2_fh_init(&ctx->fh, bdisp->m2m.vdev); in bdisp_open()
616 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(bdisp->m2m.m2m_dev, ctx, in bdisp_open()
619 dev_err(bdisp->dev, "Failed to initialize m2m context\n"); in bdisp_open()
624 bdisp->m2m.refcnt++; in bdisp_open()
663 if (--bdisp->m2m.refcnt <= 0) in bdisp_release()
[all …]
Dbdisp.h131 * @vdev: video device node for v4l2 m2m mode
132 * @m2m_dev: v4l2 m2m device data
176 * @m2m: memory-to-memory V4L2 device information
177 * @state: flags used to synchronize m2m and capture mode operation
193 struct bdisp_m2m_device m2m; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch756 + dev_err(&pdev->dev, "failed to init m2m device %d\n", ret);
1136 + * Freescale ASRC Memory to Memory (M2M) driver
1185 + struct fsl_asrc_m2m *m2m = pair->private_m2m;
1187 + complete(&m2m->complete[IN]);
1193 + struct fsl_asrc_m2m *m2m = pair->private_m2m;
1195 + complete(&m2m->complete[OUT]);
1213 + struct fsl_asrc_m2m *m2m = pair->private_m2m;
1216 + struct dma_block *output = &m2m->dma_block[OUT];
1222 + width = snd_pcm_format_physical_width(m2m->word_format[OUT]);
1253 + if (t_size > m2m->last_period_size)
[all …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Ddma-ep93xx.h25 /* M2M channels */
64 * There is no requirement for the M2M channels.
82 * limitation, for M2M channels the direction is configurable.
/kernel/linux/linux-5.10/include/linux/platform_data/
Ddma-ep93xx.h25 /* M2M channels */
64 * There is no requirement for the M2M channels.
82 * limitation, for M2M channels the direction is configurable.
/kernel/linux/linux-6.6/arch/arm/mach-ep93xx/
Ddma.c78 * DMA M2M channels.
80 * There are 2 M2M channels which support memcpy/memset and in addition simple
99 .name = "ep93xx-dma-m2m",

123456