Lines Matching full:encp
26 * - TMDS/HDMI Encoding via ENCI_DIV and ENCP
42 * osd2--|_____|-|_____| | |\-ENCP--ENCP_DVI-|-|
49 * The ENCP is designed for Progressive encoding but can also generate
55 * The ENCI and ENCP encoders needs specially defined parameters for each
58 * The ENCI end ENCP DVI encoders are more generic and can generate any timings
59 * from the pixel data generated by ENCI or ENCP, so can use the standard video
188 } encp; member
232 .encp = {
278 .encp = {
324 .encp = {
366 .encp = {
411 .encp = {
460 .encp = {
509 .encp = {
558 .encp = {
602 .encp = {
650 .encp = {
694 .encp = {
736 .encp = {
778 .encp = {
900 dmt_mode->encp.dvi_settings = 0x21; in meson_venc_hdmi_get_dmt_vmode()
901 dmt_mode->encp.video_mode = 0x4040; in meson_venc_hdmi_get_dmt_vmode()
902 dmt_mode->encp.video_mode_adv = 0x18; in meson_venc_hdmi_get_dmt_vmode()
903 dmt_mode->encp.max_pxcnt = mode->htotal - 1; in meson_venc_hdmi_get_dmt_vmode()
904 dmt_mode->encp.havon_begin = mode->htotal - mode->hsync_start; in meson_venc_hdmi_get_dmt_vmode()
905 dmt_mode->encp.havon_end = dmt_mode->encp.havon_begin + in meson_venc_hdmi_get_dmt_vmode()
907 dmt_mode->encp.vavon_bline = mode->vtotal - mode->vsync_start; in meson_venc_hdmi_get_dmt_vmode()
908 dmt_mode->encp.vavon_eline = dmt_mode->encp.vavon_bline + in meson_venc_hdmi_get_dmt_vmode()
910 dmt_mode->encp.hso_begin = 0; in meson_venc_hdmi_get_dmt_vmode()
911 dmt_mode->encp.hso_end = mode->hsync_end - mode->hsync_start; in meson_venc_hdmi_get_dmt_vmode()
912 dmt_mode->encp.vso_begin = 30; in meson_venc_hdmi_get_dmt_vmode()
913 dmt_mode->encp.vso_end = 50; in meson_venc_hdmi_get_dmt_vmode()
914 dmt_mode->encp.vso_bline = 0; in meson_venc_hdmi_get_dmt_vmode()
915 dmt_mode->encp.vso_eline = mode->vsync_end - mode->vsync_start; in meson_venc_hdmi_get_dmt_vmode()
916 dmt_mode->encp.vso_eline_present = true; in meson_venc_hdmi_get_dmt_vmode()
917 dmt_mode->encp.max_lncnt = mode->vtotal - 1; in meson_venc_hdmi_get_dmt_vmode()
1310 writel_relaxed(vmode->encp.dvi_settings, in meson_venc_hdmi_mode_set()
1312 writel_relaxed(vmode->encp.video_mode, in meson_venc_hdmi_mode_set()
1314 writel_relaxed(vmode->encp.video_mode_adv, in meson_venc_hdmi_mode_set()
1316 if (vmode->encp.video_prog_mode_present) in meson_venc_hdmi_mode_set()
1317 writel_relaxed(vmode->encp.video_prog_mode, in meson_venc_hdmi_mode_set()
1319 if (vmode->encp.video_sync_mode_present) in meson_venc_hdmi_mode_set()
1320 writel_relaxed(vmode->encp.video_sync_mode, in meson_venc_hdmi_mode_set()
1322 if (vmode->encp.video_yc_dly_present) in meson_venc_hdmi_mode_set()
1323 writel_relaxed(vmode->encp.video_yc_dly, in meson_venc_hdmi_mode_set()
1325 if (vmode->encp.video_rgb_ctrl_present) in meson_venc_hdmi_mode_set()
1326 writel_relaxed(vmode->encp.video_rgb_ctrl, in meson_venc_hdmi_mode_set()
1328 if (vmode->encp.video_filt_ctrl_present) in meson_venc_hdmi_mode_set()
1329 writel_relaxed(vmode->encp.video_filt_ctrl, in meson_venc_hdmi_mode_set()
1331 if (vmode->encp.video_ofld_voav_ofst_present) in meson_venc_hdmi_mode_set()
1332 writel_relaxed(vmode->encp.video_ofld_voav_ofst, in meson_venc_hdmi_mode_set()
1335 writel_relaxed(vmode->encp.yfp1_htime, in meson_venc_hdmi_mode_set()
1337 writel_relaxed(vmode->encp.yfp2_htime, in meson_venc_hdmi_mode_set()
1339 writel_relaxed(vmode->encp.max_pxcnt, in meson_venc_hdmi_mode_set()
1341 writel_relaxed(vmode->encp.hspuls_begin, in meson_venc_hdmi_mode_set()
1343 writel_relaxed(vmode->encp.hspuls_end, in meson_venc_hdmi_mode_set()
1345 writel_relaxed(vmode->encp.hspuls_switch, in meson_venc_hdmi_mode_set()
1347 writel_relaxed(vmode->encp.vspuls_begin, in meson_venc_hdmi_mode_set()
1349 writel_relaxed(vmode->encp.vspuls_end, in meson_venc_hdmi_mode_set()
1351 writel_relaxed(vmode->encp.vspuls_bline, in meson_venc_hdmi_mode_set()
1353 writel_relaxed(vmode->encp.vspuls_eline, in meson_venc_hdmi_mode_set()
1355 if (vmode->encp.eqpuls_begin_present) in meson_venc_hdmi_mode_set()
1356 writel_relaxed(vmode->encp.eqpuls_begin, in meson_venc_hdmi_mode_set()
1358 if (vmode->encp.eqpuls_end_present) in meson_venc_hdmi_mode_set()
1359 writel_relaxed(vmode->encp.eqpuls_end, in meson_venc_hdmi_mode_set()
1361 if (vmode->encp.eqpuls_bline_present) in meson_venc_hdmi_mode_set()
1362 writel_relaxed(vmode->encp.eqpuls_bline, in meson_venc_hdmi_mode_set()
1364 if (vmode->encp.eqpuls_eline_present) in meson_venc_hdmi_mode_set()
1365 writel_relaxed(vmode->encp.eqpuls_eline, in meson_venc_hdmi_mode_set()
1367 writel_relaxed(vmode->encp.havon_begin, in meson_venc_hdmi_mode_set()
1369 writel_relaxed(vmode->encp.havon_end, in meson_venc_hdmi_mode_set()
1371 writel_relaxed(vmode->encp.vavon_bline, in meson_venc_hdmi_mode_set()
1373 writel_relaxed(vmode->encp.vavon_eline, in meson_venc_hdmi_mode_set()
1375 writel_relaxed(vmode->encp.hso_begin, in meson_venc_hdmi_mode_set()
1377 writel_relaxed(vmode->encp.hso_end, in meson_venc_hdmi_mode_set()
1379 writel_relaxed(vmode->encp.vso_begin, in meson_venc_hdmi_mode_set()
1381 writel_relaxed(vmode->encp.vso_end, in meson_venc_hdmi_mode_set()
1383 writel_relaxed(vmode->encp.vso_bline, in meson_venc_hdmi_mode_set()
1385 if (vmode->encp.vso_eline_present) in meson_venc_hdmi_mode_set()
1386 writel_relaxed(vmode->encp.vso_eline, in meson_venc_hdmi_mode_set()
1388 if (vmode->encp.sy_val_present) in meson_venc_hdmi_mode_set()
1389 writel_relaxed(vmode->encp.sy_val, in meson_venc_hdmi_mode_set()
1391 if (vmode->encp.sy2_val_present) in meson_venc_hdmi_mode_set()
1392 writel_relaxed(vmode->encp.sy2_val, in meson_venc_hdmi_mode_set()
1394 writel_relaxed(vmode->encp.max_lncnt, in meson_venc_hdmi_mode_set()
1516 /* Select ENCP for VIU */ in meson_venc_hdmi_mode_set()
1521 /* Select ENCP or ENCI data to HDMI */ in meson_venc_hdmi_mode_set()