Lines Matching refs:htotal
63 u32 htotal; member
195 val = src_mode->htotal - src_mode->hdisplay; in rk628_hdmirx_init_edid()
346 u32 hact, vact, htotal, vtotal, fps, status; in rk628_hdmirx_get_timing() local
369 htotal = (val >> 16) & 0xffff; in rk628_hdmirx_get_timing()
383 if (!(htotal && vtotal)) { in rk628_hdmirx_get_timing()
384 dev_info(rk628->dev, "timing err, htotal:%d, vtotal:%d\n", htotal, vtotal); in rk628_hdmirx_get_timing()
387 fps = (tmds_clk + (htotal * vtotal) / 2) / (htotal * vtotal); in rk628_hdmirx_get_timing()
398 vs = (vs + htotal / 2) / htotal; in rk628_hdmirx_get_timing()
410 if ((hofs_pix < hs) || (htotal < (hact + hofs_pix)) || in rk628_hdmirx_get_timing()
414 htotal, vtotal, hact, vact, hofs_pix, hs, vs, vbp); in rk628_hdmirx_get_timing()
418 hfp = htotal - hact - hofs_pix; in rk628_hdmirx_get_timing()
430 pixelclock = htotal * vtotal * fps; in rk628_hdmirx_get_timing()
441 hdmirx->mode.htotal = hdmirx->mode.hend + hbackporch; in rk628_hdmirx_get_timing()
450 status, hact, vact, htotal, vtotal, fps, pixelclock); in rk628_hdmirx_get_timing()
522 src_mode->htotal = hdmirx->mode.htotal; in rk628_hdmirx_phy_setup()