Advertisement
Guest User

Woz

a guest
Aug 24th, 2010
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.91 KB | None | 0 0
  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. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:00000000"
  34. #define PM_LIBVERS 0xfb837d0b
  35. #define HTC_PROCEDURE_SET_VIB_ON_OFF 21
  36.  
  37. #elif (CONFIG_MSM_AMSS_VERSION == 6220) || (CONFIG_MSM_AMSS_VERSION == 6225)
  38. #define INT_ADSP INT_ADSP_A9_A11
  39. #define ADSP_DRIVER_NAME "rs3000000a:71d1094b"
  40. #define RPC_ADSP_RTOS_ATOM_VERS 0x71d1094b /* 1909524811 */
  41. #define RPC_ADSP_RTOS_MTOA_VERS 0xee3a9966 /* 3996817766 */
  42. #define AUDMGR_VERS 0xe94e8f0c /* 3914239756 */
  43. #define AUDMGR_CB_VERS 0x21570ba7 /* 559352743 */
  44. #define DOG_KEEPALIVE_VERS 0x731fa727 /* 1931454247 */
  45. #define RPC_DOG_KEEPALIVE_BEACON 2
  46. #define TIME_REMOTE_MTOA_VERS 0x9202a8e4 /* 2449647844 */
  47. #define RPC_SND_VERS 0xaa2b1a44 /* 2854951492 */
  48. #define RPC_SND_CB_VERS 0x71e691ca /* 1910936010 */
  49. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC 24
  50. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 25
  51. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:0da5b528"
  52. #define PM_LIBVERS 0xfb837d0b
  53. #define HTC_PROCEDURE_SET_VIB_ON_OFF 21
  54.  
  55. #elif (CONFIG_MSM_AMSS_VERSION == 6355)
  56. #define INT_ADSP INT_ADSP_A9_A11
  57. #define ADSP_DRIVER_NAME "rs3000000a:00010001"
  58. #define RPC_ADSP_RTOS_ATOM_VERS 0x10001 /* 65537 */
  59. #define RPC_ADSP_RTOS_MTOA_VERS 0x20001 /* 131073 */
  60. #define AUDMGR_VERS 0x10002 /* 65538 */
  61. #define AUDMGR_CB_VERS 0x10002 /* 65538 */
  62. #define DOG_KEEPALIVE_VERS 0x10001 /* 65537 */
  63. #define RPC_DOG_KEEPALIVE_BEACON 2
  64. #define TIME_REMOTE_MTOA_VERS 0x10001 /* 65537 */
  65. #define RPC_SND_VERS 0x10001
  66. #define RPC_SND_CB_VERS 0x10001
  67. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC 23
  68. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  69. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:00010001"
  70. #define PM_LIBVERS 0x10001
  71. #define HTC_PROCEDURE_SET_VIB_ON_OFF 21
  72.  
  73. #elif (CONFIG_MSM_AMSS_VERSION == 1355)
  74. #define INT_ADSP INT_ADSP_A9_A11
  75. #define ADSP_DRIVER_NAME "rs3000000a:00010001"
  76. #define RPC_ADSP_RTOS_ATOM_VERS 0x10001
  77. #define RPC_ADSP_RTOS_MTOA_VERS 0x10001
  78. #define AUDMGR_VERS 0x10002
  79. #define AUDMGR_CB_VERS 0x10002
  80. #define DOG_KEEPALIVE_VERS 0x10001
  81. #define RPC_DOG_KEEPALIVE_BEACON 2
  82. #define TIME_REMOTE_MTOA_VERS 0x10001
  83. #define RPC_SND_VERS 0x10001
  84. #define RPC_SND_CB_VERS 0x10001
  85. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC 23
  86. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  87. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:915823fc"
  88. #define PM_LIBVERS 0x10001
  89. #define HTC_PROCEDURE_SET_VIB_ON_OFF 21
  90.  
  91. #elif (CONFIG_MSM_AMSS_VERSION == 4320)
  92. #define INT_ADSP INT_ADSP_A9_A11
  93. #define ADSP_DRIVER_NAME "rs3000000a:00010001"
  94. #define RPC_ADSP_RTOS_ATOM_VERS 0x10001
  95. #define RPC_ADSP_RTOS_MTOA_VERS 0x30002
  96. #define AUDMGR_VERS 0x20002
  97. #define AUDMGR_CB_VERS 0x20002
  98. #define DOG_KEEPALIVE_VERS 0x10001
  99. #define RPC_DOG_KEEPALIVE_BEACON 2
  100. #define TIME_REMOTE_MTOA_VERS 0x10002
  101. #define RPC_SND_VERS 0x20002
  102. #define RPC_SND_CB_VERS 0x20002
  103. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC 24
  104. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 25
  105. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:00010003"
  106. #define PM_LIBVERS 0x10001
  107. #define HTC_PROCEDURE_SET_VIB_ON_OFF 21
  108.  
  109. #elif (CONFIG_MSM_AMSS_VERSION == 4725)
  110. #define INT_ADSP INT_ADSP_A9_A11
  111. #define ADSP_DRIVER_NAME "rs3000000a:00010001"
  112. #define RPC_ADSP_RTOS_ATOM_VERS 0x10001
  113. #define RPC_ADSP_RTOS_MTOA_VERS 0x30002
  114. #define AUDMGR_VERS 0x20002
  115. #define AUDMGR_CB_VERS 0x20002
  116. #define DOG_KEEPALIVE_VERS 0x10001
  117. #define RPC_DOG_KEEPALIVE_BEACON 2
  118. #define TIME_REMOTE_MTOA_VERS 0x10002
  119. #define RPC_SND_VERS 0x20002
  120. #define RPC_SND_CB_VERS 0x20002
  121. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC 24
  122. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 25
  123. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:00010003"
  124. #define PM_LIBVERS 0x10001
  125. #define HTC_PROCEDURE_SET_VIB_ON_OFF 22
  126.  
  127. #elif (CONFIG_MSM_AMSS_VERSION == 4735)
  128. #define INT_ADSP INT_ADSP_A9_A11
  129. #define ADSP_DRIVER_NAME "rs3000000a:00010001"
  130. #define RPC_ADSP_RTOS_ATOM_VERS 0x10001
  131. #define RPC_ADSP_RTOS_MTOA_VERS 0x30002
  132. #define AUDMGR_VERS 0x20002
  133. #define AUDMGR_CB_VERS 0x20002
  134. #define DOG_KEEPALIVE_VERS 0x10001
  135. #define RPC_DOG_KEEPALIVE_BEACON 2
  136. #define TIME_REMOTE_MTOA_VERS 0x10002
  137. #define RPC_SND_VERS 0x20002
  138. #define RPC_SND_CB_VERS 0x20002
  139. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC 24
  140. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 25
  141. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:00010004"
  142. #define PM_LIBVERS 0x10001
  143. #define HTC_PROCEDURE_SET_VIB_ON_OFF 22
  144.  
  145. #elif (CONFIG_MSM_AMSS_VERSION == 4410)
  146. #define INT_ADSP INT_ADSP_A9_A11
  147. #define ADSP_DRIVER_NAME "rs3000000a:00010001"
  148. #define RPC_ADSP_RTOS_ATOM_VERS 0x10001
  149. #define RPC_ADSP_RTOS_MTOA_VERS 0x20001
  150. #define AUDMGR_VERS 0x10002
  151. #define AUDMGR_CB_VERS 0x10002
  152. #define DOG_KEEPALIVE_VERS 0x10001
  153. #define RPC_DOG_KEEPALIVE_BEACON 2
  154. #define TIME_REMOTE_MTOA_VERS 0x10001
  155. #define RPC_SND_VERS 0x10001
  156. #define RPC_SND_CB_VERS 0x10001
  157. #define VOCPCM_REGISTER_PCM_INPUT_CLIENT_PROC 23
  158. #define VOCPCM_REGISTER_PCM_OUTPUT_CLIENT_PROC 24
  159. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:00010001"
  160. #define PM_LIBVERS 0x10001
  161. #define HTC_PROCEDURE_SET_VIB_ON_OFF 21
  162.  
  163. #elif(CONFIG_MSM_AMSS_VERSION == 3200)
  164. #define TIME_REMOTE_MTOA_VERS 0x9202a8e4 /* 2449647844 */
  165. #define DOG_KEEPALIVE_VERS 0x731fa727 /* 1931454247 */
  166. #define RPC_DOG_KEEPALIVE_BEACON 2
  167. #define APP_TIMEREMOTE_PDEV_NAME "rs30000048:00010000"
  168. #define HTC_PROCEDURE_SET_VIB_ON_OFF 22
  169. #define PM_LIBVERS 0x10001
  170. #endif
  171.  
  172. #endif /*__ASM__ARCH_MSM_RPC_VERSION_H */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement