1 #ifndef DDK750_POWER_H__
2 #define DDK750_POWER_H__
12 #define setDAC(off) { \
14 (peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \
17 void ddk750_set_dpms(DPMS_t state);
18 void sm750_set_power_mode(unsigned int powerMode);
19 void sm750_set_current_gate(unsigned int gate);
22 * This function enable/disable the 2D engine.
24 void sm750_enable_2d_engine(unsigned int enable);
27 * This function enable/disable the DMA Engine
29 void sm750_enable_dma(unsigned int enable);
32 * This function enable/disable the GPIO Engine
34 void sm750_enable_gpio(unsigned int enable);
37 * This function enable/disable the I2C Engine
39 void sm750_enable_i2c(unsigned int enable);