Searched refs:div_ratio (Results 1 – 5 of 5) sorted by relevance
90 u32 div_ratio; member680 esdhc->div_ratio = pre_div * div; in esdhc_of_set_clock()687 if (esdhc->div_ratio <= 4) { in esdhc_of_set_clock()690 } else if (esdhc->div_ratio <= 8) { in esdhc_of_set_clock()693 } else if (esdhc->div_ratio <= 12) { in esdhc_of_set_clock()700 esdhc->div_ratio = pre_div * div; in esdhc_of_set_clock()703 host->mmc->actual_clock = host->max_clk / esdhc->div_ratio; in esdhc_of_set_clock()1003 *window_start = 5 * esdhc->div_ratio; in esdhc_prepare_sw_tuning()1004 *window_end = 3 * esdhc->div_ratio; in esdhc_prepare_sw_tuning()1021 if (abs(start_ptr - end_ptr) > (4 * esdhc->div_ratio + 2)) { in esdhc_prepare_sw_tuning()[all …]
211 u32 clkdiv, div_ratio; in skl_get_mclk() local232 div_ratio = 1; in skl_get_mclk()236 div_ratio = clkdiv + 2; in skl_get_mclk()243 mclk[id].rate_cfg[0].rate = parent->rate/div_ratio; in skl_get_mclk()
25 u32 div_ratio, div_val; in s5p_cec_set_divider() local28 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()
196 int div_ratio; in ipu_csi_set_testgen_mclk() local198 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()
100 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