Home
last modified time | relevance | path

Searched refs:best_pre (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dimx_lpi2c.c274 u32 preescale = 0, best_pre = 0, clkhi = 0; in bus_i2c_set_bus_speed() local
311 best_pre = preescale; in bus_i2c_set_bus_speed()
330 if (best_pre == (1 << i)) { in bus_i2c_set_bus_speed()
331 best_pre = i; in bus_i2c_set_bus_speed()
337 writel(val | LPI2C_MCFGR1_PRESCALE(best_pre), &regs->mcfgr1); in bus_i2c_set_bus_speed()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dtc358767.c512 int i_pre, best_pre = 1; in tc_pxl_pll_en() local
569 best_pre = i_pre; in tc_pxl_pll_en()
588 ext_div[best_pre], best_div, best_mul, ext_div[best_post]); in tc_pxl_pll_en()
591 if (refclk / ext_div[best_pre] / best_div * best_mul >= 300000000) in tc_pxl_pll_en()
605 pxl_pllparam |= ext_div[best_pre] << 20; /* External Pre-divider */ in tc_pxl_pll_en()