cregit-Linux how code gets into the kernel

Release 4.18 drivers/staging/sm750fb/ddk750_power.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef DDK750_POWER_H__

#define DDK750_POWER_H__


enum dpms {
	
crtDPMS_ON = 0x0,
	
crtDPMS_STANDBY = 0x1,
	
crtDPMS_SUSPEND = 0x2,
	
crtDPMS_OFF = 0x3,
};


#define setDAC(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 powerMode);
void sm750_set_current_gate(unsigned int gate);

/*
 * This function enable/disable the 2D engine.
 */
void sm750_enable_2d_engine(unsigned int enable);

/*
 * This function enable/disable the DMA Engine
 */
void sm750_enable_dma(unsigned int enable);

/*
 * This function enable/disable the GPIO Engine
 */
void sm750_enable_gpio(unsigned int enable);

/*
 * This function enable/disable the I2C Engine
 */
void sm750_enable_i2c(unsigned int enable);

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Sudip Mukherjee8285.42%114.29%
Arnd Bergmann66.25%114.29%
Keerthi Reddy44.17%114.29%
Elise Lennion11.04%114.29%
Matthieu Simon11.04%114.29%
Greg Kroah-Hartman11.04%114.29%
Arushi Singhal11.04%114.29%
Total96100.00%7100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.