Home
last modified time | relevance | path

Searched refs:best_i (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/cpufreq/
H A Dpowernow-k6.c101 static void powernow_k6_set_cpu_multiplier(unsigned int best_i) in powernow_k6_set_cpu_multiplier() argument
118 outvalue = (1<<12) | (1<<10) | (1<<9) | (index_to_register[best_i]<<5); in powernow_k6_set_cpu_multiplier()
140 unsigned int best_i) in powernow_k6_target() argument
143 if (clock_ratio[best_i].driver_data > max_multiplier) { in powernow_k6_target()
148 powernow_k6_set_cpu_multiplier(best_i); in powernow_k6_target()
/linux/drivers/video/fbdev/geode/
H A Dvideo_gx.c120 int i, best_i; in gx_set_dclk_frequency() local
135 best_i = 0; in gx_set_dclk_frequency()
141 best_i = i; in gx_set_dclk_frequency()
150 dotpll |= (u64)pll_table[best_i].dotpll_value << 32; in gx_set_dclk_frequency()
160 sys_rstpll |= pll_table[best_i].sys_rstpll_bits; in gx_set_dclk_frequency()
/linux/drivers/clk/meson/
H A Dclk-dualdiv.c69 unsigned int i, best_i = 0; in __dualdiv_get_setting() local
82 best_i = i; in __dualdiv_get_setting()
86 return (struct meson_clk_dualdiv_param *)&table[best_i]; in __dualdiv_get_setting()
/linux/sound/soc/codecs/
H A Dtlv320aic23.c244 int best_i = -1; in find_rate() local
275 best_i = i; in find_rate()
284 best_i = i; in find_rate()
290 return (best_j << 2) | best_i | (best_div << TLV320AIC23_CLKIN_SHIFT); in find_rate()
/linux/drivers/clk/ingenic/
H A Dcgu.c441 unsigned int i, best_i = 0, best = (unsigned int)-1; in ingenic_clk_calc_hw_div() local
448 best_i = i; in ingenic_clk_calc_hw_div()
455 return best_i; in ingenic_clk_calc_hw_div()
/linux/drivers/media/tuners/
H A Dxc4000.c620 int i, best_i = -1; in seek_firmware() local
650 best_i = i; in seek_firmware()
655 if (best_i < 0) { in seek_firmware()
664 i = best_i; in seek_firmware()
H A Dxc2028.c435 int i, best_i = -1, best_nr_matches = 0; in seek_firmware() local
493 best_i = i; in seek_firmware()
503 i = best_i; in seek_firmware()
/linux/net/ceph/
H A Dosd_client.c1580 int best_i, best_locality; in pick_closest_replica() local
1591 best_i = i; in pick_closest_replica()
1597 acting->osds[best_i], best_locality, acting->primary); in pick_closest_replica()
1598 return best_i; in pick_closest_replica()