/linux-master/arch/m68k/ifpsp060/src/ |
H A D | fpsp.S | 7072 # the best we can. For |X| >= 2^(-16312), the #
|
/linux-master/arch/sh/kernel/ |
H A D | unwinder.c | 59 * select_unwinder - Select the best registered stack unwinder. 63 * Select the stack unwinder with the best rating. This is useful for 68 struct unwinder *best; local 73 best = list_entry(unwinder_list.next, struct unwinder, list); 74 if (best == curr_unwinder) 77 return best;
|
/linux-master/drivers/clk/ |
H A D | clk-multiplier.c | 57 unsigned long best, unsigned long flags) 60 return abs(rate - new) < abs(rate - best); 62 return new >= rate && new < best; 93 * This is the best case for us if we have a 56 __is_best_rate(unsigned long rate, unsigned long new, unsigned long best, unsigned long flags) argument
|
H A D | clk-divider.c | 268 unsigned long best, unsigned long flags) 271 return abs(rate - now) < abs(rate - best); 273 return now <= rate && now > best; 296 unsigned long parent_rate, best = 0, now, maxdiv; local 331 if (_is_best_div(rate, now, best, flags)) { 333 best = now; 267 _is_best_div(unsigned long rate, unsigned long now, unsigned long best, unsigned long flags) argument
|
H A D | clk-sparx5.c | 80 struct s5_pll_conf best; local 98 best = *conf; 105 *conf = best;
|
H A D | clk-wm831x.c | 139 int best = 0; local 144 abs(wm831x_fll_auto_rates[best] - rate)) 145 best = i; 147 return wm831x_fll_auto_rates[best];
|
H A D | clk.c | 633 unsigned long best, unsigned long flags) 636 return abs(now - rate) < abs(best - rate); 638 return now <= rate && now > best; 694 unsigned long best; local 716 best = parent_req.rate; 718 best = clk_core_get_rate_nolock(parent); 720 best = clk_core_get_rate_nolock(core); 723 req->best_parent_rate = best; 724 req->rate = best; 735 unsigned long best local 632 mux_is_better_rate(unsigned long rate, unsigned long now, unsigned long best, unsigned long flags) argument [all...] |
/linux-master/drivers/clk/qcom/ |
H A D | clk-regmap-mux-div.c | 82 static inline bool is_better_rate(unsigned long req, unsigned long best, argument 85 return (req <= new && new < best) || (best < req && best < new);
|
/linux-master/drivers/clk/sunxi/ |
H A D | clk-factors.c | 94 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; local 117 best = parent_rate; 126 req->best_parent_rate = best;
|
/linux-master/drivers/video/fbdev/via/ |
H A D | hw.c | 1376 struct via_pll_config cur, up, down, best = {0, 1, 0}; local 1399 if (f < abs(get_pll_output_frequency(f0, best) - clk)) 1400 best = cur; 1403 return best; 2000 const struct fb_videomode *best; local 2002 best = viafb_get_best_mode(hres, vres, long_refresh); 2003 if (!best) 2006 if (abs(best->refresh - long_refresh) > 3) { 2013 return best->refresh;
|
H A D | viamode.c | 343 const struct fb_videomode *best = NULL; local 350 if (!best || abs(modes[i].refresh - refresh) < 351 abs(best->refresh - refresh)) 352 best = &modes[i]; 355 return best;
|
/linux-master/sound/isa/sb/ |
H A D | emu8000_callback.c | 156 struct best { struct 159 } best[END]; local 160 struct best *bp; 165 best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ 166 best[i].voice = -1; 170 * Go through them all and get a best one to use. 179 bp = best + OFF; 182 bp = best + RELEASED; 185 bp = best + OFF; 188 bp = best [all...] |
/linux-master/arch/arm/mach-ep93xx/ |
H A D | clock.c | 203 unsigned long best) 205 return abs(rate - now) < abs(rate - best); 372 unsigned long best = 0, now, maxdiv; local 383 if (is_best(rate, now, best)) 384 best = now; 387 if (!best) 388 best = DIV_ROUND_UP_ULL(*parent_rate, maxdiv); 390 return best; 202 is_best(unsigned long rate, unsigned long now, unsigned long best) argument
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 802 int i, len, best, naddr, nsize, pna, range_size; local 838 for (i = 0, best = -1, best_size = 0; i < len; i += range_size) { 843 best = i; 848 if (best >= 0) { 849 dev_addr = of_read_number(ranges + best, naddr);
|
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | sched.c | 822 int best; local 825 best = find_first_bit(spu_prio->bitmap, prio); 826 while (best < prio) { 827 struct list_head *rq = &spu_prio->runq[best]; 836 best++;
|
/linux-master/arch/x86/kvm/ |
H A D | cpuid.c | 137 struct kvm_cpuid_entry2 *best; local 144 best = cpuid_entry2_find(entries, nent, 0x80000008, 146 if (best) { 147 int vaddr_bits = (best->eax & 0xff00) >> 8; 157 best = cpuid_entry2_find(entries, nent, 0xd, 0); 158 if (!best) 161 xfeatures = best->eax | ((u64)best->edx << 32); 247 struct kvm_cpuid_entry2 *best = kvm_find_kvm_cpuid_features(vcpu); local 253 if (best) 263 struct kvm_cpuid_entry2 *best; local 275 struct kvm_cpuid_entry2 *best; local 341 struct kvm_cpuid_entry2 *best; local 402 struct kvm_cpuid_entry2 *best; local [all...] |
H A D | cpuid.h | 107 struct kvm_cpuid_entry2 *best; local 109 best = kvm_find_cpuid_entry(vcpu, 0); 110 return best && 111 (is_guest_vendor_amd(best->ebx, best->ecx, best->edx) || 112 is_guest_vendor_hygon(best->ebx, best->ecx, best->edx)); 117 struct kvm_cpuid_entry2 *best; local 135 struct kvm_cpuid_entry2 *best; local 146 struct kvm_cpuid_entry2 *best; local 162 struct kvm_cpuid_entry2 *best; local [all...] |
/linux-master/arch/x86/kvm/svm/ |
H A D | sev.c | 3020 struct kvm_cpuid_entry2 *best; local 3023 best = kvm_find_cpuid_entry(vcpu, 0x8000001F); 3024 if (best) 3025 vcpu->arch.reserved_gpa_bits &= ~(1UL << (best->ebx & 0x3f));
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | vmx.c | 7723 struct kvm_cpuid_entry2 *best = NULL; local 7727 best = kvm_find_cpuid_entry_index(vcpu, 0x14, i); 7728 if (!best) 7730 vmx->pt_desc.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM] = best->eax; 7731 vmx->pt_desc.caps[CPUID_EBX + i*PT_CPUID_REGS_NUM] = best->ebx; 7732 vmx->pt_desc.caps[CPUID_ECX + i*PT_CPUID_REGS_NUM] = best->ecx; 7733 vmx->pt_desc.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM] = best->edx;
|
/linux-master/crypto/ |
H A D | algapi.c | 379 bool best; local 415 best = true; 424 best = false; 429 crypto_alg_finish_registration(alg, best, &list);
|
H A D | api.c | 60 int best = -2; local 78 if (!exact && !(fuzzy && q->cra_priority > best)) 84 best = q->cra_priority;
|
/linux-master/drivers/acpi/numa/ |
H A D | hmat.c | 45 * selecting the best performing node. 669 static bool hmat_update_best(u8 type, u32 value, u32 *best) argument 680 if (!*best || *best > value) { 681 *best = value; 688 if (!*best || *best < value) { 689 *best = value; 729 u32 best = 0; local 745 * only that one. Otherwise, find the best performanc [all...] |
/linux-master/drivers/ata/pata_parport/ |
H A D | pata_parport.c | 393 int best, range; local 405 best = -1; 413 best = pi->mode; 415 pi->mode = best; 416 return best > -1;
|
/linux-master/drivers/base/ |
H A D | map.c | 99 unsigned long best = ~0UL; local 110 if (p->range - 1 >= best) 117 best = p->range - 1;
|
/linux-master/drivers/clk/actions/ |
H A D | owl-factor.c | 71 unsigned long parent_rate, try_parent_rate, best = 0, cur_rate; local 103 if (cur_rate <= rate && cur_rate > best) { 105 best = cur_rate;
|