Home
last modified time | relevance | path

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

/drivers/gpu/drm/omapdrm/dss/
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 …]
/drivers/media/platform/davinci/
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 …]
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()
Dvpbe_display.c48 ret = v4l2_subdev_call(vpbe_dev->venc, in venc_is_second_field()
/drivers/video/fbdev/omap2/omapfb/dss/
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 …]
DMakefile11 omapdss-$(CONFIG_FB_OMAP2_DSS_VENC) += venc.o
/drivers/clk/mediatek/
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
82 obj-$(CONFIG_COMMON_CLK_MT8192_VENCSYS) += clk-mt8192-venc.o
/drivers/media/platform/mtk-vcodec/
DMakefile16 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
17 venc/venc_h264_if.o \
/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c110 priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
113 venc_freq, hdmi_freq, priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
237 dev_dbg(priv->dev, "%s\n", priv->venc.hdmi_use_enci ? "VENCI" : "VENCP"); in meson_encoder_hdmi_atomic_enable()
239 if (priv->venc.hdmi_use_enci) in meson_encoder_hdmi_atomic_enable()
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()
Dmeson_dw_hdmi.c455 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
467 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
477 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
Dmeson_drv.h157 } venc; member
/drivers/media/platform/qcom/venus/
DMakefile11 venus-enc-objs += venc.o venc_ctrls.o
/drivers/gpu/drm/omapdrm/
DMakefile24 omapdrm-$(CONFIG_OMAP2_DSS_VENC) += dss/venc.o