Lines Matching refs:i
125 int i; in hdmi_lookup_n_cts() local
127 for (i = 0; i < ARRAY_SIZE(n_cts_table); i++) in hdmi_lookup_n_cts()
128 if (pixel_clk <= n_cts_table[i].tmds) in hdmi_lookup_n_cts()
131 if (i >= ARRAY_SIZE(n_cts_table)) in hdmi_lookup_n_cts()
134 return i; in hdmi_lookup_n_cts()
315 uint i, val; in hdmi_phy_configure() local
337 for (i = 0; hdmi->mpll_cfg[i].mpixelclock != (~0ul); i++) in hdmi_phy_configure()
338 if (mpixelclock <= hdmi->mpll_cfg[i].mpixelclock) in hdmi_phy_configure()
341 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].cpce, PHY_OPMODE_PLLCFG); in hdmi_phy_configure()
342 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].gmp, PHY_PLLGMPCTRL); in hdmi_phy_configure()
343 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].curr, PHY_PLLCURRCTRL); in hdmi_phy_configure()
348 for (i = 0; hdmi->phy_cfg[i].mpixelclock != (~0ul); i++) in hdmi_phy_configure()
349 if (mpixelclock <= hdmi->phy_cfg[i].mpixelclock) in hdmi_phy_configure()
357 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].term, PHY_TXTERM); in hdmi_phy_configure()
358 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].sym_ctr, PHY_CKSYMTXCTRL); in hdmi_phy_configure()
359 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].vlev_ctr, PHY_VLEVCTRL); in hdmi_phy_configure()
638 int i, ret; in dw_hdmi_phy_cfg() local
641 for (i = 0; i < 2; i++) { in dw_hdmi_phy_cfg()