These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / staging / sm750fb / ddk750_power.h
index 71dc7f9..6e804d9 100644 (file)
@@ -1,18 +1,17 @@
 #ifndef DDK750_POWER_H__
 #define DDK750_POWER_H__
 
-typedef enum _DPMS_t
-{
-    crtDPMS_ON = 0x0,
-    crtDPMS_STANDBY = 0x1,
-    crtDPMS_SUSPEND = 0x2,
-    crtDPMS_OFF = 0x3,
+typedef enum _DPMS_t {
+       crtDPMS_ON = 0x0,
+       crtDPMS_STANDBY = 0x1,
+       crtDPMS_SUSPEND = 0x2,
+       crtDPMS_OFF = 0x3,
 }
 DPMS_t;
 
 #define setDAC(off) \
                {       \
-               POKE32(MISC_CTRL,FIELD_VALUE(PEEK32(MISC_CTRL), \
+               POKE32(MISC_CTRL, FIELD_VALUE(PEEK32(MISC_CTRL), \
                                                                        MISC_CTRL,      \
                                                                        DAC_POWER,      \
                                                                        off));  \
@@ -20,8 +19,6 @@ DPMS_t;
 
 void ddk750_setDPMS(DPMS_t);
 
-unsigned int getPowerMode(void);
-
 /*
  * This function sets the current power mode
  */
@@ -37,11 +34,6 @@ void setCurrentGate(unsigned int gate);
  */
 void enable2DEngine(unsigned int enable);
 
-/*
- * This function enable/disable the ZV Port
- */
-void enableZVPort(unsigned int enable);
-
 /*
  * This function enable/disable the DMA Engine
  */
@@ -52,20 +44,10 @@ void enableDMA(unsigned int enable);
  */
 void enableGPIO(unsigned int enable);
 
-/*
- * This function enable/disable the PWM Engine
- */
-void enablePWM(unsigned int enable);
-
 /*
  * This function enable/disable the I2C Engine
  */
 void enableI2C(unsigned int enable);
 
-/*
- * This function enable/disable the SSP.
- */
-void enableSSP(unsigned int enable);
-
 
 #endif