mdss_hdmi_cec.h 979 B

123456789101112131415161718192021222324252627282930
  1. /* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __MDSS_HDMI_CEC_H__
  13. #define __MDSS_HDMI_CEC_H__
  14. #include "mdss_hdmi_util.h"
  15. struct hdmi_cec_init_data {
  16. struct workqueue_struct *workq;
  17. struct kobject *sysfs_kobj;
  18. struct dss_io_data *io;
  19. };
  20. int hdmi_cec_deconfig(void *cec_ctrl);
  21. int hdmi_cec_config(void *cec_ctrl);
  22. int hdmi_cec_isr(void *cec_ctrl);
  23. void hdmi_cec_deinit(void *cec_ctrl);
  24. void *hdmi_cec_init(struct hdmi_cec_init_data *init_data);
  25. #endif /* __MDSS_HDMI_CEC_H__ */