| /OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/ |
| H A D | venc.c | 6 * VENC settings from TI's DSS driver 9 #define DSS_SUBSYS_NAME "VENC" 33 /* Venc registers */ 268 static inline void venc_write_reg(struct venc_device *venc, int idx, u32 val) in venc_write_reg() argument 270 __raw_writel(val, venc->base + idx); in venc_write_reg() 273 static inline u32 venc_read_reg(struct venc_device *venc, int idx) in venc_read_reg() argument 275 u32 l = __raw_readl(venc->base + idx); in venc_read_reg() 279 static void venc_write_config(struct venc_device *venc, in venc_write_config() argument 282 DSSDBG("write venc conf\n"); in venc_write_config() 284 venc_write_reg(venc, VENC_LLEN, config->llen); in venc_write_config() [all …]
|
| H A D | Kconfig | 54 bool "VENC support" 125 bool "Sleep 20ms after VENC reset" 128 There is a 20ms sleep after VENC reset which seemed to fix the
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/davinci/ |
| H A D | vpbe_venc.c | 28 #define MODULE_NAME "davinci-vpbe-venc" 72 struct venc_state *venc = to_state(sd); in venc_read() local 74 return readl(venc->venc_base + offset); in venc_read() 79 struct venc_state *venc = to_state(sd); in venc_write() local 81 writel(val, (venc->venc_base + offset)); in venc_write() 98 struct venc_state *venc = to_state(sd); in vdaccfg_write() local 100 writel(val, venc->vdaccfg_reg); in vdaccfg_write() 102 val = readl(venc->vdaccfg_reg); in vdaccfg_write() 135 struct venc_state *venc = to_state(sd); in venc_enabledigitaloutput() local 168 if (venc->venc_type != VPBE_VERSION_3) in venc_enabledigitaloutput() [all …]
|
| H A D | vpbe.c | 56 return ((index == 0) ? &cfg->venc : in vpbe_current_encoder_info() 74 /* Venc is always first */ in vpbe_find_encoder_sd_index() 75 if (!strcmp(encoder_name, cfg->venc.module_name)) in vpbe_find_encoder_sd_index() 210 * there is will be an API added to setup_link between venc in vpbe_set_output() 214 * way of switching encoder at the venc output. in vpbe_set_output() 237 * It is assumed that venc or external encoder will set a default in vpbe_set_output() 537 if (strstr(pdev->name, "vpbe-venc")) in platform_device_get() 615 vpbe_dev->venc = venc_sub_dev_init(&vpbe_dev->v4l2_dev, in vpbe_initialize() 616 vpbe_dev->cfg->venc.module_name); in vpbe_initialize() 617 /* register venc sub device */ in vpbe_initialize() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | omap3_dss.c | 33 /* Configure VENC for a given Mode (NTSC / PAL) */ 37 struct venc_regs *venc = (struct venc_regs *) OMAP3_VENC_BASE; in omap3_dss_venc_config() local 41 writel(venc_cfg->status, &venc->status); in omap3_dss_venc_config() 42 writel(venc_cfg->f_control, &venc->f_control); in omap3_dss_venc_config() 43 writel(venc_cfg->vidout_ctrl, &venc->vidout_ctrl); in omap3_dss_venc_config() 44 writel(venc_cfg->sync_ctrl, &venc->sync_ctrl); in omap3_dss_venc_config() 45 writel(venc_cfg->llen, &venc->llen); in omap3_dss_venc_config() 46 writel(venc_cfg->flens, &venc->flens); in omap3_dss_venc_config() 47 writel(venc_cfg->hfltr_ctrl, &venc->hfltr_ctrl); in omap3_dss_venc_config() 48 writel(venc_cfg->cc_carr_wss_carr, &venc->cc_carr_wss_carr); in omap3_dss_venc_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | venc.c | 3 * linux/drivers/video/omap2/dss/venc.c 8 * VENC settings from TI's DSS driver 11 #define DSS_SUBSYS_NAME "VENC" 34 /* Venc registers */ 256 } venc; variable 260 __raw_writel(val, venc.base + idx); in venc_write_reg() 265 u32 l = __raw_readl(venc.base + idx); in venc_read_reg() 271 DSSDBG("write venc conf\n"); in venc_write_config() 284 venc.wss_data); in venc_write_config() 332 DSSERR("Failed to reset venc\n"); in venc_reset() [all …]
|
| H A D | Kconfig | 43 bool "VENC support" 103 bool "Sleep 20ms after VENC reset" 106 There is a 20ms sleep after VENC reset which seemed to fix the
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/media/ |
| H A D | davinci-vpbe.rst | 18 Loads up VENC, OSD and external encoders such as ths8200. It provides 20 in the VENC or external sub devices. It also provides 22 using sub device ops. The connection of external encoders to VENC LCD 28 for setting up the interface between VENC and external encoders based on 32 API to set timings in VENC for a specific display resolution. As of this 36 3. VENC subdevice module 43 venc using non-standard timing mode. 45 Support LCD Panel displays using the VENC. For example to support a Logic
|
| /OK3568_Linux_fs/kernel/include/media/davinci/ |
| H A D | vpbe.h | 31 * defualt_mode identifies the default timings set at the venc or 40 * each supported mode since venc is used in non-standard timing mode 81 struct encoder_config_info venc; member 88 /* Order is venc outputs followed by LCD and then external encoders */ 166 /* venc device pointer */ 178 /* venc sub device */ 179 struct v4l2_subdev *venc; member
|
| H A D | vpbe_venc.h | 11 #define DM644X_VPBE_VENC_SUBDEV_NAME "dm644x,vpbe-venc" 12 #define DM365_VPBE_VENC_SUBDEV_NAME "dm365,vpbe-venc" 13 #define DM355_VPBE_VENC_SUBDEV_NAME "dm355,vpbe-venc" 15 /* venc events */
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/meson/ |
| H A D | meson_dw_hdmi.c | 66 * Pixel data arrives in 4:4:4 format from the VENC 71 * The VENC uses a DVI encoder on top of the ENCI 84 * - VENC & HDMI Clock setup for 480i to 1080p60 85 * - VENC Mode setup for 480i to 1080p60 303 /* For 420, pixel clock is half unlike venc clock */ in meson_hdmi_phy_setup_mode() 389 /* For 420, pixel clock is half unlike venc clock */ in dw_hdmi_set_vclk() 409 /* VENC double pixels for 1080i, 720p and YUV420 modes */ in dw_hdmi_set_vclk() 419 DRM_DEBUG_DRIVER("vclk:%d phy=%d venc=%d hdmi=%d enci=%d\n", in dw_hdmi_set_vclk() 421 priv->venc.hdmi_use_enci); in dw_hdmi_set_vclk() 424 venc_freq, hdmi_freq, priv->venc.hdmi_use_enci); in dw_hdmi_set_vclk() [all …]
|
| H A D | meson_venc.c | 20 * VENC Handle the pixels encoding to the output formats. 32 * VENC paths : 37 * vd1---| |-| | | VENC /---------|----VDAC 933 /* Repeat VENC pixels for 480/576i/p, 720p50/60 and 1080p50/60 */ in meson_venc_hdmi_venc_repeat() 1004 /* Repeat VENC pixels for 480/576i/p, 720p50/60 and 1080p50/60 */ in meson_venc_hdmi_mode_set() 1525 /* Invert polarity of HSYNC from VENC */ in meson_venc_hdmi_mode_set() 1529 /* Invert polarity of VSYNC from VENC */ in meson_venc_hdmi_mode_set() 1537 * Write rate to the async FIFO between VENC and HDMI. in meson_venc_hdmi_mode_set() 1544 * Read rate to the async FIFO between VENC and HDMI. in meson_venc_hdmi_mode_set() 1552 priv->venc.hdmi_repeat = hdmi_repeat; in meson_venc_hdmi_mode_set() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ti/ |
| H A D | ti,omap4-dss.txt | 21 - DSS Submodules: RFBI, VENC, DSI, HDMI 59 VENC 63 - compatible: "ti,omap4-venc" 71 - Video port for VENC output 73 VENC Endpoint required properties:
|
| H A D | ti,omap2-dss.txt | 45 VENC 49 - compatible: "ti,omap2-venc" 54 VENC Endpoint required properties:
|
| H A D | ti,omap3-dss.txt | 56 VENC 60 - compatible: "ti,omap3-venc" 67 VENC Endpoint required properties:
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/mediatek/ |
| H A D | scpsys.txt | 37 Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec" 45 Required clocks for MT8173: "mm", "mfg", "venc", "venc_lt" 49 - venc-supply: Power supply for the venc power domain 70 clock-names = "mfg", "mm", "venc", "venc_lt";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/ |
| H A D | amlogic,meson-ee-pwrc.yaml | 80 - const: venc 96 - const: venc 121 - const: venc 140 - const: venc 180 reset-names = "viu", "venc", "vcbus", "bt656",
|
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/ |
| H A D | test_mpi_avs.cpp | 82 RK_LOGE("venc [%d] RK_MPI_VENC_CreateChn failed: %#x!", in create_venc() 86 RK_LOGV("venc [%d] RK_MPI_VENC_CreateChn already.", ctx->VencChn); in create_venc() 90 RK_LOGE("venc [%d] RK_MPI_VENC_StartRecvFrame failed: %#x!", in create_venc() 94 RK_LOGV("venc [%d] RK_MPI_VENC_StartRecvFrame already.", ctx->VencChn); in create_venc() 104 RK_LOGE("venc [%d] RK_MPI_VENC_StopRecvFrame failed: %#x!", in destroy_venc() 108 RK_LOGV("venc [%d] RK_MPI_VENC_StopRecvFrame already.", ctx->VencChn); in destroy_venc() 112 RK_LOGE("venc [%d] RK_MPI_VENC_DestroyChn failed: %#x!", in destroy_venc() 116 RK_LOGV("venc [%d] RK_MPI_VENC_DestroyChn already.", ctx->VencChn); in destroy_venc() 307 RK_PRINT(" %d pool -> avs -> vpss -> venc(H264) \n", pstAvsCtx->s32PipeNum); in test_avs_vpss_venc_loop() 308 RK_PRINT(" -> venc(H265) \n"); in test_avs_vpss_venc_loop() [all …]
|
| H A D | test_mpi_all.cpp | 650 //create venc 0, 0 in unit_test_mpi_all() 653 RK_LOGE("create venc ch failed"); in unit_test_mpi_all() 726 //bind vpss ch 0 to venc 0 in unit_test_mpi_all() 735 RK_LOGE("vpss ch 0 band venc fail:%x", s32Ret); in unit_test_mpi_all() 739 //bind venc 0 to vdec 1 in unit_test_mpi_all() 748 RK_LOGE("vpss ch 0 band venc fail:%x", s32Ret); in unit_test_mpi_all() 869 //bind vpss ch 0 to venc 0 in unit_test_mpi_all() 878 RK_LOGE("vpss ch 0 unband venc fail:%x", s32Ret); in unit_test_mpi_all() 882 //unbind venc 0 to vdec 1 in unit_test_mpi_all() 891 RK_LOGE("vpss ch 0 unband venc fail:%x", s32Ret); in unit_test_mpi_all()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ |
| H A D | amlogic,meson-dw-hdmi.yaml | 36 Pixel data arrives in "4:4:4" format from the VENC block and the VPU HDMI mux 40 The VENC uses a DVI encoder on top of the ENCI or ENCP encoders to generate 89 A port node pointing to the VENC Input port node. 135 /* VPU VENC Input */
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/mtk-vcodec/ |
| H A D | mtk_vcodec_enc_pm.c | 77 mtk_v4l2_err("Failed to get venc clock count"); in mtk_vcodec_init_enc_pm() 87 mtk_v4l2_err("venc failed to get clk name %d", i); in mtk_vcodec_init_enc_pm() 93 mtk_v4l2_err("venc devm_clk_get (%d)%s fail", i, in mtk_vcodec_init_enc_pm() 122 mtk_v4l2_err("venc clk_prepare_enable %d %s fail %d", i, in mtk_vcodec_enc_clock_on()
|
| H A D | Makefile | 16 mtk-vcodec-enc-y := venc/venc_vp8_if.o \ 17 venc/venc_h264_if.o \
|
| /OK3568_Linux_fs/kernel/drivers/clk/mediatek/ |
| H A D | Makefile | 17 obj-$(CONFIG_COMMON_CLK_MT6779_VENCSYS) += clk-mt6779-venc.o 24 obj-$(CONFIG_COMMON_CLK_MT6797_VENCSYS) += clk-mt6797-venc.o 41 obj-$(CONFIG_COMMON_CLK_MT2712_VENCSYS) += clk-mt2712-venc.o 69 obj-$(CONFIG_COMMON_CLK_MT8183_VENCSYS) += clk-mt8183-venc.o
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/rv1106/ |
| H A D | rv1106.c | 450 * When venc/npu use pvtpll, reboot will fail, because in arch_cpu_init() 451 * pvtpll is reset before venc/npu reset, so venc/npu in arch_cpu_init() 454 * Enable pvtpll can make venc/npu reset go on, wait in arch_cpu_init() 455 * until venc/npu is reset completely. in arch_cpu_init() 471 * such as VENC. in arch_cpu_init() 475 /* Improve VENC QOS PRIORITY */ in arch_cpu_init()
|
| /OK3568_Linux_fs/external/rockit/mpi/sdk/include/ |
| H A D | rk_comm_rgn.h | 66 /* overlay regions qp info (only support to venc) */ 101 /* ex overlay fiter device type, now only support venc module*/ 123 /* overlay regions qp info (only support to venc) */ 244 /* resource is busy, eg. destroy a venc chn without unregistering it */
|