Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_overlay.c621 #define FP_SHIFT 12 in update_scaling_factors() macro
628 xscale = ((params->src_scan_width - 1) << FP_SHIFT) / in update_scaling_factors()
631 xscale = 1 << FP_SHIFT; in update_scaling_factors()
634 yscale = ((params->src_scan_height - 1) << FP_SHIFT) / in update_scaling_factors()
637 yscale = 1 << FP_SHIFT; in update_scaling_factors()
656 ((xscale >> FP_SHIFT) << 16) | in update_scaling_factors()
661 ((xscale_UV >> FP_SHIFT) << 16) | in update_scaling_factors()
665 iowrite32((((yscale >> FP_SHIFT) << 16) | in update_scaling_factors()
666 ((yscale_UV >> FP_SHIFT) << 0)), in update_scaling_factors()
/linux-6.12.1/drivers/md/
Ddm-cache-policy-smq.c512 #define FP_SHIFT 8 macro
513 #define SIXTEENTH (1u << (FP_SHIFT - 4u))
514 #define EIGHTH (1u << (FP_SHIFT - 3u))
561 unsigned int confidence = safe_div(s->hits << FP_SHIFT, s->hits + s->misses); in stats_assess()