Home
last modified time | relevance | path

Searched refs:best_idx (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/power/supply/
Dingenic-battery.c64 int scale_len, scale_type, best_idx = -1, best_mV, max_raw, i, ret; in ingenic_battery_set_scale() local
91 if (best_idx >= 0 && scale_mV > best_mV) in ingenic_battery_set_scale()
95 best_idx = i; in ingenic_battery_set_scale()
98 if (best_idx < 0) { in ingenic_battery_set_scale()
106 scale_raw[best_idx], in ingenic_battery_set_scale()
107 scale_raw[best_idx + 1], in ingenic_battery_set_scale()
/linux-6.1.9/drivers/clk/
Dclk-tps68470.c132 unsigned int i, best_idx = 0; in tps68470_clk_cfg_lookup() local
142 best_idx = i; in tps68470_clk_cfg_lookup()
146 return best_idx; in tps68470_clk_cfg_lookup()
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayout.c743 u32 start_idx, u32 *best_idx, in ff_layout_choose_ds_for_read() argument
762 *best_idx = idx; in ff_layout_choose_ds_for_read()
771 u32 start_idx, u32 *best_idx) in ff_layout_choose_any_ds_for_read() argument
773 return ff_layout_choose_ds_for_read(lseg, start_idx, best_idx, false); in ff_layout_choose_any_ds_for_read()
778 u32 start_idx, u32 *best_idx) in ff_layout_choose_valid_ds_for_read() argument
780 return ff_layout_choose_ds_for_read(lseg, start_idx, best_idx, true); in ff_layout_choose_valid_ds_for_read()
785 u32 start_idx, u32 *best_idx) in ff_layout_choose_best_ds_for_read() argument
789 ds = ff_layout_choose_valid_ds_for_read(lseg, start_idx, best_idx); in ff_layout_choose_best_ds_for_read()
792 return ff_layout_choose_any_ds_for_read(lseg, start_idx, best_idx); in ff_layout_choose_best_ds_for_read()
797 u32 *best_idx) in ff_layout_get_ds_for_read() argument
[all …]
/linux-6.1.9/scripts/
Dkallsyms.c416 unsigned int best_idx[256]; in write_src() local
541 best_idx[i] = off; in write_src()
550 printf("\t.short\t%d\n", best_idx[i]); in write_src()
/linux-6.1.9/arch/x86/kernel/apic/
Dio_apic.c1147 int irq, i, best_ioapic = -1, best_idx = -1; in IO_APIC_get_PCI_irq_vector() local
1181 best_idx = i; in IO_APIC_get_PCI_irq_vector()
1190 if (best_idx < 0) { in IO_APIC_get_PCI_irq_vector()
1191 best_idx = i; in IO_APIC_get_PCI_irq_vector()
1195 if (best_idx < 0) in IO_APIC_get_PCI_irq_vector()
1199 return pin_2_irq(best_idx, best_ioapic, mp_irqs[best_idx].dstirq, in IO_APIC_get_PCI_irq_vector()
/linux-6.1.9/drivers/clk/bcm/
Dclk-iproc-pll.c504 unsigned int best_idx = 0; in iproc_pll_determine_rate() local
530 best_idx = i; in iproc_pll_determine_rate()
537 req->rate = pll->vco_param[best_idx].rate; in iproc_pll_determine_rate()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c2233 int r, i, best_idx, len; in omapfb_find_best_mode() local
2255 best_idx = -1; in omapfb_find_best_mode()
2278 best_idx = i; in omapfb_find_best_mode()
2283 if (best_idx == -1) { in omapfb_find_best_mode()
2288 fb_videomode_to_omap_timings(&specs->modedb[best_idx], display, in omapfb_find_best_mode()