lcm_common.h 660 B

123456789101112131415161718192021222324
  1. #ifndef __LCM_COMMON_H__
  2. #define __LCM_COMMON_H__
  3. #include "lcm_drv.h"
  4. #if defined(MTK_LCM_DEVICE_TREE_SUPPORT)
  5. typedef enum {
  6. LCM_STATUS_OK = 0,
  7. LCM_STATUS_ERROR,
  8. } LCM_STATUS;
  9. void lcm_common_parse_dts(const LCM_DTS *DTS, unsigned char force_update);
  10. void lcm_common_set_util_funcs(const LCM_UTIL_FUNCS *util);
  11. void lcm_common_get_params(LCM_PARAMS *params);
  12. void lcm_common_init(void);
  13. void lcm_common_suspend(void);
  14. void lcm_common_resume(void);
  15. void lcm_common_update(unsigned int x, unsigned int y, unsigned int width, unsigned int height);
  16. void lcm_common_setbacklight(unsigned int level);
  17. unsigned int lcm_common_compare_id(void);
  18. #endif
  19. #endif