#include <xf86RamDac.h>
extern _X_EXPORT RamDacHelperRecPtr IBMramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs);
extern _X_EXPORT void IBMramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
extern _X_EXPORT void IBMramdacRestore(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec);
/*
* IBM Ramdac registers
*/
/* #define IBMRGB_f0 0x20 */
/* Constants rgb525.h */
/* RGB525_REVISION_LEVEL */
/* RGB525_ID */
/* RGB525_MISC_CTRL_1 */
/* RGB525_MISC_CTRL_2 */
/* RGB525_MISC_CTRL_3 */
/* RGB525_MISC_CLK_CTRL */
/* RGB525_SYNC_CTRL */
/* RGB525_HSYNC_CTRL */
#define HSYN_POS(n) (n)
/* RGB525_POWER_MANAGEMENT */
/* RGB525_DAC_OPERATION */
/* RGB525_PALETTE_CTRL */
#define PALETTE_PARITION(n) (n)
/* RGB525_PIXEL_FORMAT */
/* RGB525_8BPP_CTRL */
/* RGB525_16BPP_CTRL */
/* RGB525_24BPP_CTRL */
/* RGB525_32BPP_CTRL */
/* RGB525_PLL_CTRL_1 */
/* RGB525_PLL_CTRL_2 */
#define PLL_INT_FS_3_0(n) (n)
#define PLL_INT_FS_2_0(n) (n)
/* RGB525_PLL_REF_DIV_COUNT */
#define REF_DIV_COUNT(n) (n)
/* RGB525_F0 - RGB525_F15 */
#define VCO_DIV_COUNT(n) (n)
/* RGB525_PLL_REFCLK values */
/* RGB525_CURSOR_CONTROL */
/* RGB525_REVISION_LEVEL */
/* RGB525_ID */
/* MISR status */
/* the IBMRGB640 is rather different from the rest of the RAMDACs,
so we define a completely new set of register names for it */