Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/s5p-cec/
Dexynos_hdmi_cecctrl.c28 u32 div_ratio, div_val; in s5p_cec_set_divider() local
31 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()
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-nhlt.c393 u32 clkdiv, div_ratio; in skl_get_mclk() local
414 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()
/Linux-v4.19/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()
/Linux-v4.19/drivers/net/fddi/skfp/
Dsmt.c108 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