Home
last modified time | relevance | path

Searched refs:best_div (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/clk/at91/
Dclk-usb.c52 u32 div, best_div = 0; in at91_usb_clk_set_rate() local
75 best_div = div - 1; in at91_usb_clk_set_rate()
89 best_source.dev->name, best_rate, best_div); in at91_usb_clk_set_rate()
96 AT91_PMC_USB_DIV_(best_div); in at91_usb_clk_set_rate()
Dclk-generated.c84 u32 div, best_div = 0; in generic_clk_set_rate() local
107 best_div = div - 1; in generic_clk_set_rate()
122 best_parent.dev->name, best_rate, best_div); in generic_clk_set_rate()
133 AT91_PMC_PCR_GCKDIV_(best_div) | in generic_clk_set_rate()
/external/u-boot/drivers/clk/rockchip/
Dclk_rk3368.c201 u32 *best_div) in rk3368_mmc_find_best_rate_and_parent() argument
240 *best_div = div - 1; in rk3368_mmc_find_best_rate_and_parent()
244 __func__, *best_mux, *best_div, best_rate); in rk3368_mmc_find_best_rate_and_parent()
/external/u-boot/drivers/clk/
Dclk_stm32f.c502 u32 best_div, best_diff, diff; in stm32_set_rate() local
521 best_div = pllsair_rate / rate; in stm32_set_rate()
525 if (best_div == pllsaidivr_table[i]) { in stm32_set_rate()