// SPDX-License-Identifier: GPL-2.0 #include "ddk750_chip.h" #include "ddk750_reg.h" #include "ddk750_power.h" void ddk750_set_dpms(enum dpms state) { … } static unsigned int get_power_mode(void) { … } /* * SM50x can operate in one of three modes: 0, 1 or Sleep. * On hardware reset, power mode 0 is default. */ void sm750_set_power_mode(unsigned int mode) { … } void sm750_set_current_gate(unsigned int gate) { … } /* * This function enable/disable the 2D engine. */ void sm750_enable_2d_engine(unsigned int enable) { … } 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) { … }