Home
last modified time | relevance | path

Searched refs:mpixelclk (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/bridge/
H A Dinno-hdmi.c811 unsigned long mpixelclk, max_tolerance; in inno_hdmi_bridge_mode_valid() local
818 mpixelclk = mode->clock * 1000; in inno_hdmi_bridge_mode_valid()
820 if (mpixelclk < HDMI_TMDS_CHAR_RATE_MIN_HZ) in inno_hdmi_bridge_mode_valid()
823 if (inno_hdmi_find_phy_config(hdmi, mpixelclk) < 0) in inno_hdmi_bridge_mode_valid()
827 rounded_refclk = clk_round_rate(hdmi->refclk, mpixelclk); in inno_hdmi_bridge_mode_valid()
832 max_tolerance = mpixelclk / 200; in inno_hdmi_bridge_mode_valid()
833 if (abs_diff((unsigned long)rounded_refclk, mpixelclk) > max_tolerance) in inno_hdmi_bridge_mode_valid()