dst_ca.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. CA-driver for TwinHan DST Frontend/Card
  3. Copyright (C) 2004, 2005 Manu Abraham (manu@kromtek.com)
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  15. */
  16. #ifndef _DST_CA_H_
  17. #define _DST_CA_H_
  18. #define RETRIES 5
  19. #define CA_APP_INFO_ENQUIRY 0x9f8020
  20. #define CA_APP_INFO 0x9f8021
  21. #define CA_ENTER_MENU 0x9f8022
  22. #define CA_INFO_ENQUIRY 0x9f8030
  23. #define CA_INFO 0x9f8031
  24. #define CA_PMT 0x9f8032
  25. #define CA_PMT_REPLY 0x9f8033
  26. #define CA_CLOSE_MMI 0x9f8800
  27. #define CA_DISPLAY_CONTROL 0x9f8801
  28. #define CA_DISPLAY_REPLY 0x9f8802
  29. #define CA_TEXT_LAST 0x9f8803
  30. #define CA_TEXT_MORE 0x9f8804
  31. #define CA_KEYPAD_CONTROL 0x9f8805
  32. #define CA_KEYPRESS 0x9f8806
  33. #define CA_ENQUIRY 0x9f8807
  34. #define CA_ANSWER 0x9f8808
  35. #define CA_MENU_LAST 0x9f8809
  36. #define CA_MENU_MORE 0x9f880a
  37. #define CA_MENU_ANSWER 0x9f880b
  38. #define CA_LIST_LAST 0x9f880c
  39. #define CA_LIST_MORE 0x9f880d
  40. struct dst_ca_private {
  41. struct dst_state *dst;
  42. struct dvb_device *dvbdev;
  43. };
  44. #endif