sharpsl.h 637 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * SharpSL SSP Driver
  3. */
  4. struct corgissp_machinfo {
  5. int port;
  6. int cs_lcdcon;
  7. int cs_ads7846;
  8. int cs_max1111;
  9. int clk_lcdcon;
  10. int clk_ads7846;
  11. int clk_max1111;
  12. };
  13. void corgi_ssp_set_machinfo(struct corgissp_machinfo *machinfo);
  14. /*
  15. * SharpSL Backlight
  16. */
  17. void corgi_bl_set_intensity(int intensity);
  18. void spitz_bl_set_intensity(int intensity);
  19. void akita_bl_set_intensity(int intensity);
  20. /*
  21. * SharpSL Touchscreen Driver
  22. */
  23. unsigned long corgi_get_hsync_len(void);
  24. unsigned long spitz_get_hsync_len(void);
  25. void corgi_put_hsync(void);
  26. void spitz_put_hsync(void);
  27. void corgi_wait_hsync(void);
  28. void spitz_wait_hsync(void);