cfxga_write_1
cfxga_write_1(sc, CFREG_MODE, mode | MODE_CRT);
cfxga_write_1(sc, CFREG_MODE, mode | MODE_NO_DISPLAY);
cfxga_write_1(sc, CFREG_MODE, 0); /* disable all displays */
cfxga_write_1(sc, CFREG_LCD_PCLK, LCD_PCLK_SRC_CLKI | LCD_PCLK_DIV_1);
cfxga_write_1(sc, CFREG_MPLUG_CLK,
cfxga_write_1(sc, CFREG_CRT_HWIDTH, (640 / 8) - 1);
cfxga_write_1(sc, CFREG_CRT_HPULSE, 4);
cfxga_write_1(sc, CFREG_CRT_VPULSE, 2);
cfxga_write_1(sc, CFREG_CRT_HWIDTH, (800 / 8) - 1);
cfxga_write_1(sc, CFREG_CRT_HPULSE, 4);
cfxga_write_1(sc, CFREG_CRT_VPULSE, 2);
cfxga_write_1(sc, CFREG_CRT_MODE,
cfxga_write_1(sc, CFREG_CRT_START_HIGH, 0);
cfxga_write_1(sc, CFREG_CRT_PANNING, 0);
cfxga_write_1(sc, CFREG_CRT_FIFO_THRESHOLD_HIGH, 0);
cfxga_write_1(sc, CFREG_CRT_FIFO_THRESHOLD_LOW, 0);
cfxga_write_1(sc, CFREG_CRT_CURSOR_CONTROL, CURSOR_INACTIVE);
cfxga_write_1(sc, CFREG_LUT_MODE, LUT_CRT);
cfxga_write_1(sc, CFREG_LUT_ADDRESS, 0); /* autoincrements */
cfxga_write_1(sc, CFREG_LUT_DATA, *cmap++ & 0xf0);
cfxga_write_1(sc, CFREG_TV_CONTROL,
cfxga_write_1(sc, CFREG_POWER_CONF, POWERSAVE_MBO);
cfxga_write_1(sc, CFREG_WATCHDOG, 0);
cfxga_write_1(sc, CFREG_MODE, MODE_CRT);