Home
last modified time | relevance | path

Searched refs:venc (Results 1 – 25 of 80) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/dss/
H A Dvenc.c268 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
284 venc_write_reg(venc, VENC_LLEN, config->llen); in venc_write_config()
285 venc_write_reg(venc, VENC_FLENS, config->flens); in venc_write_config()
286 venc_write_reg(venc, VENC_CC_CARR_WSS_CARR, config->cc_carr_wss_carr); in venc_write_config()
287 venc_write_reg(venc, VENC_C_PHASE, config->c_phase); in venc_write_config()
288 venc_write_reg(venc, VENC_GAIN_U, config->gain_u); in venc_write_config()
[all …]
H A DMakefile12 omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o
/OK3568_Linux_fs/u-boot/drivers/video/
H A Domap3_dss.c37 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()
49 writel(venc_cfg->c_phase, &venc->c_phase); in omap3_dss_venc_config()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/davinci/
H A Dvpbe_venc.c72 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()
218 struct venc_state *venc = to_state(sd); in venc_set_ntsc() local
[all …]
H A Dvpbe.c56 return ((index == 0) ? &cfg->venc : in vpbe_current_encoder_info()
75 if (!strcmp(encoder_name, cfg->venc.module_name)) in vpbe_find_encoder_sd_index()
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()
618 if (!vpbe_dev->venc) { in vpbe_initialize()
654 *enc_subdev = vpbe_dev->venc; in vpbe_initialize()
796 !cfg->venc.module_name[0]) { in vpbe_probe()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/
H A Dvenc.c256 } 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()
284 venc.wss_data); in venc_write_config()
350 r = pm_runtime_get_sync(&venc.pdev->dev); in venc_runtime_get()
352 pm_runtime_put_sync(&venc.pdev->dev); in venc_runtime_get()
364 r = pm_runtime_put_sync(&venc.pdev->dev); in venc_runtime_put()
383 struct omap_overlay_manager *mgr = venc.output.manager; in venc_power_on()
392 venc_write_config(venc_timings_to_config(&venc.timings)); in venc_power_on()
394 dss_set_venc_output(venc.type); in venc_power_on()
[all …]
H A DMakefile11 omapdss-$(CONFIG_FB_OMAP2_DSS_VENC) += venc.o
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/mediatek/
H A Dscpsys.txt37 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/drivers/clk/mediatek/
H A DMakefile17 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/kernel/drivers/media/platform/mtk-vcodec/
H A DMakefile16 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
17 venc/venc_h264_if.o \
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3588-nvr-demo3-v10.dtsi40 venc-supply = <&vdd_log_s0>;
46 venc-supply = <&vdd_log_s0>;
H A Drk3588-pc.dtsi229 venc-supply = <&vdd_vdenc_s0>;
239 venc-supply = <&vdd_vdenc_s0>;
H A Drk3588-nvr.dtsi267 venc-supply = <&vdd_vdenc_s0>;
277 venc-supply = <&vdd_vdenc_s0>;
H A Drk3588-vehicle.dtsi342 venc-supply = <&vdd_vdenc_s0>;
352 venc-supply = <&vdd_vdenc_s0>;
/OK3568_Linux_fs/kernel/Documentation/driver-api/media/drivers/
H A Ddavinci-vpbe-devel.rst17 VPBE venc sub device driver
34 vpbe venc sub device
/OK3568_Linux_fs/kernel/include/media/davinci/
H A Dvpbe.h81 struct encoder_config_info venc; member
179 struct v4l2_subdev *venc; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/meson/
H A Dmeson_dw_hdmi.c421 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()
508 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
520 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
530 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
782 DRM_DEBUG_DRIVER("%s\n", priv->venc.hdmi_use_enci ? "VENCI" : "VENCP"); in meson_venc_hdmi_encoder_enable()
784 if (priv->venc.hdmi_use_enci) in meson_venc_hdmi_encoder_enable()
H A Dmeson_venc.c1552 priv->venc.hdmi_repeat = hdmi_repeat; in meson_venc_hdmi_mode_set()
1553 priv->venc.venc_repeat = venc_repeat; in meson_venc_hdmi_mode_set()
1554 priv->venc.hdmi_use_enci = use_enci; in meson_venc_hdmi_mode_set()
1556 priv->venc.current_mode = MESON_VENC_MODE_HDMI; in meson_venc_hdmi_mode_set()
1565 if (mode->mode_tag == priv->venc.current_mode) in meson_venci_cvbs_mode_set()
1739 priv->venc.current_mode = mode->mode_tag; in meson_venci_cvbs_mode_set()
1791 priv->venc.current_mode = MESON_VENC_MODE_NONE; in meson_venc_init()
H A Dmeson_drv.h157 } venc; member
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A DMakefile9 venus-enc-objs += venc.o venc_ctrls.o
/OK3568_Linux_fs/rkbin/doc/release/
H A DRV1106_EN.md412 | 1 | important | repair the bug of v1.40 cause | after venc start …
414 …u check overflow, bug venc can not lost the error frame | if venc start too slow, mcu will make a …
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drv1126-evb-v12.dtsi60 venc-supply = <&vdd_npu_vepu>;
H A Domap2.dtsi333 venc: encoder@48050c00 { label
334 compatible = "ti,omap2-venc";
H A Dmeson8m2.dtsi78 "vencp", "vdac", "vencl", "viu", "venc", "rdma";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ti/
H A Dti,omap2-dss.txt49 - compatible: "ti,omap2-venc"

1234