Searched refs:max_clk_div (Results 1 – 4 of 4) sorted by relevance
734 int max_clk_div; in calc_extif_timings() local737 hwa742.extif->get_clk_info(&hwa742.extif_clk_period, &max_clk_div); in calc_extif_timings()738 for (div = 1; div < max_clk_div; div++) { in calc_extif_timings()742 if (div >= max_clk_div) in calc_extif_timings()747 for (div = 1; div < max_clk_div; div++) { in calc_extif_timings()752 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()
880 unsigned int max_clk_div; in mtk_i2c_set_speed() local887 max_clk_div = MAX_CLOCK_DIV_5BITS; in mtk_i2c_set_speed()889 max_clk_div = MAX_CLOCK_DIV_8BITS; in mtk_i2c_set_speed()891 max_clk_div = 1; in mtk_i2c_set_speed()893 for (clk_div = 1; clk_div <= max_clk_div; clk_div++) { in mtk_i2c_set_speed()