Home
last modified time | relevance | path

Searched full:venc (Results 1 – 25 of 184) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dvenc.c6 * 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
Dvenc.c6 * 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 …]
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
Dvenc.c179 struct venc_t *venc = inst->priv; in venc_g_fmt() local
197 f->fmt.pix_mp.colorspace = venc->params.color.primaries; in venc_g_fmt()
198 f->fmt.pix_mp.xfer_func = venc->params.color.transfer; in venc_g_fmt()
199 f->fmt.pix_mp.ycbcr_enc = venc->params.color.matrix; in venc_g_fmt()
200 f->fmt.pix_mp.quantization = venc->params.color.full_range; in venc_g_fmt()
221 struct venc_t *venc = inst->priv; in venc_s_fmt() local
238 venc->params.input_format = cur_fmt->pixfmt; in venc_s_fmt()
239 venc->params.src_stride = cur_fmt->bytesperline[0]; in venc_s_fmt()
240 venc->params.src_width = cur_fmt->width; in venc_s_fmt()
241 venc->params.src_height = cur_fmt->height; in venc_s_fmt()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
Dvpbe_venc.c28 #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 …]
Dvpbe.c56 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 …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dvenc.c3 * 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 …]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
Dvenc.c3 * 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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Ddavinci-vpbe.rst18 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
/kernel/linux/linux-5.10/include/media/davinci/
Dvpbe_venc.h11 #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 */
Dvpbe.h31 * 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
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c80 /* For 420, pixel clock is half unlike venc clock */ in meson_encoder_hdmi_set_vclk()
100 /* VENC double pixels for 1080i, 720p and YUV420 modes */ in meson_encoder_hdmi_set_vclk()
111 "phy:%lluHz vclk=%lluHz venc=%lluHz hdmi=%lluHz enci=%d\n", in meson_encoder_hdmi_set_vclk()
113 priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
116 venc_freq, hdmi_freq, priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
156 /* For 420, pixel clock is half unlike venc clock */ in meson_encoder_hdmi_mode_valid()
172 /* VENC double pixels for 1080i, 720p and YUV420 modes */ in meson_encoder_hdmi_mode_valid()
185 "%s: vclk:%lluHz phy=%lluHz venc=%lluHz hdmi=%lluHz\n", in meson_encoder_hdmi_mode_valid()
229 /* VENC + VENC-DVI Mode setup */ in meson_encoder_hdmi_atomic_enable()
247 dev_dbg(priv->dev, "%s\n", priv->venc.hdmi_use_enci ? "VENCI" : "VENCP"); in meson_encoder_hdmi_atomic_enable()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ti/
Dti,omap4-dss.txt21 - DSS Submodules: RFBI, VENC, DSI, HDMI
59 VENC
63 - compatible: "ti,omap4-venc"
71 - Video port for VENC output
73 VENC Endpoint required properties:
Dti,omap2-dss.txt45 VENC
49 - compatible: "ti,omap2-venc"
54 VENC Endpoint required properties:
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ti/
Dti,omap4-dss.txt21 - DSS Submodules: RFBI, VENC, DSI, HDMI
59 VENC
63 - compatible: "ti,omap4-venc"
71 - Video port for VENC output
73 VENC Endpoint required properties:
Dti,omap2-dss.txt45 VENC
49 - compatible: "ti,omap2-venc"
54 VENC Endpoint required properties:
/kernel/linux/linux-6.6/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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/
Damlogic,meson-ee-pwrc.yaml80 - const: venc
96 - const: venc
121 - const: venc
140 - const: venc
180 reset-names = "viu", "venc", "vcbus", "bt656",
/kernel/linux/linux-6.6/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",
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c66 * 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 …]
/kernel/linux/linux-6.6/drivers/clk/mediatek/
DMakefile18 obj-$(CONFIG_COMMON_CLK_MT6779_VENCSYS) += clk-mt6779-venc.o
31 obj-$(CONFIG_COMMON_CLK_MT6797_VENCSYS) += clk-mt6797-venc.o
48 obj-$(CONFIG_COMMON_CLK_MT2712_VENCSYS) += clk-mt2712-venc.o
89 obj-$(CONFIG_COMMON_CLK_MT8183_VENCSYS) += clk-mt8183-venc.o
101 obj-$(CONFIG_COMMON_CLK_MT8186_VENCSYS) += clk-mt8186-venc.o
113 obj-$(CONFIG_COMMON_CLK_MT8188_VENCSYS) += clk-mt8188-venc.o
128 obj-$(CONFIG_COMMON_CLK_MT8192_VENCSYS) += clk-mt8192-venc.o
140 obj-$(CONFIG_COMMON_CLK_MT8195_VENCSYS) += clk-mt8195-venc.o
149 obj-$(CONFIG_COMMON_CLK_MT8365_VENC) += clk-mt8365-venc.o
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/
Dmtk_vcodec_enc_pm.c37 dev_err(pm->dev, "[MTK VCODEC] Failed to get venc clock count"); in mtk_vcodec_init_enc_clk()
46 dev_err(pm->dev, "[MTK VCODEC] venc failed to get clk name %d", i); in mtk_vcodec_init_enc_clk()
52 dev_err(pm->dev, "[MTK VCODEC] venc devm_clk_get (%d)%s fail", i, in mtk_vcodec_init_enc_clk()
89 dev_err(pm->dev, "[MTK VCODEC] venc clk_prepare_enable %d %s fail %d", i, in mtk_vcodec_enc_clock_on()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/
Damlogic,meson-dw-hdmi.yaml36 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 */
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Damlogic,meson-dw-hdmi.yaml36 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 */
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc_pm.c77 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()

12345678