Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_overlay.c350 #define K2R(val) (((val) >> 0) & 0xff) in armada_overlay_set_property() macro
355 drm_to_overlay_state(state)->colorkey_yr = CCC(K2R(val)); in armada_overlay_set_property()
361 drm_to_overlay_state(state)->colorkey_yr |= K2R(val) << 16; in armada_overlay_set_property()
368 drm_to_overlay_state(state)->colorkey_yr |= K2R(val) << 24; in armada_overlay_set_property()
375 drm_to_overlay_state(state)->colorkey_yr |= K2R(val) << 8; in armada_overlay_set_property()
382 drm_to_overlay_state(state)->colorkey_yr |= K2R(val); in armada_overlay_set_property()