Searched refs:div_ratio (Results 1 – 2 of 2) sorted by relevance
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()
109 static int div_ratio(u_long upper, u_long lower);309 mib->fddiMACFrameErrorRatio = div_ratio(upper,lower) ; in smt_event()326 mib->fddiMACNotCopiedRatio = div_ratio(upper,lower) ; in smt_event()453 static int div_ratio(u_long upper, u_long lower) in div_ratio() function