Searched refs:ddc_bus_freq (Results 1 – 2 of 2) sorted by relevance
93 int ddc_bus_freq; in rk3066_hdmi_i2c_init() local95 ddc_bus_freq = (hdmi->tmdsclk >> 2) / HDMI_SCL_RATE; in rk3066_hdmi_i2c_init()97 hdmi_writeb(hdmi, HDMI_DDC_BUS_FREQ_L, ddc_bus_freq & 0xFF); in rk3066_hdmi_i2c_init()98 hdmi_writeb(hdmi, HDMI_DDC_BUS_FREQ_H, (ddc_bus_freq >> 8) & 0xFF); in rk3066_hdmi_i2c_init()
184 unsigned long long ddc_bus_freq = rate >> 2; in inno_hdmi_i2c_init() local186 do_div(ddc_bus_freq, HDMI_SCL_RATE); in inno_hdmi_i2c_init()188 hdmi_writeb(hdmi, DDC_BUS_FREQ_L, ddc_bus_freq & 0xFF); in inno_hdmi_i2c_init()189 hdmi_writeb(hdmi, DDC_BUS_FREQ_H, (ddc_bus_freq >> 8) & 0xFF); in inno_hdmi_i2c_init()