Home
last modified time | relevance | path

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

12345

/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
DMakefile17 venc.o \
/linux-6.12.1/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"
35 /* Venc registers */
257 } venc; variable
261 __raw_writel(val, venc.base + idx); in venc_write_reg()
266 u32 l = __raw_readl(venc.base + idx); in venc_read_reg()
272 DSSDBG("write venc conf\n"); in venc_write_config()
285 venc.wss_data); in venc_write_config()
333 DSSERR("Failed to reset venc\n"); in venc_reset()
[all …]
DKconfig43 bool "VENC support"
103 bool "Sleep 20ms after VENC reset"
106 There is a 20ms sleep after VENC reset which seemed to fix the
/linux-6.12.1/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()
110 dev_dbg(priv->dev, "vclk:%d phy=%d venc=%d hdmi=%d enci=%d\n", in meson_encoder_hdmi_set_vclk()
112 priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
115 venc_freq, hdmi_freq, priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
154 /* For 420, pixel clock is half unlike venc clock */ in meson_encoder_hdmi_mode_valid()
170 /* VENC double pixels for 1080i, 720p and YUV420 modes */ in meson_encoder_hdmi_mode_valid()
182 dev_dbg(priv->dev, "%s: vclk:%d phy=%d venc=%d hdmi=%d\n", in meson_encoder_hdmi_mode_valid()
226 /* VENC + VENC-DVI Mode setup */ in meson_encoder_hdmi_atomic_enable()
244 dev_dbg(priv->dev, "%s\n", priv->venc.hdmi_use_enci ? "VENCI" : "VENCP"); in meson_encoder_hdmi_atomic_enable()
[all …]
Dmeson_dw_hdmi.c64 * Pixel data arrives in 4:4:4 format from the VENC
69 * The VENC uses a DVI encoder on top of the ENCI
82 * - VENC & HDMI Clock setup for 480i to 1080p60
83 * - VENC Mode setup for 480i to 1080p60
299 /* For 420, pixel clock is half unlike venc clock */ in meson_hdmi_phy_setup_mode()
424 /* Temporary Disable VENC video stream */ in dw_hdmi_phy_init()
425 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
436 /* Re-Enable VENC video stream */ in dw_hdmi_phy_init()
437 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
447 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
Dmeson_venc.c22 * VENC Handle the pixels encoding to the output formats.
34 * VENC paths :
39 * vd1---| |-| | | VENC /---------|----VDAC
935 /* Repeat VENC pixels for 480/576i/p, 720p50/60 and 1080p50/60 */ in meson_venc_hdmi_venc_repeat()
1006 /* Repeat VENC pixels for 480/576i/p, 720p50/60 and 1080p50/60 */ in meson_venc_hdmi_mode_set()
1527 /* Invert polarity of HSYNC from VENC */ in meson_venc_hdmi_mode_set()
1531 /* Invert polarity of VSYNC from VENC */ in meson_venc_hdmi_mode_set()
1539 * Write rate to the async FIFO between VENC and HDMI. in meson_venc_hdmi_mode_set()
1546 * Read rate to the async FIFO between VENC and HDMI. in meson_venc_hdmi_mode_set()
1554 priv->venc.hdmi_repeat = hdmi_repeat; in meson_venc_hdmi_mode_set()
[all …]
/linux-6.12.1/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:
Dti,omap3-dss.txt56 VENC
60 - compatible: "ti,omap3-venc"
67 VENC Endpoint required properties:
/linux-6.12.1/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.12.1/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",
/linux-6.12.1/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
94 obj-$(CONFIG_COMMON_CLK_MT8183_VENCSYS) += clk-mt8183-venc.o
106 obj-$(CONFIG_COMMON_CLK_MT8186_VENCSYS) += clk-mt8186-venc.o
118 obj-$(CONFIG_COMMON_CLK_MT8188_VENCSYS) += clk-mt8188-venc.o
133 obj-$(CONFIG_COMMON_CLK_MT8192_VENCSYS) += clk-mt8192-venc.o
145 obj-$(CONFIG_COMMON_CLK_MT8195_VENCSYS) += clk-mt8195-venc.o
154 obj-$(CONFIG_COMMON_CLK_MT8365_VENC) += clk-mt8365-venc.o
Dclk-mt8365-venc.c24 /* VENC */
48 .name = "clk-mt8365-venc",
/linux-6.12.1/arch/arm64/boot/dts/st/
Dstm32mp255.dtsi18 venc: venc@480e0000 { label
19 compatible = "st,stm32mp25-venc";
/linux-6.12.1/Documentation/devicetree/bindings/media/
Dst,stm32mp25-video-codec.yaml7 title: STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder
15 and a VENC video hardware encoder peripheral based on Verisilicon
22 - st,stm32mp25-venc
/linux-6.12.1/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()
DMakefile5 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
6 venc/venc_h264_if.o \
/linux-6.12.1/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
93 A port node pointing to the VENC Input port node.
140 /* VPU VENC Input */
Damlogic,meson-vpu.yaml46 VENC: Video Encoders
49 The VENC is composed of the multiple pixel encoders
53 The VENC Unit gets a Pixel Clocks (VCLK) from a dedicated HDMI PLL and clock
/linux-6.12.1/drivers/gpu/drm/omapdrm/
DKconfig54 bool "VENC support"
126 bool "Sleep 20ms after VENC reset"
129 There is a 20ms sleep after VENC reset which seemed to fix the
/linux-6.12.1/arch/arm/mach-omap2/
Domap_hwmod_2xxx_3xxx_ipblock_data.c37 * 'venc' class
42 .name = "venc",
/linux-6.12.1/drivers/media/platform/verisilicon/
Dstm32mp25_vpu_hw.c170 { "venc", stm32mp25_venc_irq },
174 "venc-clk"
/linux-6.12.1/Documentation/devicetree/bindings/soc/amlogic/
Damlogic,meson-gx-hhi-sysctrl.yaml132 reset-names = "viu", "venc", "vcbus", "bt656", "dvin",
184 reset-names = "viu", "venc", "vcbus", "vencl", "vid_lock";

12345