Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/i810/
H A Di810_dvt.c218 u32 diff = 0, diff_best = 0xFFFFFFFF, i = 0, i_best = 0; in i810fb_find_best_mode() local
226 i_best = i; in i810fb_find_best_mode()
231 return i_best; in i810fb_find_best_mode()
237 u32 i_best = i810fb_find_best_mode(xres, yres, par->regs.pixclock); in i810fb_encode_registers() local
239 par->regs = std_modes[i_best]; in i810fb_encode_registers()
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-cpld.c234 unsigned i_best = 0; in cobalt_cpld_set_freq() local
251 i_best = i; in cobalt_cpld_set_freq()
257 dco = (u64)f_out * multipliers[i_best].mult; in cobalt_cpld_set_freq()
258 n1 = multipliers[i_best].n1 - 1; in cobalt_cpld_set_freq()
259 hsdiv = multipliers[i_best].hsdiv - 4; in cobalt_cpld_set_freq()