Searched refs:best_idx (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/power/supply/ |
D | ingenic-battery.c | 64 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.6.21/drivers/clk/ |
D | clk-tps68470.c | 132 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.6.21/drivers/gpu/drm/ |
D | drm_suballoc.c | 229 unsigned int i, best_idx; in drm_suballoc_next_hole() local 274 best_idx = i; in drm_suballoc_next_hole() 280 ++tries[best_idx]; in drm_suballoc_next_hole()
|
/linux-6.6.21/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 743 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.6.21/scripts/ |
D | kallsyms.c | 389 unsigned int best_idx[256]; in write_src() local 475 best_idx[i] = off; in write_src() 484 printf("\t.short\t%d\n", best_idx[i]); in write_src()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | io_apic.c | 1148 int irq, i, best_ioapic = -1, best_idx = -1; in IO_APIC_get_PCI_irq_vector() local 1182 best_idx = i; in IO_APIC_get_PCI_irq_vector() 1191 if (best_idx < 0) { in IO_APIC_get_PCI_irq_vector() 1192 best_idx = i; in IO_APIC_get_PCI_irq_vector() 1196 if (best_idx < 0) in IO_APIC_get_PCI_irq_vector() 1200 return pin_2_irq(best_idx, best_ioapic, mp_irqs[best_idx].dstirq, in IO_APIC_get_PCI_irq_vector()
|
/linux-6.6.21/drivers/clk/bcm/ |
D | clk-iproc-pll.c | 504 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.6.21/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 2232 int r, i, best_idx, len; in omapfb_find_best_mode() local 2254 best_idx = -1; in omapfb_find_best_mode() 2277 best_idx = i; in omapfb_find_best_mode() 2282 if (best_idx == -1) { in omapfb_find_best_mode() 2287 fb_videomode_to_omap_timings(&specs->modedb[best_idx], display, in omapfb_find_best_mode()
|