/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | shadow.c | 35 int score; member 56 int score = 1; in shadow_image() local 91 score += 1; in shadow_image() 92 score += 1; in shadow_image() 96 score += 3; in shadow_image() 100 score += 3; in shadow_image() 105 score += shadow_image(bios, idx + 1, offset + image.size, mthd); in shadow_image() 106 return score; in shadow_image() 123 mthd->score = shadow_image(bios, 0, 0, mthd); in shadow_method() 126 nvkm_debug(subdev, "scored %d\n", mthd->score); in shadow_method() [all …]
|
/drivers/of/ |
D | fdt.c | 95 unsigned long l, score = 0; in of_fdt_is_compatible() local 101 score++; in of_fdt_is_compatible() 103 return score; in of_fdt_is_compatible() 137 unsigned int tmp, score = 0; in of_fdt_match() local 144 if (tmp && (score == 0 || (tmp < score))) in of_fdt_match() 145 score = tmp; in of_fdt_match() 149 return score; in of_fdt_match() 732 unsigned int best_score = ~1, score = 0; in of_flat_dt_match_machine() local 736 score = of_flat_dt_match(dt_root, compat); in of_flat_dt_match_machine() 737 if (score > 0 && score < best_score) { in of_flat_dt_match_machine() [all …]
|
D | base.c | 449 int index = 0, score = 0; in __of_device_is_compatible() local 457 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible() 461 if (!score) in __of_device_is_compatible() 469 score += 2; in __of_device_is_compatible() 476 score++; in __of_device_is_compatible() 479 return score; in __of_device_is_compatible() 980 int score, best_score = 0; in __of_match_node() local 986 score = __of_device_is_compatible(node, matches->compatible, in __of_match_node() 988 if (score > best_score) { in __of_match_node() 990 best_score = score; in __of_match_node()
|
/drivers/acpi/ |
D | glue.c | 124 int score; in acpi_find_child_device() local 151 score = find_child_checks(adev, check_children); in acpi_find_child_device() 152 if (score == FIND_CHILD_MAX_SCORE) { in acpi_find_child_device() 154 } else if (score > ret_score) { in acpi_find_child_device() 156 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/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/radeon/ |
D | radeon_uvd.c | 930 unsigned vclk_div, dclk_div, score; in radeon_uvd_calc_upll_dividers() local 953 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div); in radeon_uvd_calc_upll_dividers() 956 if (score < optimal_score) { in radeon_uvd_calc_upll_dividers() 960 optimal_score = score; in radeon_uvd_calc_upll_dividers()
|
/drivers/video/fbdev/core/ |
D | modedb.c | 776 int score = abs(db[i].refresh - refresh); in fb_find_mode() local 779 score += abs(db_interlace - interlace); in fb_find_mode() 787 if (score < diff) { in fb_find_mode() 788 diff = score; in fb_find_mode()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 1054 int i, score = 0; in drm_edid_header_is_valid() local 1058 score++; in drm_edid_header_is_valid() 1060 return score; in drm_edid_header_is_valid() 1115 int score = drm_edid_header_is_valid(raw_edid); in drm_edid_block_valid() local 1116 if (score == 8) { in drm_edid_block_valid() 1119 } else if (score >= edid_fixup) { in drm_edid_block_valid()
|
D | drm_fb_helper.c | 1910 int my_score, best_score, score; in drm_pick_crtcs() local 1966 score = my_score + drm_pick_crtcs(fb_helper, crtcs, modes, n + 1, in drm_pick_crtcs() 1968 if (score > best_score) { in drm_pick_crtcs() 1969 best_score = score; in drm_pick_crtcs()
|
/drivers/gpu/drm/i915/ |
D | intel_ringbuffer.h | 93 int score; member
|
D | i915_irq.c | 2977 ring->hangcheck.score += BUSY; in i915_hangcheck_elapsed() 3005 ring->hangcheck.score += BUSY; in i915_hangcheck_elapsed() 3008 ring->hangcheck.score += KICK; in i915_hangcheck_elapsed() 3011 ring->hangcheck.score += HUNG; in i915_hangcheck_elapsed() 3022 if (ring->hangcheck.score > 0) in i915_hangcheck_elapsed() 3023 ring->hangcheck.score--; in i915_hangcheck_elapsed() 3034 if (ring->hangcheck.score >= HANGCHECK_SCORE_RING_HUNG) { in i915_hangcheck_elapsed()
|
D | i915_gpu_error.c | 930 ering->hangcheck_score = ring->hangcheck.score; in i915_record_ring_state()
|
D | i915_gem.c | 2876 ring_hung = ring->hangcheck.score >= HANGCHECK_SCORE_RING_HUNG; in i915_gem_reset_ring_status()
|
D | i915_debugfs.c | 1364 seq_printf(m, "\tscore = %d\n", ring->hangcheck.score); in i915_hangcheck_info()
|
/drivers/net/wireless/cw1200/ |
D | wsm.c | 1587 unsigned score, best = -1; in cw1200_get_prio_queue() local 1600 score = ((edca->aifns + edca->cwmin) << 16) + in cw1200_get_prio_queue() 1603 if (score < best && (winner < 0 || i != 3)) { in cw1200_get_prio_queue() 1604 best = score; in cw1200_get_prio_queue()
|
/drivers/net/irda/ |
D | donauboe.c | 659 toshoboe_dumprx (struct toshoboe_cb *self, int score) in toshoboe_dumprx() argument 662 PROBE_DEBUG(" %d\nRX:",score); in toshoboe_dumprx()
|