Lines Matching refs:palette
151 int gu2_set_display_palette_entry(unsigned long index, unsigned long palette);
152 int gu2_set_display_palette(unsigned long *palette);
223 unsigned long *palette);
224 void gu2_get_display_palette(unsigned long *palette);
549 /* ENABLE TIMING GENERATOR, TIM. REG. UPDATES, PALETTE BYPASS */
938 * This routine sets an palette entry in the display controller.
944 gu2_set_display_palette_entry(unsigned long index, unsigned long palette)
947 gfx_set_display_palette_entry(unsigned long index, unsigned long palette)
954 WRITE_REG32(MDC_PAL_DATA, palette);
962 * This routine sets the entire palette in the display controller.
968 gu2_set_display_palette(unsigned long *palette)
971 gfx_set_display_palette(unsigned long *palette)
978 if (palette) {
980 WRITE_REG32(MDC_PAL_DATA, palette[i]);
1244 /* ICON COLORS LOCATED AT PALETTE INDEXES 102-104h */
2773 gu2_get_display_palette_entry(unsigned long index, unsigned long *palette)
2776 gfx_get_display_palette_entry(unsigned long index, unsigned long *palette)
2783 *palette = READ_REG32(MDC_PAL_DATA);
2794 gu2_get_display_palette(unsigned long *palette)
2797 gfx_get_display_palette(unsigned long *palette)
2804 palette[i] = READ_REG32(MDC_PAL_DATA);