/drivers/of/ |
D | fdt.c | 92 unsigned long l, score = 0; in of_fdt_is_compatible() local 98 score++; in of_fdt_is_compatible() 100 return score; in of_fdt_is_compatible() 115 unsigned int tmp, score = 0; in of_fdt_match() local 122 if (tmp && (score == 0 || (tmp < score))) in of_fdt_match() 123 score = tmp; in of_fdt_match() 127 return score; in of_fdt_match() 685 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local 689 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine() 690 if (score > 0 && score < best_score) { in of_flat_dt_match_machine() [all …]
|
D | base.c | 441 int index = 0, score = 0; in __of_device_is_compatible() local 449 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible() 453 if (!score) in __of_device_is_compatible() 461 score += 2; in __of_device_is_compatible() 468 score++; in __of_device_is_compatible() 471 return score; in __of_device_is_compatible() 914 int score, best_score = 0; in __of_match_node() local 920 score = __of_device_is_compatible(node, matches->compatible, in __of_match_node() 922 if (score > best_score) { in __of_match_node() 924 best_score = score; in __of_match_node()
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
D | base.c | 323 int score; member 359 mthd->score = nouveau_bios_score(bios, mthd->rw); in nouveau_bios_shadow() 360 if (mthd->score) { in nouveau_bios_shadow() 391 mthd->score = nouveau_bios_score(bios, mthd->rw); in nouveau_bios_shadow() 395 } while (mthd->score != 3 && (++mthd)->shadow); in nouveau_bios_shadow() 400 if (mthd->score > best->score) { in nouveau_bios_shadow() 406 if (best->score) { in nouveau_bios_shadow()
|
/drivers/acpi/ |
D | glue.c | 115 int score; in acpi_find_child_device() local 142 score = find_child_checks(adev, check_children); in acpi_find_child_device() 143 if (score == FIND_CHILD_MAX_SCORE) { in acpi_find_child_device() 145 } else if (score > ret_score) { in acpi_find_child_device() 147 ret_score = score; in acpi_find_child_device()
|
/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.c | 62 struct score *best); 280 struct score best = {{0}, {0}, {0}, 0}; in scan_r2l_t2b() 354 struct score best = {{0}, {0}, {0}, 0}; in scan_l2r_t2b() 604 struct score *best) in update_candidate() 606 struct score me; /* score for area */ in update_candidate()
|
D | tcm-sita.h | 72 struct score { struct
|
/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 931 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local 954 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers() 957 if (score < optimal_score) { in radeon_uvd_calc_upll_dividers() 961 optimal_score = score; in radeon_uvd_calc_upll_dividers()
|
/drivers/mtd/ |
D | rfd_ftl.c | 447 int block, best_block, score, old_sector_block; in reclaim_block() local 453 score = 0x7fffffff; /* MAX_INT */ in reclaim_block() 487 if (this_score < score) { in reclaim_block() 489 score = this_score; in reclaim_block()
|
/drivers/gpu/drm/ |
D | drm_fb_helper.c | 1459 int my_score, best_score, score; in drm_pick_crtcs() local 1515 score = my_score + drm_pick_crtcs(fb_helper, crtcs, modes, n + 1, in drm_pick_crtcs() 1517 if (score > best_score) { in drm_pick_crtcs() 1518 best_score = score; in drm_pick_crtcs()
|
D | drm_edid.c | 1002 int i, score = 0; in drm_edid_header_is_valid() local 1006 score++; in drm_edid_header_is_valid() 1008 return score; in drm_edid_header_is_valid() 1041 int score = drm_edid_header_is_valid(raw_edid); in drm_edid_block_valid() local 1042 if (score == 8) ; in drm_edid_block_valid() 1043 else if (score >= edid_fixup) { in drm_edid_block_valid()
|
/drivers/gpu/drm/i915/ |
D | intel_ringbuffer.h | 91 int score; member
|
D | i915_irq.c | 3268 ring->hangcheck.score += BUSY; in i915_hangcheck_elapsed() 3296 ring->hangcheck.score += BUSY; in i915_hangcheck_elapsed() 3299 ring->hangcheck.score += KICK; in i915_hangcheck_elapsed() 3302 ring->hangcheck.score += HUNG; in i915_hangcheck_elapsed() 3313 if (ring->hangcheck.score > 0) in i915_hangcheck_elapsed() 3314 ring->hangcheck.score--; in i915_hangcheck_elapsed() 3325 if (ring->hangcheck.score >= HANGCHECK_SCORE_RING_HUNG) { in i915_hangcheck_elapsed()
|
D | i915_gpu_error.c | 917 ering->hangcheck_score = ring->hangcheck.score; in i915_record_ring_state()
|
D | i915_gem.c | 2536 ring_hung = ring->hangcheck.score >= HANGCHECK_SCORE_RING_HUNG; in i915_gem_reset_ring_status()
|
/drivers/net/wireless/cw1200/ |
D | wsm.c | 1589 unsigned score, best = -1; in cw1200_get_prio_queue() local 1602 score = ((edca->aifns + edca->cwmin) << 16) + in cw1200_get_prio_queue() 1605 if (score < best && (winner < 0 || i != 3)) { in cw1200_get_prio_queue() 1606 best = score; in cw1200_get_prio_queue()
|
/drivers/net/irda/ |
D | donauboe.c | 671 toshoboe_dumprx (struct toshoboe_cb *self, int score) in toshoboe_dumprx() argument 674 PROBE_DEBUG(" %d\nRX:",score); in toshoboe_dumprx()
|