Dma_Ip_Driver_State.c.016i.visibility 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. Marking local functions:
  2. Marking externally visible functions: Dma_Ip_SetHwChannelStatePointer Dma_Ip_GetHwChannelStatePointer Dma_Ip_GetHwChannelState Dma_Ip_SetHwChannelState
  3. Marking externally visible variables:
  4. Reclaiming functions:
  5. Reclaiming variables:
  6. Clearing address taken flags:
  7. Symbol table:
  8. fpa_Dma_Ip_HwChannelState.6006/10 (fpa_Dma_Ip_HwChannelState) @06e1e7e0
  9. Type: variable definition analyzed
  10. Visibility: force_output no_reorder prevailing_def_ironly
  11. References: Dma_Ip_SetHwChannel_ResetEvent/1 (addr)Dma_Ip_SetHwChannel_ReadyEvent/2 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ResetEvent/1 (addr)Dma_Ip_SetHwChannel_ReadyEvent/2 (addr)Dma_Ip_SetHwChannel_TransferEvent/3 (addr)Dma_Ip_SetHwChannel_ScatterGatherEvent/4 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ResetEvent/1 (addr)Dma_Ip_SetHwChannel_ReadyEvent/2 (addr)Dma_Ip_SetHwChannel_TransferEvent/3 (addr)Dma_Ip_SetHwChannel_ScatterGatherEvent/4 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ResetEvent/1 (addr)Dma_Ip_SetHwChannel_ReadyEvent/2 (addr)Dma_Ip_SetHwChannel_TransferEvent/3 (addr)Dma_Ip_SetHwChannel_ScatterGatherEvent/4 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ResetEvent/1 (addr)Dma_Ip_SetHwChannel_ReadyEvent/2 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)Dma_Ip_SetHwChannel_ErrorEvent/5 (addr)
  12. Referring: Dma_Ip_SetHwChannelState/6 (read)
  13. Availability: available
  14. Varpool flags: initialized read-only const-value-known
  15. Dma_Ip_SetHwChannelStatePointer/9 (Dma_Ip_SetHwChannelStatePointer) @06e1b7e0
  16. Type: function definition analyzed
  17. Visibility: force_output externally_visible no_reorder public
  18. References: Dma_Ip_xHwState/0 (write)
  19. Referring:
  20. Availability: available
  21. Function flags: body
  22. Called by:
  23. Calls:
  24. Dma_Ip_GetHwChannelStatePointer/8 (Dma_Ip_GetHwChannelStatePointer) @06e1b540
  25. Type: function definition analyzed
  26. Visibility: force_output externally_visible no_reorder public
  27. References: Dma_Ip_xHwState/0 (read)
  28. Referring:
  29. Availability: available
  30. Function flags: body
  31. Called by:
  32. Calls:
  33. Dma_Ip_GetHwChannelState/7 (Dma_Ip_GetHwChannelState) @06e1b2a0
  34. Type: function definition analyzed
  35. Visibility: force_output externally_visible no_reorder public
  36. References: Dma_Ip_xHwState/0 (read)
  37. Referring:
  38. Availability: available
  39. Function flags: body
  40. Called by:
  41. Calls:
  42. Dma_Ip_SetHwChannelState/6 (Dma_Ip_SetHwChannelState) @06e1b000
  43. Type: function definition analyzed
  44. Visibility: force_output externally_visible no_reorder public
  45. References: Dma_Ip_xHwState/0 (read)fpa_Dma_Ip_HwChannelState.6006/10 (read)
  46. Referring:
  47. Availability: available
  48. Function flags: body
  49. Called by:
  50. Calls:
  51. Indirect call
  52. Dma_Ip_SetHwChannel_ErrorEvent/5 (Dma_Ip_SetHwChannel_ErrorEvent) @06e12b60
  53. Type: function definition analyzed
  54. Visibility: force_output no_reorder prevailing_def_ironly
  55. Address is taken.
  56. References: Dma_Ip_xHwState/0 (read)
  57. Referring: fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)
  58. Availability: available
  59. Function flags: body
  60. Called by:
  61. Calls:
  62. Dma_Ip_SetHwChannel_ScatterGatherEvent/4 (Dma_Ip_SetHwChannel_ScatterGatherEvent) @06e12620
  63. Type: function definition analyzed
  64. Visibility: force_output no_reorder prevailing_def_ironly
  65. Address is taken.
  66. References: Dma_Ip_xHwState/0 (read)
  67. Referring: fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)
  68. Availability: available
  69. Function flags: body
  70. Called by:
  71. Calls:
  72. Dma_Ip_SetHwChannel_TransferEvent/3 (Dma_Ip_SetHwChannel_TransferEvent) @06e12d20
  73. Type: function definition analyzed
  74. Visibility: force_output no_reorder prevailing_def_ironly
  75. Address is taken.
  76. References: Dma_Ip_xHwState/0 (read)
  77. Referring: fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)
  78. Availability: available
  79. Function flags: body
  80. Called by:
  81. Calls:
  82. Dma_Ip_SetHwChannel_ReadyEvent/2 (Dma_Ip_SetHwChannel_ReadyEvent) @06e12a80
  83. Type: function definition analyzed
  84. Visibility: force_output no_reorder prevailing_def_ironly
  85. Address is taken.
  86. References: Dma_Ip_xHwState/0 (read)
  87. Referring: fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)
  88. Availability: available
  89. Function flags: body
  90. Called by:
  91. Calls:
  92. Dma_Ip_SetHwChannel_ResetEvent/1 (Dma_Ip_SetHwChannel_ResetEvent) @06e127e0
  93. Type: function definition analyzed
  94. Visibility: force_output no_reorder prevailing_def_ironly
  95. Address is taken.
  96. References: Dma_Ip_xHwState/0 (read)
  97. Referring: fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)fpa_Dma_Ip_HwChannelState.6006/10 (addr)
  98. Availability: available
  99. Function flags: body
  100. Called by:
  101. Calls:
  102. Dma_Ip_xHwState/0 (Dma_Ip_xHwState) @06df9870
  103. Type: variable definition analyzed
  104. Visibility: force_output no_reorder prevailing_def_ironly
  105. References:
  106. Referring: Dma_Ip_SetHwChannel_ResetEvent/1 (read)Dma_Ip_SetHwChannel_ReadyEvent/2 (read)Dma_Ip_SetHwChannel_TransferEvent/3 (read)Dma_Ip_SetHwChannel_ScatterGatherEvent/4 (read)Dma_Ip_SetHwChannel_ErrorEvent/5 (read)Dma_Ip_SetHwChannelState/6 (read)Dma_Ip_GetHwChannelState/7 (read)Dma_Ip_GetHwChannelStatePointer/8 (read)Dma_Ip_SetHwChannelStatePointer/9 (write)
  107. Availability: available
  108. Varpool flags:
  109. Dma_Ip_SetHwChannelStatePointer (uint32 LocHwVers, uint32 LocHwInst, uint32 LocHwCh, struct Dma_Ip_HwChannelStateType * StatePointer)
  110. {
  111. <bb 2> :
  112. if (LocHwVers == 2)
  113. goto <bb 3>; [INV]
  114. else
  115. goto <bb 4>; [INV]
  116. <bb 3> :
  117. Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh] = StatePointer;
  118. <bb 4> :
  119. return;
  120. }
  121. Dma_Ip_GetHwChannelStatePointer (uint32 LocHwVers, uint32 LocHwInst, uint32 LocHwCh)
  122. {
  123. struct Dma_Ip_HwChannelStateType * ptStatePtr;
  124. struct Dma_Ip_HwChannelStateType * D.6048;
  125. <bb 2> :
  126. ptStatePtr = 0B;
  127. if (LocHwVers == 2)
  128. goto <bb 3>; [INV]
  129. else
  130. goto <bb 4>; [INV]
  131. <bb 3> :
  132. ptStatePtr = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  133. <bb 4> :
  134. D.6048 = ptStatePtr;
  135. <bb 5> :
  136. <L2>:
  137. return D.6048;
  138. }
  139. Dma_Ip_GetHwChannelState (uint32 LocHwVers, uint32 LocHwInst, uint32 LocHwCh)
  140. {
  141. Dma_Ip_HwChannelStateValueType StateValue;
  142. Dma_Ip_HwChannelStateValueType D.6044;
  143. <bb 2> :
  144. StateValue = 0;
  145. if (LocHwVers == 2)
  146. goto <bb 3>; [INV]
  147. else
  148. goto <bb 4>; [INV]
  149. <bb 3> :
  150. _1 = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  151. StateValue = _1->StateValue;
  152. <bb 4> :
  153. D.6044 = StateValue;
  154. <bb 5> :
  155. <L2>:
  156. return D.6044;
  157. }
  158. Dma_Ip_SetHwChannelState (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh, const Dma_Ip_HwChannelEventValueEnum EventValue)
  159. {
  160. Dma_Ip_HwChannelStateValueType StateValue;
  161. static void (*<T585>) (const uint32, const uint32, const uint32) fpa_Dma_Ip_HwChannelState[5][5] = {{Dma_Ip_SetHwChannel_ResetEvent, Dma_Ip_SetHwChannel_ReadyEvent, Dma_Ip_SetHwChannel_ErrorEvent, Dma_Ip_SetHwChannel_ErrorEvent, Dma_Ip_SetHwChannel_ErrorEvent}, {Dma_Ip_SetHwChannel_ResetEvent, Dma_Ip_SetHwChannel_ReadyEvent, Dma_Ip_SetHwChannel_TransferEvent, Dma_Ip_SetHwChannel_ScatterGatherEvent, Dma_Ip_SetHwChannel_ErrorEvent}, {Dma_Ip_SetHwChannel_ResetEvent, Dma_Ip_SetHwChannel_ReadyEvent, Dma_Ip_SetHwChannel_TransferEvent, Dma_Ip_SetHwChannel_ScatterGatherEvent, Dma_Ip_SetHwChannel_ErrorEvent}, {Dma_Ip_SetHwChannel_ResetEvent, Dma_Ip_SetHwChannel_ReadyEvent, Dma_Ip_SetHwChannel_TransferEvent, Dma_Ip_SetHwChannel_ScatterGatherEvent, Dma_Ip_SetHwChannel_ErrorEvent}, {Dma_Ip_SetHwChannel_ResetEvent, Dma_Ip_SetHwChannel_ReadyEvent, Dma_Ip_SetHwChannel_ErrorEvent, Dma_Ip_SetHwChannel_ErrorEvent, Dma_Ip_SetHwChannel_ErrorEvent}};
  162. <bb 2> :
  163. StateValue = 0;
  164. if (LocHwVers == 2)
  165. goto <bb 3>; [INV]
  166. else
  167. goto <bb 4>; [INV]
  168. <bb 3> :
  169. _1 = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  170. StateValue = _1->StateValue;
  171. _2 = fpa_Dma_Ip_HwChannelState[StateValue][EventValue];
  172. _2 (LocHwVers, LocHwInst, LocHwCh);
  173. <bb 4> :
  174. return;
  175. }
  176. Dma_Ip_SetHwChannel_ErrorEvent (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
  177. {
  178. <bb 2> :
  179. if (LocHwVers == 2)
  180. goto <bb 3>; [INV]
  181. else
  182. goto <bb 4>; [INV]
  183. <bb 3> :
  184. _1 = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  185. _1->StateValue = 4;
  186. <bb 4> :
  187. return;
  188. }
  189. Dma_Ip_SetHwChannel_ScatterGatherEvent (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
  190. {
  191. <bb 2> :
  192. if (LocHwVers == 2)
  193. goto <bb 3>; [INV]
  194. else
  195. goto <bb 4>; [INV]
  196. <bb 3> :
  197. _1 = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  198. _1->StateValue = 3;
  199. <bb 4> :
  200. return;
  201. }
  202. Dma_Ip_SetHwChannel_TransferEvent (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
  203. {
  204. <bb 2> :
  205. if (LocHwVers == 2)
  206. goto <bb 3>; [INV]
  207. else
  208. goto <bb 4>; [INV]
  209. <bb 3> :
  210. _1 = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  211. _1->StateValue = 2;
  212. <bb 4> :
  213. return;
  214. }
  215. Dma_Ip_SetHwChannel_ReadyEvent (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
  216. {
  217. <bb 2> :
  218. if (LocHwVers == 2)
  219. goto <bb 3>; [INV]
  220. else
  221. goto <bb 4>; [INV]
  222. <bb 3> :
  223. _1 = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  224. _1->StateValue = 1;
  225. <bb 4> :
  226. return;
  227. }
  228. Dma_Ip_SetHwChannel_ResetEvent (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
  229. {
  230. <bb 2> :
  231. if (LocHwVers == 2)
  232. goto <bb 3>; [INV]
  233. else
  234. goto <bb 4>; [INV]
  235. <bb 3> :
  236. _1 = Dma_Ip_xHwState.ptHwChV2StateArray[LocHwInst][LocHwCh];
  237. _1->StateValue = 0;
  238. <bb 4> :
  239. return;
  240. }