Home
last modified time | relevance | path

Searched refs:FP_SHIFT (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_overlay.c616 #define FP_SHIFT 12 in update_scaling_factors() macro
623 xscale = ((params->src_scan_width - 1) << FP_SHIFT) / in update_scaling_factors()
626 xscale = 1 << FP_SHIFT; in update_scaling_factors()
629 yscale = ((params->src_scan_height - 1) << FP_SHIFT) / in update_scaling_factors()
632 yscale = 1 << FP_SHIFT; in update_scaling_factors()
651 ((xscale >> FP_SHIFT) << 16) | in update_scaling_factors()
656 ((xscale_UV >> FP_SHIFT) << 16) | in update_scaling_factors()
660 iowrite32((((yscale >> FP_SHIFT) << 16) | in update_scaling_factors()
661 ((yscale_UV >> FP_SHIFT) << 0)), in update_scaling_factors()
/kernel/linux/linux-5.10/drivers/md/
Ddm-cache-policy-smq.c510 #define FP_SHIFT 8 macro
511 #define SIXTEENTH (1u << (FP_SHIFT - 4u))
512 #define EIGHTH (1u << (FP_SHIFT - 3u))
559 unsigned confidence = safe_div(s->hits << FP_SHIFT, s->hits + s->misses); in stats_assess()