Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/s5p-cec/
Dexynos_hdmi_cecctrl.c25 u32 div_ratio, div_val; in s5p_cec_set_divider() local
28 div_ratio = S5P_HDMI_FIN / CEC_DIV_RATIO - 1; in s5p_cec_set_divider()
35 reg = (reg & ~(0x3FF << 16)) | (div_ratio << 16); in s5p_cec_set_divider()
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-nhlt.c298 u32 clkdiv, div_ratio; in skl_get_mclk() local
319 div_ratio = 1; in skl_get_mclk()
323 div_ratio = clkdiv + 2; in skl_get_mclk()
330 mclk[id].rate_cfg[0].rate = parent->rate/div_ratio; in skl_get_mclk()
/Linux-v5.4/drivers/gpu/ipu-v3/
Dipu-csi.c196 int div_ratio; in ipu_csi_set_testgen_mclk() local
198 div_ratio = (ipu_clk / pixel_clk) - 1; in ipu_csi_set_testgen_mclk()
200 if (div_ratio > 0xFF || div_ratio < 0) { in ipu_csi_set_testgen_mclk()
208 ipu_csi_write(csi, temp | (div_ratio << CSI_SENS_CONF_DIVRATIO_SHIFT), in ipu_csi_set_testgen_mclk()
/Linux-v5.4/drivers/mmc/host/
Dsdhci-of-esdhc.c84 u32 div_ratio; member
628 esdhc->div_ratio = pre_div * div; in esdhc_of_set_clock()
871 (3 * esdhc->div_ratio) | ((5 * esdhc->div_ratio) << 8); in esdhc_execute_tuning()
/Linux-v5.4/drivers/net/fddi/skfp/
Dsmt.c104 static int div_ratio(u_long upper, u_long lower);
304 mib->fddiMACFrameErrorRatio = div_ratio(upper,lower) ; in smt_event()
321 mib->fddiMACNotCopiedRatio = div_ratio(upper,lower) ; in smt_event()
448 static int div_ratio(u_long upper, u_long lower) in div_ratio() function