]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - drivers/staging/sm750fb/ddk750_power.h
1 #ifndef DDK750_POWER_H__
2 #define DDK750_POWER_H__
14 POKE32(MISC_CTRL, FIELD_VALUE(PEEK32(MISC_CTRL), \
20 void ddk750_setDPMS(DPMS_t
);
22 unsigned int getPowerMode(void);
25 * This function sets the current power mode
27 void setPowerMode(unsigned int powerMode
);
30 * This function sets current gate
32 void setCurrentGate(unsigned int gate
);
35 * This function enable/disable the 2D engine.
37 void enable2DEngine(unsigned int enable
);
40 * This function enable/disable the ZV Port
42 void enableZVPort(unsigned int enable
);
45 * This function enable/disable the DMA Engine
47 void enableDMA(unsigned int enable
);
50 * This function enable/disable the GPIO Engine
52 void enableGPIO(unsigned int enable
);
55 * This function enable/disable the PWM Engine
57 void enablePWM(unsigned int enable
);
60 * This function enable/disable the I2C Engine
62 void enableI2C(unsigned int enable
);
65 * This function enable/disable the SSP.
67 void enableSSP(unsigned int enable
);