Home
last modified time | relevance | path

Searched refs:best (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/openbmc/linux/lib/raid6/
H A Dalgos.c144 if (!best || (*algo)->priority > best->priority) in raid6_choose_recov()
146 best = *algo; in raid6_choose_recov()
148 if (best) { in raid6_choose_recov()
156 return best; in raid6_choose_recov()
168 if (!best || (*algo)->priority >= best->priority) { in raid6_choose_gen()
173 best = *algo; in raid6_choose_gen()
192 best = *algo; in raid6_choose_gen()
200 if (!best) { in raid6_choose_gen()
209 best->name); in raid6_choose_gen()
214 best->name, in raid6_choose_gen()
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dcpuid.h112 struct kvm_cpuid_entry2 *best; in guest_cpuid_is_amd_or_hygon() local
115 return best && in guest_cpuid_is_amd_or_hygon()
116 (is_guest_vendor_amd(best->ebx, best->ecx, best->edx) || in guest_cpuid_is_amd_or_hygon()
117 is_guest_vendor_hygon(best->ebx, best->ecx, best->edx)); in guest_cpuid_is_amd_or_hygon()
122 struct kvm_cpuid_entry2 *best; in guest_cpuid_is_intel() local
125 return best && is_guest_vendor_intel(best->ebx, best->ecx, best->edx); in guest_cpuid_is_intel()
143 if (!best) in guest_cpuid_family()
146 return x86_family(best->eax); in guest_cpuid_family()
154 if (!best) in guest_cpuid_model()
157 return x86_model(best->eax); in guest_cpuid_model()
[all …]
H A Dcpuid.c146 if (best) { in kvm_check_cpuid()
158 if (!best) in kvm_check_cpuid()
161 xfeatures = best->eax | ((u64)best->edx << 32); in kvm_check_cpuid()
246 if (best) in kvm_update_pv_runtime()
259 if (!best) in cpuid_get_supported_xcr0()
271 if (best) { in __kvm_update_cpuid_runtime()
287 if (best) in __kvm_update_cpuid_runtime()
291 if (best && (cpuid_entry_has(best, X86_FEATURE_XSAVES) || in __kvm_update_cpuid_runtime()
302 if (best) in __kvm_update_cpuid_runtime()
391 if (!best || best->eax < 0x80000008) in cpuid_query_maxphyaddr()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dshadow.c186 }, *mthd, *best = NULL; in nvbios_shadow() local
199 best = mthd; in nvbios_shadow()
206 if (!best && (best = mthd)) { in nvbios_shadow()
212 if (!best->score) { in nvbios_shadow()
220 if (!best || !best->score) { in nvbios_shadow()
225 best = mthd; in nvbios_shadow()
233 if (mthd != best) in nvbios_shadow()
237 if (!best->score) { in nvbios_shadow()
243 best->func->name : source); in nvbios_shadow()
244 bios->data = best->data; in nvbios_shadow()
[all …]
/openbmc/linux/drivers/usb/core/
H A Dgeneric.c61 struct usb_host_config *c, *best; in usb_choose_configuration() local
66 best = NULL; in usb_choose_configuration()
130 best = c; in usb_choose_configuration()
136 best = c; in usb_choose_configuration()
156 best = c; in usb_choose_configuration()
168 best = c; in usb_choose_configuration()
174 else if (!best) in usb_choose_configuration()
175 best = c; in usb_choose_configuration()
183 if (best) { in usb_choose_configuration()
184 i = best->desc.bConfigurationValue; in usb_choose_configuration()
/openbmc/linux/sound/pci/emu10k1/
H A Demu10k1_callback.c84 struct best_voice best[V_END]; in snd_emu10k1_synth_get_voice() local
91 if (best[i].voice >= 0) { in snd_emu10k1_synth_get_voice()
219 best[i].voice = -1; in lookup_voices()
235 bp = best + V_FREE; in lookup_voices()
237 bp = best + V_OFF; in lookup_voices()
241 bp = best + V_RELEASED; in lookup_voices()
245 bp = best + V_OFF; in lookup_voices()
251 bp = best + V_PLAYING; in lookup_voices()
256 if (bp != best + V_OFF && bp != best + V_FREE && in lookup_voices()
260 bp = best + V_OFF; in lookup_voices()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dtinfoil.py45 best = tinfoil.find_best_provider(testrecipe)
46 if not best:
48 rd = tinfoil.parse_recipe_file(best[3])
55 best = tinfoil.find_best_provider(testrecipe)
56 if not best:
58 rd = tinfoil.parse_recipe_file(best[3])
66 best = tinfoil.find_best_provider(testrecipe)
67 if not best:
69 rd = tinfoil.parse_recipe_file(best[3])
89 if not best:
[all …]
/openbmc/linux/include/linux/
H A Dcpufreq.h819 best = idx; in cpufreq_table_find_index_al()
822 return best; in cpufreq_table_find_index_al()
842 best = idx; in cpufreq_table_find_index_dl()
850 return best; in cpufreq_table_find_index_dl()
853 return best; in cpufreq_table_find_index_dl()
888 best = idx; in cpufreq_table_find_index_ah()
899 return best; in cpufreq_table_find_index_ah()
918 best = idx; in cpufreq_table_find_index_dh()
921 return best; in cpufreq_table_find_index_dh()
971 return best; in cpufreq_table_find_index_ac()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_vma_manager.c144 struct drm_mm_node *node, *best; in drm_vma_offset_lookup_locked() local
149 best = NULL; in drm_vma_offset_lookup_locked()
156 best = node; in drm_vma_offset_lookup_locked()
165 if (best) { in drm_vma_offset_lookup_locked()
166 offset = best->start + best->size; in drm_vma_offset_lookup_locked()
168 best = NULL; in drm_vma_offset_lookup_locked()
171 if (!best) in drm_vma_offset_lookup_locked()
174 return container_of(best, struct drm_vma_offset_node, vm_node); in drm_vma_offset_lookup_locked()
/openbmc/linux/fs/jffs2/
H A Dcompr.c35 struct jffs2_compressor *best, uint32_t size, uint32_t bestsize) in jffs2_is_best_compression() argument
45 if ((best->compr != JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression()
154 struct jffs2_compressor *this, *best=NULL; in jffs2_compress() local
214 best = this; in jffs2_compress()
221 output_buf = best->compr_buf; in jffs2_compress()
222 best->compr_buf = NULL; in jffs2_compress()
223 best->compr_buf_size = 0; in jffs2_compress()
224 best->stat_compr_blocks++; in jffs2_compress()
225 best->stat_compr_orig_size += best_slen; in jffs2_compress()
226 best->stat_compr_new_size += best_dlen; in jffs2_compress()
[all …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dmodedb.c780 best = -1; in fb_find_mode()
800 best = i; in fb_find_mode()
810 best = -1; in fb_find_mode()
827 best = i; in fb_find_mode()
985 return best; in fb_find_best_mode()
1024 return best; in fb_find_nearest_mode()
1169 best = md; in fb_find_best_display()
1182 best = m; in fb_find_best_display()
1189 best = md; in fb_find_best_display()
1194 best = m1; in fb_find_best_display()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-ps-queue-length.c194 struct path_info *pi = NULL, *best = NULL; in ql_select_path() local
203 if (!best || in ql_select_path()
204 (atomic_read(&pi->qlen) < atomic_read(&best->qlen))) in ql_select_path()
205 best = pi; in ql_select_path()
207 if (!atomic_read(&best->qlen)) in ql_select_path()
211 if (!best) in ql_select_path()
215 list_move_tail(&best->list, &s->valid_paths); in ql_select_path()
217 ret = best->path; in ql_select_path()
H A Ddm-ps-service-time.c280 struct path_info *pi = NULL, *best = NULL; in st_select_path() local
289 if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) in st_select_path()
290 best = pi; in st_select_path()
292 if (!best) in st_select_path()
296 list_move_tail(&best->list, &s->valid_paths); in st_select_path()
298 ret = best->path; in st_select_path()
/openbmc/linux/drivers/net/bonding/
H A Dbond_3ad.c1599 if (!best) in ad_agg_selection_test()
1704 best = ad_agg_selection_test(best, agg); in ad_agg_selection_logic()
1707 if (best && in ad_agg_selection_logic()
1727 if (best && (best == active)) { in ad_agg_selection_logic()
1735 best->slave ? best->slave->dev->name : "NULL", in ad_agg_selection_logic()
1739 best->is_individual, best->is_active); in ad_agg_selection_logic()
1741 best->slave ? best->slave->dev->name : "NULL", in ad_agg_selection_logic()
1742 best->lag_ports, best->slave); in ad_agg_selection_logic()
1761 best->slave ? best->slave->dev->name : "NULL", in ad_agg_selection_logic()
1764 best->slave ? best->slave->dev->name : "NULL", in ad_agg_selection_logic()
[all …]
/openbmc/linux/net/dccp/
H A Dqpolicy.c38 struct sk_buff *skb, *best = NULL; in qpolicy_prio_best_skb() local
41 if (best == NULL || skb->priority > best->priority) in qpolicy_prio_best_skb()
42 best = skb; in qpolicy_prio_best_skb()
43 return best; in qpolicy_prio_best_skb()
/openbmc/linux/drivers/acpi/numa/
H A Dhmat.c542 if (!*best || *best > value) { in hmat_update_best()
543 *best = value; in hmat_update_best()
550 if (!*best || *best < value) { in hmat_update_best()
551 *best = value; in hmat_update_best()
591 u32 best = 0; in hmat_register_target_initiators() local
631 best = 0; in hmat_register_target_initiators()
645 if (best) in hmat_register_target_initiators()
647 best, 0); in hmat_register_target_initiators()
666 best = 0; in hmat_register_target_initiators()
680 if (value != best) in hmat_register_target_initiators()
[all …]
/openbmc/linux/arch/sh/kernel/
H A Dunwinder.c68 struct unwinder *best; in select_unwinder() local
73 best = list_entry(unwinder_list.next, struct unwinder, list); in select_unwinder()
74 if (best == curr_unwinder) in select_unwinder()
77 return best; in select_unwinder()
/openbmc/linux/sound/isa/sb/
H A Demu8000_callback.c156 struct best { in get_voice() struct
159 } best[END]; in get_voice() local
160 struct best *bp; in get_voice()
166 best[i].voice = -1; in get_voice()
179 bp = best + OFF; in get_voice()
182 bp = best + RELEASED; in get_voice()
185 bp = best + OFF; in get_voice()
188 bp = best + PLAYING; in get_voice()
197 bp = best + OFF; in get_voice()
207 if (best[i].voice >= 0) { in get_voice()
[all …]
/openbmc/linux/drivers/clk/rockchip/
H A Dclk-half-divider.c14 unsigned long best, unsigned long flags) in _is_best_half_div() argument
17 return abs(rate - now) < abs(rate - best); in _is_best_half_div()
19 return now <= rate && now > best; in _is_best_half_div()
40 unsigned long parent_rate, best = 0, now, maxdiv; in clk_half_divider_bestdiv() local
80 if (_is_best_half_div(rate, now, best, flags)) { in clk_half_divider_bestdiv()
82 best = now; in clk_half_divider_bestdiv()
/openbmc/qemu/hw/m68k/
H A Dmcf_intc.c40 int best; in mcf_intc_update() local
45 best = 64; in mcf_intc_update()
50 best = i; in mcf_intc_update()
55 s->active_vector = ((best == 64) ? 24 : (best + 64)); in mcf_intc_update()
/openbmc/linux/sound/soc/codecs/
H A Dwm9081.c1054 best = 0; in wm9081_hw_params()
1061 best = i; in wm9081_hw_params()
1066 clk_sys_rates[best].ratio); in wm9081_hw_params()
1071 best = 0; in wm9081_hw_params()
1077 best = i; in wm9081_hw_params()
1082 sample_rates[best].rate); in wm9081_hw_params()
1087 best = 0; in wm9081_hw_params()
1095 best = i; in wm9081_hw_params()
1102 aif3 |= bclk_divs[best].bclk_div; in wm9081_hw_params()
1114 best = 0; in wm9081_hw_params()
[all …]
/openbmc/linux/drivers/clk/versatile/
H A Dicst.c51 unsigned int i = 0, rd, best = (unsigned int)-1; in icst_hz_to_vco() local
90 if ((unsigned)f_diff < best) { in icst_hz_to_vco()
95 best = f_diff; in icst_hz_to_vco()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_crypto.c55 unsigned long best = ~0; in qat_crypto_get_instance_node() local
65 if (best > ctr) { in qat_crypto_get_instance_node()
67 best = ctr; in qat_crypto_get_instance_node()
87 best = ~0; in qat_crypto_get_instance_node()
92 if (best > ctr) { in qat_crypto_get_instance_node()
94 best = ctr; in qat_crypto_get_instance_node()
H A Dqat_compression.c53 unsigned long best = ~0; in qat_compression_get_instance_node() local
67 if (best > ctr) { in qat_compression_get_instance_node()
69 best = ctr; in qat_compression_get_instance_node()
92 best = ~0; in qat_compression_get_instance_node()
99 if (best > ctr) { in qat_compression_get_instance_node()
101 best = ctr; in qat_compression_get_instance_node()
/openbmc/u-boot/doc/
H A DREADME.440-DDR-performance1 AMCC suggested to set the PMU bit to 0 for best performace on the
21 the *best* time for each is used.
30 For best results, please be sure you know the precision of your system
62 the *best* time for each is used.
71 For best results, please be sure you know the precision of your system

12345678910>>...26