]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/staging/sm750fb/ddk750_power.h
1 #ifndef DDK750_POWER_H__
2 #define DDK750_POWER_H__
15 POKE32(MISC_CTRL,FIELD_VALUE(PEEK32(MISC_CTRL), \
21 void ddk750_setDPMS(DPMS_t
);
23 unsigned int getPowerMode(void);
26 * This function sets the current power mode
28 void setPowerMode(unsigned int powerMode
);
31 * This function sets current gate
33 void setCurrentGate(unsigned int gate
);
36 * This function enable/disable the 2D engine.
38 void enable2DEngine(unsigned int enable
);
41 * This function enable/disable the ZV Port
43 void enableZVPort(unsigned int enable
);
46 * This function enable/disable the DMA Engine
48 void enableDMA(unsigned int enable
);
51 * This function enable/disable the GPIO Engine
53 void enableGPIO(unsigned int enable
);
56 * This function enable/disable the PWM Engine
58 void enablePWM(unsigned int enable
);
61 * This function enable/disable the I2C Engine
63 void enableI2C(unsigned int enable
);
66 * This function enable/disable the SSP.
68 void enableSSP(unsigned int enable
);