Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_overlay.c619 #define FP_SHIFT 12 in update_scaling_factors() macro
626 xscale = ((params->src_scan_width - 1) << FP_SHIFT) / in update_scaling_factors()
629 xscale = 1 << FP_SHIFT; in update_scaling_factors()
632 yscale = ((params->src_scan_height - 1) << FP_SHIFT) / in update_scaling_factors()
635 yscale = 1 << FP_SHIFT; in update_scaling_factors()
654 ((xscale >> FP_SHIFT) << 16) | in update_scaling_factors()
659 ((xscale_UV >> FP_SHIFT) << 16) | in update_scaling_factors()
663 iowrite32((((yscale >> FP_SHIFT) << 16) | in update_scaling_factors()
664 ((yscale_UV >> FP_SHIFT) << 0)), in update_scaling_factors()
/linux-6.1.9/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()