Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_color_regs.h16 #define PALETTE_RED_MASK REG_GENMASK(23, 16) macro
Dintel_color.c799 return REG_FIELD_PREP(PALETTE_RED_MASK, drm_color_lut_extract(color->red, 8)) | in i9xx_lut_8()
806 entry->red = intel_color_lut_pack(REG_FIELD_GET(PALETTE_RED_MASK, val), 8); in i9xx_lut_8_pack()
819 return REG_FIELD_PREP(PALETTE_RED_MASK, _i9xx_lut_10_ldw(color[0].red)) | in i9xx_lut_10_ldw()
847 return REG_FIELD_PREP(PALETTE_RED_MASK, _i9xx_lut_10_udw(color[0].red, color[1].red)) | in i9xx_lut_10_udw()
887 return REG_FIELD_PREP(PALETTE_RED_MASK, color->red & 0xff) | in i965_lut_10p6_ldw()
895 return REG_FIELD_PREP(PALETTE_RED_MASK, color->red >> 8) | in i965_lut_10p6_udw()
902 entry->red = REG_FIELD_GET(PALETTE_RED_MASK, udw) << 8 | in i965_lut_10p6_pack()
903 REG_FIELD_GET(PALETTE_RED_MASK, ldw); in i965_lut_10p6_pack()