Searched refs:target_val (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_panel.c414 uint64_t target_val; scale() local
423 target_val = DIV_ROUND_CLOSEST_ULL((uint64_t)(source_val - source_min) * scale()
425 target_val += target_min; scale()
427 return target_val; scale()
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dradeon_base.c979 u32 target_val = (val & ~LVDS_DISPLAY_DIS) | LVDS_BLON | LVDS_ON radeon_screen_blank() local
982 if ((val ^ target_val) == LVDS_DISPLAY_DIS) radeon_screen_blank()
983 OUTREG(LVDS_GEN_CNTL, target_val); radeon_screen_blank()
984 else if ((val ^ target_val) != 0) { radeon_screen_blank()
985 OUTREG(LVDS_GEN_CNTL, target_val radeon_screen_blank()
989 target_val & LVDS_STATE_MASK; radeon_screen_blank()
992 OUTREG(LVDS_GEN_CNTL, target_val); radeon_screen_blank()
995 rinfo->pending_lvds_gen_cntl = target_val; radeon_screen_blank()

Completed in 116 milliseconds