dfx.h 651 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) 2019 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. * https://spdx.org/licenses
  6. */
  7. /* DFX sub-FID */
  8. #define MV_SIP_DFX_THERMAL_INIT 1
  9. #define MV_SIP_DFX_THERMAL_READ 2
  10. #define MV_SIP_DFX_THERMAL_IS_VALID 3
  11. #define MV_SIP_DFX_THERMAL_IRQ 4
  12. #define MV_SIP_DFX_THERMAL_THRESH 5
  13. #define MV_SIP_DFX_THERMAL_SEL_CHANNEL 6
  14. #define MV_SIP_DFX_SREAD 20
  15. #define MV_SIP_DFX_SWRITE 21
  16. int mvebu_dfx_thermal_handle(u_register_t func, u_register_t *read,
  17. u_register_t x2, u_register_t x3);
  18. int mvebu_dfx_misc_handle(u_register_t func, u_register_t *read,
  19. u_register_t addr, u_register_t val);