Home
last modified time | relevance | path

Searched defs:best_diff (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/drivers/clk/at91/
H A Dclk-peripheral.c257 u32 shift, long *best_diff, in clk_sam9x5_peripheral_best_diff()
279 long best_diff = LONG_MIN; in clk_sam9x5_peripheral_determine_rate() local
341 unsigned long best_diff; in clk_sam9x5_peripheral_round_rate() local
H A Dclk-generated.c111 int *best_diff, long *best_rate) in clk_generated_best_diff()
141 int best_diff = -1; in clk_generated_determine_rate() local
H A Dclk-audio-pll.c283 int best_diff = -1; in clk_audio_pll_pad_round_rate() local
333 int best_diff = -1; in clk_audio_pll_pmc_round_rate() local
H A Dclk-master.c258 long best_diff = -1; in clk_master_div_notifier_fn() local
357 long *best_diff, in clk_sama7g5_master_best_diff()
591 long best_rate = LONG_MIN, best_diff = LONG_MIN; in clk_sama7g5_master_determine_rate() local
H A Dclk-usb.c63 int best_diff = -1; in at91sam9x5_clk_usb_determine_rate() local
H A Dclk-sam9x60-pll.c444 long best_diff = -1, best_rate = -EINVAL; in sam9x60_div_pll_compute_div() local
/openbmc/u-boot/drivers/clk/at91/
H A Dclk-usb.c51 int tmp_diff, best_diff = -1; in at91_usb_clk_set_rate() local
H A Dclk-generated.c83 int tmp_diff, best_diff = -1; in generic_clk_set_rate() local
/openbmc/u-boot/drivers/video/sunxi/
H A Dlcdc.c215 int best_n = 0, best_m = 0, best_diff = 0x0FFFFFFF; in lcdc_pll_set() local
H A Dsunxi_dw_hdmi.c213 int best_n = 0, best_m = 0, best_div = 0, best_diff = 0x0FFFFFFF; in sunxi_dw_hdmi_pll_set() local
/openbmc/linux/drivers/gpu/drm/mcde/
H A Dmcde_clk_div.c50 unsigned long best_diff = ~0ul; in mcde_clk_div_choose_div() local
/openbmc/linux/drivers/clk/
H A Dclk-tps68470.c131 long diff, best_diff = LONG_MAX; in tps68470_clk_cfg_lookup() local
H A Dclk-cdce706.c310 unsigned long best_diff = rate; in cdce706_divider_determine_rate() local
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dclock_sun6i.c222 unsigned best_k = 0, best_m = 0, best_n = 0, best_diff = 0xffffffff; in clock_set_mipi_pll() local
/openbmc/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-clk.c127 int best_diff = -1; in isc_clk_determine_rate() local
/openbmc/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-isc-clk.c127 int best_diff = -1; in isc_clk_determine_rate() local
/openbmc/linux/drivers/mfd/
H A Dsm501.c408 long *best_diff) in sm501_calc_clock()
454 long best_diff = 999999999; in sm501_calc_pll() local
491 long best_diff = 999999999; in sm501_select_clock() local
/openbmc/linux/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c420 long diff, best_diff; in SavageCalcClock() local
467 long diff, best_diff; in common_calc_clock() local
/openbmc/linux/drivers/gpu/drm/pl111/
H A Dpl111_display.c452 unsigned long best_diff = ~0ul; in pl111_clk_div_choose_div() local
/openbmc/linux/drivers/clocksource/
H A Dtimer-microchip-pit64b.c294 unsigned long pclk_rate, diff = 0, best_diff = ULONG_MAX; in mchp_pit64b_init_mode() local
/openbmc/linux/drivers/media/i2c/
H A Dov772x.c623 unsigned int best_diff; in ov772x_select_fps() local
647 unsigned int best_diff; in ov772x_set_frame_rate() local
959 u32 best_diff = UINT_MAX; in ov772x_select_win() local
/openbmc/u-boot/drivers/clk/
H A Dclk_stm32f.c502 u32 best_div, best_diff, diff; in stm32_set_rate() local
/openbmc/linux/drivers/clk/bcm/
H A Dclk-iproc-pll.c503 unsigned long diff, best_diff; in iproc_pll_determine_rate() local
/openbmc/linux/drivers/peci/controller/
H A Dpeci-aspeed.c315 unsigned long best_diff = ~0ul, diff; in clk_aspeed_peci_find_div_values() local
/openbmc/linux/sound/core/
H A Dpcm_lib.c816 int best_diff; in snd_interval_ratnum() local
934 unsigned int best_num, best_diff, best_den; in snd_interval_ratden() local

12