big_data.h 999 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * big_data.h -- Big Data defines for Cirrus Logic Smart Amplifiers
  3. *
  4. * Copyright 2017 Cirrus Logic
  5. *
  6. * Author: David Rhodes <[email protected]>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. /* These values are specific to Playback 5.00.5 */
  13. #define CIRRUS_BD_MAX_TEMP 0x28003a4
  14. #define CIRRUS_BD_MAX_EXC 0x28003a8
  15. #define CIRRUS_BD_OVER_TEMP_COUNT 0x28003ac
  16. #define CIRRUS_BD_OVER_EXC_COUNT 0x28003b0
  17. #define CIRRUS_BD_ABNORMAL_MUTE 0x28003b4
  18. #define CIRRUS_BD_ERR_TEMP 2472346
  19. #define CIRRUS_BD_TEMP_RADIX 14
  20. #define CIRRUS_BD_EXC_RADIX 19
  21. #define CIRRUS_BD_NUM_ATTRS_BASE 1
  22. #define CIRRUS_BD_NUM_ATTRS_AMP 7
  23. void cirrus_bd_amp_err(const char *mfd_suffix);
  24. void cirrus_bd_bst_short(const char *mfd_suffix);
  25. void cirrus_bd_store_values(const char *mfd_suffix);
  26. int cirrus_bd_init(void);
  27. void cirrus_bd_exit(void);