dtv5100.h 866 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * DVB USB Linux driver for AME DTV-5100 USB2.0 DVB-T
  4. *
  5. * Copyright (C) 2008 Antoine Jacquet <[email protected]>
  6. * http://royale.zerezo.com/dtv5100/
  7. */
  8. #ifndef _DVB_USB_DTV5100_H_
  9. #define _DVB_USB_DTV5100_H_
  10. #define DVB_USB_LOG_PREFIX "dtv5100"
  11. #include "dvb-usb.h"
  12. #define DTV5100_USB_TIMEOUT 500
  13. #define DTV5100_DEMOD_ADDR 0x00
  14. #define DTV5100_DEMOD_WRITE 0xc0
  15. #define DTV5100_DEMOD_READ 0xc1
  16. #define DTV5100_TUNER_ADDR 0xc4
  17. #define DTV5100_TUNER_WRITE 0xc7
  18. #define DTV5100_TUNER_READ 0xc8
  19. #define DRIVER_AUTHOR "Antoine Jacquet, http://royale.zerezo.com/"
  20. #define DRIVER_DESC "AME DTV-5100 USB2.0 DVB-T"
  21. static struct {
  22. u8 request;
  23. u8 value;
  24. u16 index;
  25. } dtv5100_init[] = {
  26. { 0x000000c5, 0x00000000, 0x00000001 },
  27. { 0x000000c5, 0x00000001, 0x00000001 },
  28. { } /* Terminating entry */
  29. };
  30. #endif