Home
last modified time | relevance | path

Searched refs:score (Results 1 – 16 of 16) sorted by relevance

/drivers/of/
Dfdt.c92 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 …]
Dbase.c441 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/
Dbase.c323 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/
Dglue.c115 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/
Dtcm-sita.c62 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()
Dtcm-sita.h72 struct score { struct
/drivers/gpu/drm/radeon/
Dradeon_uvd.c931 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/
Drfd_ftl.c447 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/
Ddrm_fb_helper.c1459 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()
Ddrm_edid.c1002 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/
Dintel_ringbuffer.h91 int score; member
Di915_irq.c3268 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()
Di915_gpu_error.c917 ering->hangcheck_score = ring->hangcheck.score; in i915_record_ring_state()
Di915_gem.c2536 ring_hung = ring->hangcheck.score >= HANGCHECK_SCORE_RING_HUNG; in i915_gem_reset_ring_status()
/drivers/net/wireless/cw1200/
Dwsm.c1589 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/
Ddonauboe.c671 toshoboe_dumprx (struct toshoboe_cb *self, int score) in toshoboe_dumprx() argument
674 PROBE_DEBUG(" %d\nRX:",score); in toshoboe_dumprx()