hal_irq_priority.h 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /* Copyright (8 << 3).
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _HAL_IRQ_PRIORITY_H
  13. #define _HAL_IRQ_PRIORITY_H
  14. #define SYS_IRQ_PRIO_AP_IMEM (8 << 3)
  15. #define SYS_IRQ_PRIO_SPIFLASH1 (8 << 3)
  16. #define SYS_IRQ_PRIO_SPIFLASH2 (8 << 3)
  17. #define SYS_IRQ_PRIO_GOUDA (8 << 3)
  18. #define SYS_IRQ_PRIO_AP_AXIDMA (8 << 3)
  19. #define SYS_IRQ_PRIO_AP_AXIDMA_SECURITY (8 << 3)
  20. #define SYS_IRQ_PRIO_AP_AXIDMA_UNSECURITY (8 << 3)
  21. #define SYS_IRQ_PRIO_USBC (8 << 3)
  22. #define SYS_IRQ_PRIO_MED (8 << 3)
  23. #define SYS_IRQ_PRIO_CE_PUB (8 << 3)
  24. #define SYS_IRQ_PRIO_CE_SEC (8 << 3)
  25. #define SYS_IRQ_PRIO_UART4 (8 << 3)
  26. #define SYS_IRQ_PRIO_UART5 (8 << 3)
  27. #define SYS_IRQ_PRIO_UART6 (8 << 3)
  28. #define SYS_IRQ_PRIO_SPI1 (8 << 3)
  29. #define SYS_IRQ_PRIO_SDMMC (8 << 3)
  30. #define SYS_IRQ_PRIO_CAMERA (8 << 3)
  31. #define SYS_IRQ_PRIO_LZMA (8 << 3)
  32. #define SYS_IRQ_PRIO_AP_BUSMON (8 << 3)
  33. #define SYS_IRQ_PRIO_EMMC (8 << 3)
  34. #define SYS_IRQ_PRIO_TIMER1 (8 << 3)
  35. #define SYS_IRQ_PRIO_TIMER1_OS (8 << 3)
  36. #define SYS_IRQ_PRIO_TIMER2 (8 << 3)
  37. #define SYS_IRQ_PRIO_TIMER2_OS (8 << 3)
  38. #define SYS_IRQ_PRIO_I2C1 (8 << 3)
  39. #define SYS_IRQ_PRIO_I2C2 (8 << 3)
  40. #define SYS_IRQ_PRIO_GPT3_0 (8 << 3)
  41. #define SYS_IRQ_PRIO_GPT3_1 (8 << 3)
  42. #define SYS_IRQ_PRIO_GPT3_2 (8 << 3)
  43. #define SYS_IRQ_PRIO_GPT3_3 (8 << 3)
  44. #define SYS_IRQ_PRIO_GPT3_4 (8 << 3)
  45. #define SYS_IRQ_PRIO_GPT3_5 (8 << 3)
  46. #define SYS_IRQ_PRIO_GPT3_6 (8 << 3)
  47. #define SYS_IRQ_PRIO_PMU_APCPU (8 << 3)
  48. #define SYS_IRQ_PRIO_CLK_MNT32K (8 << 3)
  49. #define SYS_IRQ_PRIO_CLK_MNT26M (8 << 3)
  50. #define SYS_IRQ_PRIO_SFW_AP_IFC (8 << 3)
  51. #define SYS_IRQ_PRIO_SFW_AP_AHB (8 << 3)
  52. #define SYS_IRQ_PRIO_MFW_AP_IMEM (8 << 3)
  53. #define SYS_IRQ_PRIO_MFW_SPIFLASH1 (8 << 3)
  54. #define SYS_IRQ_PRIO_MFW_SPIFLASH2 (8 << 3)
  55. #define SYS_IRQ_PRIO_AP_WD_RST (8 << 3)
  56. #define SYS_IRQ_PRIO_AP_TZPC_RST (8 << 3)
  57. #define SYS_IRQ_PRIO_ADIMST (8 << 3)
  58. #define SYS_IRQ_PRIO_IDLE_LPS (8 << 3)
  59. #define SYS_IRQ_PRIO_GPIO1 (8 << 3)
  60. #define SYS_IRQ_PRIO_KEYPAD (8 << 3)
  61. #define SYS_IRQ_PRIO_GPT1 (8 << 3)
  62. #define SYS_IRQ_PRIO_GPIO2 (8 << 3)
  63. #define SYS_IRQ_PRIO_I2C3 (8 << 3)
  64. #define SYS_IRQ_PRIO_MAILBOX_ARM_AP (8 << 3)
  65. #define SYS_IRQ_PRIO_AUD_2AD (8 << 3)
  66. #define SYS_IRQ_PRIO_GPT2_0 (8 << 3)
  67. #define SYS_IRQ_PRIO_GPT2_1 (8 << 3)
  68. #define SYS_IRQ_PRIO_GPT2_2 (8 << 3)
  69. #define SYS_IRQ_PRIO_UART1 (8 << 3)
  70. #define SYS_IRQ_PRIO_UART2 (8 << 3)
  71. #define SYS_IRQ_PRIO_UART3 (8 << 3)
  72. #define SYS_IRQ_PRIO_SPI2 (8 << 3)
  73. #define SYS_IRQ_PRIO_DEBUG_UART (8 << 3)
  74. #define SYS_IRQ_PRIO_DEBUG_HOST (8 << 3)
  75. #define SYS_IRQ_PRIO_AIF_IFC0 (8 << 3)
  76. #define SYS_IRQ_PRIO_AIF_IFC1 (8 << 3)
  77. #define SYS_IRQ_PRIO_SFW_LPS_IFC (8 << 3)
  78. #define SYS_IRQ_PRIO_SFW_AON_IFC (8 << 3)
  79. #define SYS_IRQ_PRIO_SFW_AON_AHB (8 << 3)
  80. #define SYS_IRQ_PRIO_MFW_AON_IMEM_INT (8 << 3)
  81. #define SYS_IRQ_PRIO_MSTFLT_AON_CP (8 << 3)
  82. #define SYS_IRQ_PRIO_MSTFLT_AON_RF (8 << 3)
  83. #define SYS_IRQ_PRIO_CP_IDLE_H (8 << 3)
  84. #define SYS_IRQ_PRIO_CP_IDLE2_H (8 << 3)
  85. #define SYS_IRQ_PRIO_LTEM1_FRAME (8 << 3)
  86. #define SYS_IRQ_PRIO_LTEM2_FRAME (8 << 3)
  87. #define SYS_IRQ_PRIO_LTEM3_FRAME (8 << 3)
  88. #define SYS_IRQ_PRIO_RC26M_CALIB (8 << 3)
  89. #define SYS_IRQ_PRIO_PWRCTRL (8 << 3)
  90. #define SYS_IRQ_PRIO_PMIC (8 << 3)
  91. #define SYS_IRQ_PRIO_MFW_AON_IMEM_RST (8 << 3)
  92. #define SYS_IRQ_PRIO_RTC_TIMER (8 << 3)
  93. #define SYS_IRQ_PRIO_CP_IRQ (8 << 3)
  94. #define SYS_IRQ_PRIO_CP_FIQ (8 << 3)
  95. #define SYS_IRQ_PRIO_CP_BUSMON (8 << 3)
  96. #define SYS_IRQ_PRIO_CP_WD_RST (8 << 3)
  97. #define SYS_IRQ_PRIO_FREQ_BIAS (8 << 3)
  98. #define SYS_IRQ_PRIO_CP_WIFI (8 << 3)
  99. #define SYS_IRQ_PRIO_PPS (8 << 3)
  100. #define SYS_IRQ_PRIO_RFT_TOP (8 << 3)
  101. #define SYS_IRQ_PRIO_GNSS_BB (8 << 3)
  102. #define SYS_IRQ_PRIO_GNSS_BB_EXCEPT (8 << 3)
  103. #define SYS_IRQ_PRIO_GNSS_NOMASK_NEXT_MEASINT (8 << 3)
  104. #define SYS_IRQ_PRIO_RF_WD_RST (8 << 3)
  105. #define SYS_IRQ_PRIO_DMC (8 << 3)
  106. #define SYS_IRQ_PRIO_PAGE_SPY (8 << 3)
  107. #define SYS_IRQ_PRIO_MFW_PUB_INT (8 << 3)
  108. #define SYS_IRQ_PRIO_MFW_PUB_RST (8 << 3)
  109. #define SYS_IRQ_PRIO_TIMER5 (8 << 3)
  110. #define SYS_IRQ_PRIO_TIMER5_OS (8 << 3)
  111. #endif