Home
last modified time | relevance | path

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

/drivers/gpu/ipu-v3/
Dipu-csi.c205 int div_ratio; in ipu_csi_set_testgen_mclk() local
207 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()
/drivers/net/fddi/skfp/
Dsmt.c109 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