/drivers/md/ |
D | raid6algos.c | 90 const struct raid6_calls * best; in raid6_select_algo() local 114 bestperf = 0; bestprefer = 0; best = NULL; in raid6_select_algo() 134 best = *algo; in raid6_select_algo() 135 bestprefer = best->prefer; in raid6_select_algo() 143 if (best) { in raid6_select_algo() 145 best->name, in raid6_select_algo() 147 raid6_call = *best; in raid6_select_algo() 153 return best ? 0 : -EINVAL; in raid6_select_algo()
|
/drivers/usb/core/ |
D | generic.c | 48 struct usb_host_config *c, *best; in usb_choose_configuration() local 50 best = NULL; in usb_choose_configuration() 113 best = c; in usb_choose_configuration() 125 best = c; in usb_choose_configuration() 131 else if (!best) in usb_choose_configuration() 132 best = c; in usb_choose_configuration() 140 if (best) { in usb_choose_configuration() 141 i = best->desc.bConfigurationValue; in usb_choose_configuration()
|
/drivers/video/ |
D | modedb.c | 526 u32 best, diff, tdiff; in fb_find_mode() local 636 best = -1; in fb_find_mode() 646 best = i; in fb_find_mode() 651 if (best != -1) { in fb_find_mode() 652 fb_try_mode(var, info, &db[best], bpp); in fb_find_mode() 657 best = -1; in fb_find_mode() 674 best = i; in fb_find_mode() 678 if (best != -1) { in fb_find_mode() 679 fb_try_mode(var, info, &db[best], bpp); in fb_find_mode() 812 struct fb_videomode *mode, *best = NULL; in fb_find_best_mode() local [all …]
|
D | tmiofb.c | 565 struct fb_videomode *best = NULL; in tmiofb_find_mode() local 572 && (!best || (mode->xres < best->xres in tmiofb_find_mode() 573 && mode->yres < best->yres))) in tmiofb_find_mode() 574 best = mode; in tmiofb_find_mode() 577 return best; in tmiofb_find_mode()
|
D | vga16fb.c | 255 } *ptr, *best, vgaclocks[] = { in vga16fb_clock_chip() local 264 best = vgaclocks; in vga16fb_clock_chip() 265 err = pixclock - best->pixclock; in vga16fb_clock_chip() 274 best = ptr; in vga16fb_clock_chip() 277 par->misc |= best->misc; in vga16fb_clock_chip() 278 par->clkdiv = best->seq_clock_mode; in vga16fb_clock_chip() 279 pixclock = (best->pixclock * div) / mul; in vga16fb_clock_chip()
|
/drivers/net/bonding/ |
D | bond_3ad.c | 1398 static struct aggregator *ad_agg_selection_test(struct aggregator *best, in ad_agg_selection_test() argument 1426 if (!best) in ad_agg_selection_test() 1429 if (!curr->is_individual && best->is_individual) in ad_agg_selection_test() 1432 if (curr->is_individual && !best->is_individual) in ad_agg_selection_test() 1433 return best; in ad_agg_selection_test() 1435 if (__agg_has_partner(curr) && !__agg_has_partner(best)) in ad_agg_selection_test() 1438 if (!__agg_has_partner(curr) && __agg_has_partner(best)) in ad_agg_selection_test() 1439 return best; in ad_agg_selection_test() 1443 if (curr->num_of_ports > best->num_of_ports) in ad_agg_selection_test() 1446 if (curr->num_of_ports < best->num_of_ports) in ad_agg_selection_test() [all …]
|
/drivers/staging/comedi/drivers/ |
D | dt9812.c | 833 struct slot_dt9812 *best = NULL; in dt9812_probe() local 838 if (!best && dt9812[i].serial == dev->serial) in dt9812_probe() 839 best = &dt9812[i]; in dt9812_probe() 842 if (!best) in dt9812_probe() 843 best = first; in dt9812_probe() 845 if (best) { in dt9812_probe() 846 down(&best->mutex); in dt9812_probe() 847 best->usb = dev; in dt9812_probe() 848 dev->slot = best; in dt9812_probe() 849 up(&best->mutex); in dt9812_probe() [all …]
|
/drivers/gpu/drm/ |
D | drm_mm.c | 230 struct drm_mm_node *best; in drm_mm_search_free() local 234 best = NULL; in drm_mm_search_free() 255 best = entry; in drm_mm_search_free() 261 return best; in drm_mm_search_free()
|
/drivers/mtd/ |
D | ftl.c | 609 uint32_t best; in reclaim_block() local 615 best = 0xffffffff; xfer = 0xffff; in reclaim_block() 638 if (part->XferInfo[i].EraseCount <= best) { in reclaim_block() 639 best = part->XferInfo[i].EraseCount; in reclaim_block() 670 best = 0xffffffff; in reclaim_block() 672 if (part->EUNInfo[i].EraseCount <= best) { in reclaim_block() 673 best = part->EUNInfo[i].EraseCount; in reclaim_block() 677 best = 0; in reclaim_block() 679 if (part->EUNInfo[i].Deleted >= best) { in reclaim_block() 680 best = part->EUNInfo[i].Deleted; in reclaim_block() [all …]
|
/drivers/block/paride/ |
D | paride.c | 274 int best, range; in pi_probe_mode() local 287 best = -1; in pi_probe_mode() 296 best = pi->mode; in pi_probe_mode() 298 pi->mode = best; in pi_probe_mode() 299 return (best > -1); in pi_probe_mode()
|
/drivers/base/ |
D | map.c | 100 unsigned long best = ~0UL; in kobj_lookup() local 111 if (p->range - 1 >= best) in kobj_lookup() 118 best = p->range - 1; in kobj_lookup()
|
/drivers/serial/ |
D | samsung.c | 545 struct baud_calc *resptr, *best, *sptr; in s3c24xx_serial_getclk() local 549 best = NULL; in s3c24xx_serial_getclk() 577 best = res; in s3c24xx_serial_getclk() 578 resptr = best + 1; in s3c24xx_serial_getclk() 590 if (!best) { in s3c24xx_serial_getclk() 600 best = sptr; in s3c24xx_serial_getclk() 608 *clksrc = best->clksrc; in s3c24xx_serial_getclk() 609 *clk = best->src; in s3c24xx_serial_getclk() 611 return best->quot; in s3c24xx_serial_getclk()
|
/drivers/video/geode/ |
D | lxfb_ops.c | 166 unsigned int diff, min, best = 0; in lx_set_clock() local 177 best = i; in lx_set_clock() 181 lx_set_dotpll(pll_table[best].pllval & 0x00017FFF); in lx_set_clock()
|
/drivers/lguest/ |
D | README | 15 Our Quest is in seven parts: (best read with C highlighting turned on)
|
/drivers/media/video/uvc/ |
D | uvc_v4l2.c | 73 __u32 best = -1, dist; in uvc_try_frame_interval() local 80 if (dist > best) in uvc_try_frame_interval() 83 best = dist; in uvc_try_frame_interval()
|
/drivers/pci/ |
D | pci.c | 351 struct resource *best = NULL; in pci_find_parent_resource() local 364 best = r; /* Approximating prefetchable by non-prefetchable */ in pci_find_parent_resource() 366 return best; in pci_find_parent_resource()
|
/drivers/media/video/pwc/ |
D | philips.txt | 153 This somewhat cryptic syntax is best explained by a few examples:
|
/drivers/net/ |
D | ps3_gelic_wireless.c | 1766 static void update_best(struct gelic_wl_scan_info **best, in update_best() argument 1773 *best = candid; in update_best()
|
/drivers/scsi/aic7xxx_old/ |
D | aic7xxx.seq | 790 * and hope for the best. In any case, rejection should be a rare
|
/drivers/scsi/ |
D | Kconfig | 1135 of 0 for best performance. If your machine has 4GB of memory
|