Searched refs:max_clk_div (Results 1 – 4 of 4) sorted by relevance
735 int max_clk_div; in calc_extif_timings() local738 hwa742.extif->get_clk_info(&hwa742.extif_clk_period, &max_clk_div); in calc_extif_timings()739 for (div = 1; div < max_clk_div; div++) { in calc_extif_timings()743 if (div >= max_clk_div) in calc_extif_timings()748 for (div = 1; div < max_clk_div; div++) { in calc_extif_timings()753 if (div >= max_clk_div) in calc_extif_timings()
113 void (*get_clk_info) (u32 *clk_period, u32 *max_clk_div);
351 static void sossi_get_clk_info(u32 *clk_period, u32 *max_clk_div) in sossi_get_clk_info() argument354 *max_clk_div = 8; in sossi_get_clk_info()
812 unsigned int max_clk_div; in mtk_i2c_set_speed() local819 max_clk_div = MAX_CLOCK_DIV_5BITS; in mtk_i2c_set_speed()821 max_clk_div = MAX_CLOCK_DIV_8BITS; in mtk_i2c_set_speed()823 max_clk_div = 1; in mtk_i2c_set_speed()825 for (clk_div = 1; clk_div <= max_clk_div; clk_div++) { in mtk_i2c_set_speed()