Home
last modified time | relevance | path

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

123

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/media/platform/amphion/
Dvenc.c168 struct venc_t *venc = inst->priv; in venc_g_fmt() local
186 f->fmt.pix_mp.colorspace = venc->params.color.primaries; in venc_g_fmt()
187 f->fmt.pix_mp.xfer_func = venc->params.color.transfer; in venc_g_fmt()
188 f->fmt.pix_mp.ycbcr_enc = venc->params.color.matrix; in venc_g_fmt()
189 f->fmt.pix_mp.quantization = venc->params.color.full_range; in venc_g_fmt()
209 struct venc_t *venc = inst->priv; in venc_s_fmt() local
239 venc->params.input_format = cur_fmt->pixfmt; in venc_s_fmt()
240 venc->params.src_stride = cur_fmt->bytesperline[0]; in venc_s_fmt()
241 venc->params.src_width = cur_fmt->width; in venc_s_fmt()
242 venc->params.src_height = cur_fmt->height; in venc_s_fmt()
[all …]
DMakefile17 venc.o \
/linux-6.1.9/drivers/media/platform/ti/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()
/linux-6.1.9/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_resume_and_get(&venc.pdev->dev); in venc_runtime_get()
362 r = pm_runtime_put_sync(&venc.pdev->dev); in venc_runtime_put()
381 struct omap_overlay_manager *mgr = venc.output.manager; in venc_power_on()
390 venc_write_config(venc_timings_to_config(&venc.timings)); in venc_power_on()
392 dss_set_venc_output(venc.type); in venc_power_on()
397 if (venc.type == OMAP_DSS_VENC_TYPE_COMPOSITE) in venc_power_on()
[all …]
DMakefile11 omapdss-$(CONFIG_FB_OMAP2_DSS_VENC) += venc.o
/linux-6.1.9/Documentation/devicetree/bindings/power/
Damlogic,meson-ee-pwrc.yaml79 - const: venc
95 - const: venc
120 - const: venc
139 - const: venc
179 reset-names = "viu", "venc", "vcbus", "bt656",
Dmediatek,power-controller.yaml101 domain, and should not have a '-' in their name (i.e mm, mfg, venc).
158 clock-names = "mm", "venc";
/linux-6.1.9/drivers/clk/mediatek/
DMakefile17 obj-$(CONFIG_COMMON_CLK_MT6779_VENCSYS) += clk-mt6779-venc.o
30 obj-$(CONFIG_COMMON_CLK_MT6797_VENCSYS) += clk-mt6797-venc.o
47 obj-$(CONFIG_COMMON_CLK_MT2712_VENCSYS) += clk-mt2712-venc.o
79 obj-$(CONFIG_COMMON_CLK_MT8183_VENCSYS) += clk-mt8183-venc.o
83 clk-mt8186-img.o clk-mt8186-vdec.o clk-mt8186-venc.o \
97 obj-$(CONFIG_COMMON_CLK_MT8192_VENCSYS) += clk-mt8192-venc.o
103 clk-mt8195-venc.o clk-mt8195-vpp0.o clk-mt8195-vpp1.o \
112 obj-$(CONFIG_COMMON_CLK_MT8365_VENC) += clk-mt8365-venc.o
/linux-6.1.9/Documentation/devicetree/bindings/soc/mediatek/
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";
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
DMakefile27 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
28 venc/venc_h264_if.o \
/linux-6.1.9/include/media/davinci/
Dvpbe.h81 struct encoder_config_info venc; member
179 struct v4l2_subdev *venc; member
/linux-6.1.9/Documentation/driver-api/media/drivers/
Ddavinci-vpbe-devel.rst17 VPBE venc sub device driver
34 vpbe venc sub device
/linux-6.1.9/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()
242 dev_dbg(priv->dev, "%s\n", priv->venc.hdmi_use_enci ? "VENCI" : "VENCP"); in meson_encoder_hdmi_atomic_enable()
244 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.h164 } venc; member
/linux-6.1.9/drivers/media/platform/qcom/venus/
DMakefile11 venus-enc-objs += venc.o venc_ctrls.o
/linux-6.1.9/drivers/gpu/drm/omapdrm/
DMakefile25 omapdrm-$(CONFIG_OMAP2_DSS_VENC) += dss/venc.o
/linux-6.1.9/Documentation/devicetree/bindings/display/ti/
Dti,omap2-dss.txt49 - compatible: "ti,omap2-venc"
Dti,omap3-dss.txt60 - compatible: "ti,omap3-venc"
/linux-6.1.9/arch/arm/boot/dts/
Domap2.dtsi326 venc: encoder@48050c00 { label
327 compatible = "ti,omap2-venc";
Dmeson8m2.dtsi78 "vencp", "vdac", "vencl", "viu", "venc", "rdma";
Domap3-cm-t3x30.dtsi84 &venc {

123