si_8348_internal_api.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. SiI8348 Linux Driver
  3. Copyright (C) 2013 Silicon Image, Inc.
  4. This program is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License as
  6. published by the Free Software Foundation version 2.
  7. This program is distributed AS-IS WITHOUT ANY WARRANTY of any
  8. kind, whether express or implied; INCLUDING without the implied warranty
  9. of MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE or NON-INFRINGEMENT. See
  10. the GNU General Public License for more details at http://www.gnu.org/licenses/gpl-2.0.html.
  11. */
  12. struct drv_hw_context;
  13. int si_mhl_tx_drv_get_edid_fifo_next_block(struct drv_hw_context *hw_context,
  14. uint8_t *edid_buf);
  15. int si_mhl_tx_drv_set_upstream_edid(struct drv_hw_context *hw_context,
  16. uint8_t *edid, uint16_t length);
  17. uint8_t si_get_peer_mhl_version(void *drv_context);
  18. int si_peer_supports_packed_pixel(void *drv_context);
  19. bool si_mhl_tx_set_int(void *drv_context, uint8_t regToWrite,
  20. uint8_t mask, uint8_t priorityLevel);
  21. uint16_t si_mhl_tx_drv_get_incoming_horizontal_total(
  22. struct drv_hw_context *hw_context);
  23. uint16_t si_mhl_tx_drv_get_incoming_vertical_total(
  24. struct drv_hw_context *hw_context);
  25. void si_mhl_tx_process_info_frame_change(void * driver_context
  26. , vendor_specific_info_frame_t *vs_info_frame
  27. , avi_info_frame_t *avi_info_frame);
  28. #ifdef ENABLE_COLOR_SPACE_DEBUG_PRINT //(
  29. void print_color_settings_impl( void *drv_context,char *pszId,int iLine);
  30. #define print_color_settings(drv_context,id,line) print_color_settings_impl(drv_context,id,line);
  31. #else //)(
  32. #define print_color_settings(drv_context,id,line)
  33. #endif //)
  34. #if 0
  35. void si_mhl_tx_tmds_enable( void *drv_context);
  36. #endif // 0