Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_color_regs.h17 #define PALETTE_GREEN_MASK REG_GENMASK(15, 8) macro
Dintel_color.c800 REG_FIELD_PREP(PALETTE_GREEN_MASK, drm_color_lut_extract(color->green, 8)) | in i9xx_lut_8()
807 entry->green = intel_color_lut_pack(REG_FIELD_GET(PALETTE_GREEN_MASK, val), 8); in i9xx_lut_8_pack()
820 REG_FIELD_PREP(PALETTE_GREEN_MASK, _i9xx_lut_10_ldw(color[0].green)) | in i9xx_lut_10_ldw()
848 REG_FIELD_PREP(PALETTE_GREEN_MASK, _i9xx_lut_10_udw(color[0].green, color[1].green)) | in i9xx_lut_10_udw()
888 REG_FIELD_PREP(PALETTE_GREEN_MASK, color->green & 0xff) | in i965_lut_10p6_ldw()
896 REG_FIELD_PREP(PALETTE_GREEN_MASK, color->green >> 8) | in i965_lut_10p6_udw()
904 entry->green = REG_FIELD_GET(PALETTE_GREEN_MASK, udw) << 8 | in i965_lut_10p6_pack()
905 REG_FIELD_GET(PALETTE_GREEN_MASK, ldw); in i965_lut_10p6_pack()