Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 21st, 2010 | Syntax: None | Size: 10.56 KB | Hits: 42 | Expires: Never
Copy text to clipboard
  1. /** include/asm-arm/arch-msm/msm_rpc_version.h
  2.  *
  3.  * Copyright (C) 2008 HTC Corporation
  4.  *
  5.  * This software is licensed under the terms of the GNU General Public
  6.  * License version 2, as published by the Free Software Foundation, and
  7.  * may be copied, distributed, and modified under those terms.
  8.  *
  9.  * This program is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.  * GNU General Public License for more details.
  13.  *
  14.  */
  15.  
  16. #ifndef __ASM__ARCH_MSM_RPC_VERSION_H
  17. #define __ASM__ARCH_MSM_RPC_VERSION_H
  18.  
  19. #if (CONFIG_MSM_AMSS_VERSION == 6210)
  20. #define INT_ADSP                               INT_ADSP_A11
  21. #define ADSP_DRIVER_NAME                       "rs3000000a:20f17fd3"
  22. #define RPC_ADSP_RTOS_ATOM_VERS                0x20f17fd3 /* 552697811 */
  23. #define RPC_ADSP_RTOS_MTOA_VERS                0x75babbd6 /* 1975172054 */
  24. #define AUDMGR_VERS                            0x46255756 /* 1176852310 */
  25. #define AUDMGR_CB_VERS                         0x5fa922a9 /* 1604919977 */
  26. #define DOG_KEEPALIVE_VERS                     0
  27. #define RPC_DOG_KEEPALIVE_BEACON               1
  28. #define TIME_REMOTE_MTOA_VERS                  0
  29. #define RPC_SND_VERS                           0x94756085 /* 2490720389 */
  30. #define RPC_SND_CB_VERS                        0xfb9dd580 /* 4221425024 */
  31. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  24
  32. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 25
  33.  
  34. #elif (CONFIG_MSM_AMSS_VERSION == 6220) || (CONFIG_MSM_AMSS_VERSION == 6225)
  35. #define INT_ADSP                               INT_ADSP_A9_A11
  36. #define ADSP_DRIVER_NAME                       "rs3000000a:71d1094b"
  37. #define RPC_ADSP_RTOS_ATOM_VERS                0x71d1094b /* 1909524811 */
  38. #define RPC_ADSP_RTOS_MTOA_VERS                0xee3a9966 /* 3996817766 */
  39. #define AUDMGR_VERS                            0xe94e8f0c /* 3914239756 */
  40. #define AUDMGR_CB_VERS                         0x21570ba7 /* 559352743 */
  41. #define DOG_KEEPALIVE_VERS                     0x731fa727 /* 1931454247 */
  42. #define RPC_DOG_KEEPALIVE_BEACON               2
  43. #define TIME_REMOTE_MTOA_VERS                  0x9202a8e4 /* 2449647844 */
  44. #define RPC_SND_VERS                           0xaa2b1a44 /* 2854951492 */
  45. #define RPC_SND_CB_VERS                        0x71e691ca /* 1910936010 */
  46. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  24
  47. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 25
  48.  
  49. #elif (CONFIG_MSM_AMSS_VERSION == 6335)
  50. #define INT_ADSP                               INT_ADSP_A11
  51. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  52. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001 /* 65537 */
  53. #define RPC_ADSP_RTOS_MTOA_VERS                0x20001 /* 131073 */
  54. #define AUDMGR_VERS                            0x10001 /* 65537 */
  55. #define AUDMGR_CB_VERS                         0x10001 /* 65537 */
  56. #define DOG_KEEPALIVE_VERS                     0x10001 /* 65537 */
  57. #define RPC_DOG_KEEPALIVE_BEACON               2
  58. #define TIME_REMOTE_MTOA_VERS                  0x10001 /* 65537 */
  59. #define RPC_SND_VERS                           0x9e760ec4
  60. #define RPC_SND_CB_VERS                        0xb69cb1cf
  61. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  62. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  63.  
  64. #elif (CONFIG_MSM_AMSS_VERSION == 6340)
  65. #define INT_ADSP                               INT_ADSP_A11
  66. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  67. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001 /* 65537 */
  68. #define RPC_ADSP_RTOS_MTOA_VERS                0x20001 /* 131073 */
  69. #define AUDMGR_VERS                            0x10002 /* 65538 */
  70. #define AUDMGR_CB_VERS                         0x10002 /* 65538 */
  71. #define DOG_KEEPALIVE_VERS                     0x10001 /* 65537 */
  72. #define RPC_DOG_KEEPALIVE_BEACON               2
  73. #define TIME_REMOTE_MTOA_VERS                  0x10001 /* 65537 */
  74. #define RPC_SND_VERS                           0x10001
  75. #define RPC_SND_CB_VERS                        0x10001
  76. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  77. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  78.  
  79. #elif (CONFIG_MSM_AMSS_VERSION == 6355)
  80. #define INT_ADSP                               INT_ADSP_A9_A11
  81. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  82. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001 /* 65537 */
  83. #define RPC_ADSP_RTOS_MTOA_VERS                0x20001 /* 131073 */
  84. #define AUDMGR_VERS                            0x10002 /* 65538 */
  85. #define AUDMGR_CB_VERS                         0x10002 /* 65538 */
  86. #define DOG_KEEPALIVE_VERS                     0x10001 /* 65537 */
  87. #define RPC_DOG_KEEPALIVE_BEACON               2
  88. #define TIME_REMOTE_MTOA_VERS                  0x10001 /* 65537 */
  89. #define RPC_SND_VERS                           0x10001
  90. #define RPC_SND_CB_VERS                        0x10001
  91. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  92. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  93.  
  94. #elif (CONFIG_MSM_AMSS_VERSION == 4001)
  95. #define INT_ADSP                               INT_ADSP_A9_A11
  96. #define ADSP_DRIVER_NAME                       "rs3000000a:71d1094b"
  97. #define RPC_ADSP_RTOS_ATOM_VERS                0x71d1094b /* 1909524811 */
  98. #define RPC_ADSP_RTOS_MTOA_VERS                0xf2441eae /* 4064550574 */
  99. #define AUDMGR_VERS                            0xe94e8f0c /* 3914239756 */
  100. #define AUDMGR_CB_VERS                         0x21570ba7 /* 559352743 */
  101. #define DOG_KEEPALIVE_VERS                     0x731fa727 /* 1931454247 */
  102. #define RPC_DOG_KEEPALIVE_BEACON               2
  103. #define TIME_REMOTE_MTOA_VERS                  0x9202a8e4 /* 2449647844 */
  104. #define RPC_SND_VERS                           0xaa2b1a44 /* 2854951492 */
  105. #define RPC_SND_CB_VERS                        0x71e691ca /* 1910936010 */
  106. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  24
  107. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 25
  108.  
  109. #elif (CONFIG_MSM_AMSS_VERSION == 1320)
  110. #define INT_ADSP                               INT_ADSP_A11
  111. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  112. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001 /* 65537 */
  113. #define RPC_ADSP_RTOS_MTOA_VERS                0x10001 /* 65537 */
  114. #define AUDMGR_VERS                            0x10001 /* 65537 */
  115. #define AUDMGR_CB_VERS                         0x10001 /* 65537 */
  116. #define DOG_KEEPALIVE_VERS                     0x10001 /* 65537 */
  117. #define RPC_DOG_KEEPALIVE_BEACON               2
  118. #define TIME_REMOTE_MTOA_VERS                  0x10001 /* 65537 */
  119. #define RPC_SND_VERS                           0x9e760ec4 /* 0x9e760ec4 */
  120. #define RPC_SND_CB_VERS                        0xb69cb1cf /* 0xb69cb1cf */
  121. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  122. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  123.  
  124. #elif (CONFIG_MSM_AMSS_VERSION == 1330)
  125. #define INT_ADSP                               INT_ADSP_A11
  126. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  127. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001
  128. #define RPC_ADSP_RTOS_MTOA_VERS                0x10001
  129. #define AUDMGR_VERS                            0x10002
  130. #define AUDMGR_CB_VERS                         0x10002
  131. #define DOG_KEEPALIVE_VERS                     0x10001
  132. #define RPC_DOG_KEEPALIVE_BEACON               2
  133. #define TIME_REMOTE_MTOA_VERS                  0x10001
  134. #define RPC_SND_VERS                           0x9e760ec4
  135. #define RPC_SND_CB_VERS                        0xb69cb1cf
  136. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  137. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  138.  
  139. #elif (CONFIG_MSM_AMSS_VERSION == 1340)
  140. #define INT_ADSP                               INT_ADSP_A11
  141. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  142. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001
  143. #define RPC_ADSP_RTOS_MTOA_VERS                0x10001
  144. #define AUDMGR_VERS                            0x10002
  145. #define AUDMGR_CB_VERS                         0x10002
  146. #define DOG_KEEPALIVE_VERS                     0x10001
  147. #define RPC_DOG_KEEPALIVE_BEACON               2
  148. #define TIME_REMOTE_MTOA_VERS                  0x10001
  149. #define RPC_SND_VERS                           0x10001
  150. #define RPC_SND_CB_VERS                        0x10001
  151. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  152. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  153.  
  154. #elif (CONFIG_MSM_AMSS_VERSION == 1355)
  155. #define INT_ADSP                               INT_ADSP_A9_A11
  156. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  157. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001
  158. #define RPC_ADSP_RTOS_MTOA_VERS                0x10001
  159. #define AUDMGR_VERS                            0x10002
  160. #define AUDMGR_CB_VERS                         0x10002
  161. #define DOG_KEEPALIVE_VERS                     0x10001
  162. #define RPC_DOG_KEEPALIVE_BEACON               2
  163. #define TIME_REMOTE_MTOA_VERS                  0x10001
  164. #define RPC_SND_VERS                           0x10001
  165. #define RPC_SND_CB_VERS                        0x10001
  166. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  167. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  168.  
  169. #elif (CONFIG_MSM_AMSS_VERSION == 4110)
  170. #define INT_ADSP                               INT_ADSP_A11
  171. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  172. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001
  173. #define RPC_ADSP_RTOS_MTOA_VERS                0x20001
  174. #define AUDMGR_VERS                            0x10001
  175. #define AUDMGR_CB_VERS                         0x10001
  176. #define DOG_KEEPALIVE_VERS                     0x10001
  177. #define RPC_DOG_KEEPALIVE_BEACON               2
  178. #define TIME_REMOTE_MTOA_VERS                  0x10001
  179. #define RPC_SND_VERS                           0x9e760ec4
  180. #define RPC_SND_CB_VERS                        0xb69cb1cf
  181. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  182. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  183.  
  184. #elif (CONFIG_MSM_AMSS_VERSION == 4410)
  185. #define INT_ADSP                               INT_ADSP_A9_A11
  186. #define ADSP_DRIVER_NAME                       "rs3000000a:00010001"
  187. #define RPC_ADSP_RTOS_ATOM_VERS                0x10001
  188. #define RPC_ADSP_RTOS_MTOA_VERS                0x20001
  189. #define AUDMGR_VERS                            0x10002
  190. #define AUDMGR_CB_VERS                         0x10002
  191. #define DOG_KEEPALIVE_VERS                     0x10001
  192. #define RPC_DOG_KEEPALIVE_BEACON               2
  193. #define TIME_REMOTE_MTOA_VERS                  0x10001
  194. #define RPC_SND_VERS                           0x10001
  195. #define RPC_SND_CB_VERS                        0x10001
  196. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC  23
  197. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  198.  
  199. #endif
  200.  
  201. #endif /*__ASM__ARCH_MSM_RPC_VERSION_H */