Lines Matching refs:vmode

883 	struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes;  in meson_venc_hdmi_supported_vic()  local
885 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_supported_vic()
886 if (vmode->vic == vic) in meson_venc_hdmi_supported_vic()
888 vmode++; in meson_venc_hdmi_supported_vic()
922 struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes; in meson_venc_hdmi_get_vic_vmode() local
924 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_get_vic_vmode()
925 if (vmode->vic == vic) in meson_venc_hdmi_get_vic_vmode()
926 return vmode->mode; in meson_venc_hdmi_get_vic_vmode()
927 vmode++; in meson_venc_hdmi_get_vic_vmode()
955 union meson_hdmi_venc_mode *vmode = NULL; in meson_venc_hdmi_mode_set() local
993 vmode = meson_venc_hdmi_get_vic_vmode(vic); in meson_venc_hdmi_mode_set()
994 if (!vmode) { in meson_venc_hdmi_mode_set()
1002 vmode = &vmode_dmt; in meson_venc_hdmi_mode_set()
1070 writel_relaxed(vmode->enci.hso_begin, in meson_venc_hdmi_mode_set()
1072 writel_relaxed(vmode->enci.hso_end, in meson_venc_hdmi_mode_set()
1076 writel_relaxed(vmode->enci.vso_even, in meson_venc_hdmi_mode_set()
1078 writel_relaxed(vmode->enci.vso_odd, in meson_venc_hdmi_mode_set()
1083 ENCI_MACV_MAX_AMP_VAL(vmode->enci.macv_max_amp), in meson_venc_hdmi_mode_set()
1087 writel_relaxed(vmode->enci.video_prog_mode, in meson_venc_hdmi_mode_set()
1089 writel_relaxed(vmode->enci.video_mode, in meson_venc_hdmi_mode_set()
1106 writel(vmode->enci.sch_adjust, in meson_venc_hdmi_mode_set()
1112 if (vmode->enci.yc_delay) in meson_venc_hdmi_mode_set()
1113 writel_relaxed(vmode->enci.yc_delay, in meson_venc_hdmi_mode_set()
1133 writel_relaxed(vmode->enci.pixel_start, in meson_venc_hdmi_mode_set()
1135 writel_relaxed(vmode->enci.pixel_end, in meson_venc_hdmi_mode_set()
1138 writel_relaxed(vmode->enci.top_field_line_start, in meson_venc_hdmi_mode_set()
1140 writel_relaxed(vmode->enci.top_field_line_end, in meson_venc_hdmi_mode_set()
1143 writel_relaxed(vmode->enci.bottom_field_line_start, in meson_venc_hdmi_mode_set()
1145 writel_relaxed(vmode->enci.bottom_field_line_end, in meson_venc_hdmi_mode_set()
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()