Lines Matching refs:vmode
881 struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes; in meson_venc_hdmi_supported_vic() local
883 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_supported_vic()
884 if (vmode->vic == vic) in meson_venc_hdmi_supported_vic()
886 vmode++; in meson_venc_hdmi_supported_vic()
920 struct meson_hdmi_venc_vic_mode *vmode = meson_hdmi_venc_vic_modes; in meson_venc_hdmi_get_vic_vmode() local
922 while (vmode->vic && vmode->mode) { in meson_venc_hdmi_get_vic_vmode()
923 if (vmode->vic == vic) in meson_venc_hdmi_get_vic_vmode()
924 return vmode->mode; in meson_venc_hdmi_get_vic_vmode()
925 vmode++; in meson_venc_hdmi_get_vic_vmode()
953 union meson_hdmi_venc_mode *vmode = NULL; in meson_venc_hdmi_mode_set() local
991 vmode = meson_venc_hdmi_get_vic_vmode(vic); in meson_venc_hdmi_mode_set()
992 if (!vmode) { in meson_venc_hdmi_mode_set()
1000 vmode = &vmode_dmt; in meson_venc_hdmi_mode_set()
1068 writel_relaxed(vmode->enci.hso_begin, in meson_venc_hdmi_mode_set()
1070 writel_relaxed(vmode->enci.hso_end, in meson_venc_hdmi_mode_set()
1074 writel_relaxed(vmode->enci.vso_even, in meson_venc_hdmi_mode_set()
1076 writel_relaxed(vmode->enci.vso_odd, in meson_venc_hdmi_mode_set()
1081 ENCI_MACV_MAX_AMP_VAL(vmode->enci.macv_max_amp), in meson_venc_hdmi_mode_set()
1085 writel_relaxed(vmode->enci.video_prog_mode, in meson_venc_hdmi_mode_set()
1087 writel_relaxed(vmode->enci.video_mode, in meson_venc_hdmi_mode_set()
1104 writel(vmode->enci.sch_adjust, in meson_venc_hdmi_mode_set()
1110 if (vmode->enci.yc_delay) in meson_venc_hdmi_mode_set()
1111 writel_relaxed(vmode->enci.yc_delay, in meson_venc_hdmi_mode_set()
1131 writel_relaxed(vmode->enci.pixel_start, in meson_venc_hdmi_mode_set()
1133 writel_relaxed(vmode->enci.pixel_end, in meson_venc_hdmi_mode_set()
1136 writel_relaxed(vmode->enci.top_field_line_start, in meson_venc_hdmi_mode_set()
1138 writel_relaxed(vmode->enci.top_field_line_end, in meson_venc_hdmi_mode_set()
1141 writel_relaxed(vmode->enci.bottom_field_line_start, in meson_venc_hdmi_mode_set()
1143 writel_relaxed(vmode->enci.bottom_field_line_end, in meson_venc_hdmi_mode_set()
1308 writel_relaxed(vmode->encp.dvi_settings, in meson_venc_hdmi_mode_set()
1310 writel_relaxed(vmode->encp.video_mode, in meson_venc_hdmi_mode_set()
1312 writel_relaxed(vmode->encp.video_mode_adv, in meson_venc_hdmi_mode_set()
1314 if (vmode->encp.video_prog_mode_present) in meson_venc_hdmi_mode_set()
1315 writel_relaxed(vmode->encp.video_prog_mode, in meson_venc_hdmi_mode_set()
1317 if (vmode->encp.video_sync_mode_present) in meson_venc_hdmi_mode_set()
1318 writel_relaxed(vmode->encp.video_sync_mode, in meson_venc_hdmi_mode_set()
1320 if (vmode->encp.video_yc_dly_present) in meson_venc_hdmi_mode_set()
1321 writel_relaxed(vmode->encp.video_yc_dly, in meson_venc_hdmi_mode_set()
1323 if (vmode->encp.video_rgb_ctrl_present) in meson_venc_hdmi_mode_set()
1324 writel_relaxed(vmode->encp.video_rgb_ctrl, in meson_venc_hdmi_mode_set()
1326 if (vmode->encp.video_filt_ctrl_present) in meson_venc_hdmi_mode_set()
1327 writel_relaxed(vmode->encp.video_filt_ctrl, in meson_venc_hdmi_mode_set()
1329 if (vmode->encp.video_ofld_voav_ofst_present) in meson_venc_hdmi_mode_set()
1330 writel_relaxed(vmode->encp.video_ofld_voav_ofst, in meson_venc_hdmi_mode_set()
1333 writel_relaxed(vmode->encp.yfp1_htime, in meson_venc_hdmi_mode_set()
1335 writel_relaxed(vmode->encp.yfp2_htime, in meson_venc_hdmi_mode_set()
1337 writel_relaxed(vmode->encp.max_pxcnt, in meson_venc_hdmi_mode_set()
1339 writel_relaxed(vmode->encp.hspuls_begin, in meson_venc_hdmi_mode_set()
1341 writel_relaxed(vmode->encp.hspuls_end, in meson_venc_hdmi_mode_set()
1343 writel_relaxed(vmode->encp.hspuls_switch, in meson_venc_hdmi_mode_set()
1345 writel_relaxed(vmode->encp.vspuls_begin, in meson_venc_hdmi_mode_set()
1347 writel_relaxed(vmode->encp.vspuls_end, in meson_venc_hdmi_mode_set()
1349 writel_relaxed(vmode->encp.vspuls_bline, in meson_venc_hdmi_mode_set()
1351 writel_relaxed(vmode->encp.vspuls_eline, in meson_venc_hdmi_mode_set()
1353 if (vmode->encp.eqpuls_begin_present) in meson_venc_hdmi_mode_set()
1354 writel_relaxed(vmode->encp.eqpuls_begin, in meson_venc_hdmi_mode_set()
1356 if (vmode->encp.eqpuls_end_present) in meson_venc_hdmi_mode_set()
1357 writel_relaxed(vmode->encp.eqpuls_end, in meson_venc_hdmi_mode_set()
1359 if (vmode->encp.eqpuls_bline_present) in meson_venc_hdmi_mode_set()
1360 writel_relaxed(vmode->encp.eqpuls_bline, in meson_venc_hdmi_mode_set()
1362 if (vmode->encp.eqpuls_eline_present) in meson_venc_hdmi_mode_set()
1363 writel_relaxed(vmode->encp.eqpuls_eline, in meson_venc_hdmi_mode_set()
1365 writel_relaxed(vmode->encp.havon_begin, in meson_venc_hdmi_mode_set()
1367 writel_relaxed(vmode->encp.havon_end, in meson_venc_hdmi_mode_set()
1369 writel_relaxed(vmode->encp.vavon_bline, in meson_venc_hdmi_mode_set()
1371 writel_relaxed(vmode->encp.vavon_eline, in meson_venc_hdmi_mode_set()
1373 writel_relaxed(vmode->encp.hso_begin, in meson_venc_hdmi_mode_set()
1375 writel_relaxed(vmode->encp.hso_end, in meson_venc_hdmi_mode_set()
1377 writel_relaxed(vmode->encp.vso_begin, in meson_venc_hdmi_mode_set()
1379 writel_relaxed(vmode->encp.vso_end, in meson_venc_hdmi_mode_set()
1381 writel_relaxed(vmode->encp.vso_bline, in meson_venc_hdmi_mode_set()
1383 if (vmode->encp.vso_eline_present) in meson_venc_hdmi_mode_set()
1384 writel_relaxed(vmode->encp.vso_eline, in meson_venc_hdmi_mode_set()
1386 if (vmode->encp.sy_val_present) in meson_venc_hdmi_mode_set()
1387 writel_relaxed(vmode->encp.sy_val, in meson_venc_hdmi_mode_set()
1389 if (vmode->encp.sy2_val_present) in meson_venc_hdmi_mode_set()
1390 writel_relaxed(vmode->encp.sy2_val, in meson_venc_hdmi_mode_set()
1392 writel_relaxed(vmode->encp.max_lncnt, in meson_venc_hdmi_mode_set()