/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-m2m.c | 50 struct mxc_isi_m2m *m2m; member 52 /* Protects the m2m vb2 queues */ 91 * V4L2 M2M device operations 96 struct mxc_isi_m2m *m2m = &pipe->isi->m2m; in mxc_isi_m2m_frame_write_done() local 100 ctx = v4l2_m2m_get_curr_priv(m2m->m2m_dev); in mxc_isi_m2m_frame_write_done() 102 dev_err(m2m->isi->dev, in mxc_isi_m2m_frame_write_done() 118 v4l2_m2m_job_finish(m2m->m2m_dev, ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 124 struct mxc_isi_m2m *m2m = ctx->m2m; in mxc_isi_m2m_device_run() local 128 mxc_isi_channel_disable(m2m->pipe); in mxc_isi_m2m_device_run() 130 mutex_lock(&m2m->lock); in mxc_isi_m2m_device_run() [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-interconnect.json | 603 "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 …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-mem2mem.h | 87 * @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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-interconnect.json | 603 "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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-interconnect.json | 633 "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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-interconnect.json | 633 "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 …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-interconnect.json | 435 "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 …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-m2m.c | 54 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 …]
|
H A D | fimc-core.h | 59 /* m2m node */ 266 * @vfd: the video device node for v4l2 m2m mode 411 * @m2m: memory-to-memory V4L2 device information 413 * @state: flags used to synchronize m2m and capture mode operation 428 struct fimc_m2m_device m2m; member 652 /* fimc-m2m.c */
|
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-m2m.c | 33 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 …]
|
H A D | gsc-core.h | 50 /* for m2m node */ 205 * @vfd: the video device node for v4l2 m2m mode 324 * @m2m: memory-to-memory V4L2 device information 325 * @state: flags used to synchronize m2m and capture mode operation 339 struct gsc_m2m_device m2m; member
|
H A D | Makefile | 2 exynos-gsc-objs := gsc-core.o gsc-m2m.o gsc-regs.o
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.h | 125 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()
|
H A D | v4l2.c | 482 v4l2_m2m_buf_done_and_job_finish(ctx->vde->m2m, ctx->fh.m2m_ctx, in tegra_job_finish() 802 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(ctx->vde->m2m, in tegra_init_m2m() 833 v4l2_err(&vde->v4l2_dev, "failed to initialize m2m: %d\n", err); in tegra_open() 971 vde->m2m = v4l2_m2m_init(&tegra_v4l2_m2m_ops); in tegra_vde_v4l2_init() 972 err = PTR_ERR_OR_ZERO(vde->m2m); in tegra_vde_v4l2_init() 974 dev_err(dev, "failed to initialize m2m device: %d\n", err); in tegra_vde_v4l2_init() 978 err = v4l2_m2m_register_media_controller(vde->m2m, &vde->vdev, in tegra_vde_v4l2_init() 991 v4l2_m2m_release(vde->m2m); in tegra_vde_v4l2_init() 1008 v4l2_m2m_unregister_media_controller(vde->m2m); in tegra_vde_v4l2_deinit() 1009 v4l2_m2m_release(vde->m2m); in tegra_vde_v4l2_deinit()
|
/openbmc/linux/drivers/dma/ |
H A D | ep93xx_dma.c | 56 /* 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 …]
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-v4l2.c | 203 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 …]
|
H A D | bdisp.h | 131 * @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
|
/openbmc/linux/include/linux/platform_data/ |
H A D | dma-ep93xx.h | 25 /* M2M channels */ 64 * There is no requirement for the M2M channels. 82 * limitation, for M2M channels the direction is configurable.
|
/openbmc/linux/arch/arm/mach-ep93xx/ |
H A D | dma.c | 78 * DMA M2M channels. 80 * There are 2 M2M channels which support memcpy/memset and in addition simple 99 .name = "ep93xx-dma-m2m",
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-r16-bananapi-m2m.dts | 50 compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33"; 68 label = "bpi-m2m:blue:usr"; 73 label = "bpi-m2m:green:usr"; 78 label = "bpi-m2m:red:power";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sun8i-r16-bananapi-m2m.dts | 50 compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33"; 68 label = "bpi-m2m:blue:usr"; 73 label = "bpi-m2m:green:usr"; 78 label = "bpi-m2m:red:power";
|
/openbmc/linux/Documentation/devicetree/bindings/iommu/ |
H A D | samsung,sysmmu.yaml | 29 MFC in all Exynos SoCs and FIMD, M2M Scalers and G2D in Exynos5420 has 2 System 34 * M2M Scalers and G2D in Exynos5420 has one System MMU on the read channel and
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mem2mem.c | 70 * Used only when the M2M device is registered via 73 * Used only when the M2M device is registered via 76 * Used only when the M2M device is registered via 79 * Used only when the M2M device is registered via 81 * @proc: &struct media_entity pointer with the M2M device itself. 83 * Used only when the M2M device is registered via 86 * with controls the M2M device. 289 * @m2m_dev: m2m device 290 * @m2m_ctx: m2m context 376 * @m2m_ctx: m2m context [all …]
|
/openbmc/u-boot/configs/ |
H A D | Bananapi_m2m_defconfig | 16 CONFIG_DEFAULT_DEVICE_TREE="sun8i-r16-bananapi-m2m"
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | Makefile | 3 mtk-mdp3-y += mtk-mdp3-m2m.o
|