Searched refs:div_ratio (Results 1 – 4 of 4) sorted by relevance
28 u32 div_ratio, div_val; in s5p_cec_set_divider() local31 div_ratio = S5P_HDMI_FIN / CEC_DIV_RATIO - 1; in s5p_cec_set_divider()38 reg = (reg & ~(0x3FF << 16)) | (div_ratio << 16); in s5p_cec_set_divider()
393 u32 clkdiv, div_ratio; in skl_get_mclk() local414 div_ratio = 1; in skl_get_mclk()418 div_ratio = clkdiv + 2; in skl_get_mclk()425 mclk[id].rate_cfg[0].rate = parent->rate/div_ratio; in skl_get_mclk()
205 int div_ratio; in ipu_csi_set_testgen_mclk() local207 div_ratio = (ipu_clk / pixel_clk) - 1; in ipu_csi_set_testgen_mclk()209 if (div_ratio > 0xFF || div_ratio < 0) { in ipu_csi_set_testgen_mclk()217 ipu_csi_write(csi, temp | (div_ratio << CSI_SENS_CONF_DIVRATIO_SHIFT), in ipu_csi_set_testgen_mclk()
108 static int div_ratio(u_long upper, u_long lower);308 mib->fddiMACFrameErrorRatio = div_ratio(upper,lower) ; in smt_event()325 mib->fddiMACNotCopiedRatio = div_ratio(upper,lower) ; in smt_event()452 static int div_ratio(u_long upper, u_long lower) in div_ratio() function