Home
last modified time | relevance | path

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

/linux/drivers/mmc/host/
A Dsdhci-of-esdhc.c90 u32 div_ratio; member
676 esdhc->div_ratio = pre_div * div; in esdhc_of_set_clock()
683 if (esdhc->div_ratio <= 4) { in esdhc_of_set_clock()
686 } else if (esdhc->div_ratio <= 8) { in esdhc_of_set_clock()
689 } else if (esdhc->div_ratio <= 12) { in esdhc_of_set_clock()
696 esdhc->div_ratio = pre_div * div; in esdhc_of_set_clock()
998 *window_start = 5 * esdhc->div_ratio; in esdhc_prepare_sw_tuning()
999 *window_end = 3 * esdhc->div_ratio; in esdhc_prepare_sw_tuning()
1018 *window_end = 4 * esdhc->div_ratio; in esdhc_prepare_sw_tuning()
1021 *window_end = 3 * esdhc->div_ratio; in esdhc_prepare_sw_tuning()
[all …]
/linux/drivers/media/cec/platform/s5p/
A 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/sound/soc/intel/skylake/
A Dskl-nhlt.c299 u32 clkdiv, div_ratio; in skl_get_mclk() local
320 div_ratio = 1; in skl_get_mclk()
324 div_ratio = clkdiv + 2; in skl_get_mclk()
331 mclk[id].rate_cfg[0].rate = parent->rate/div_ratio; in skl_get_mclk()
/linux/drivers/gpu/ipu-v3/
A 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/drivers/net/fddi/skfp/
A Dsmt.c100 static int div_ratio(u_long upper, u_long lower);
300 mib->fddiMACFrameErrorRatio = div_ratio(upper,lower) ; in smt_event()
317 mib->fddiMACNotCopiedRatio = div_ratio(upper,lower) ; in smt_event()
444 static int div_ratio(u_long upper, u_long lower) in div_ratio() function

Completed in 13 milliseconds