#ifndef DDK750_POWER_H__
#define DDK750_POWER_H__
enum dpms {
crtDPMS_ON = 0x0,
crtDPMS_STANDBY = 0x1,
crtDPMS_SUSPEND = 0x2,
crtDPMS_OFF = 0x3,
};
#define set_DAC(off) { \
poke32(MISC_CTRL, \
(peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \
}
void ddk750_set_dpms(enum dpms state);
void sm750_set_power_mode(unsigned int mode);
void sm750_set_current_gate(unsigned int gate);
void sm750_enable_2d_engine(unsigned int enable);
void sm750_enable_dma(unsigned int enable);
void sm750_enable_gpio(unsigned int enable);
void sm750_enable_i2c(unsigned int enable);
#endif