CDD_Mcl.c.075i.fnsummary 30 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255
  1. Symbol table:
  2. Cache_Ip_CleanByAddr/41 (Cache_Ip_CleanByAddr) @070b2000
  3. Type: function
  4. Visibility: external public
  5. References:
  6. Referring:
  7. Availability: not_available
  8. Function flags:
  9. Called by: Mcl_CacheCleanByAddr/20
  10. Calls:
  11. Cache_Ip_InvalidateByAddr/40 (Cache_Ip_InvalidateByAddr) @070a7e00
  12. Type: function
  13. Visibility: external public
  14. References:
  15. Referring:
  16. Availability: not_available
  17. Function flags:
  18. Called by: Mcl_CacheInvalidateByAddr/19
  19. Calls:
  20. Cache_Ip_Clean/39 (Cache_Ip_Clean) @070a7c40
  21. Type: function
  22. Visibility: external public
  23. References:
  24. Referring:
  25. Availability: not_available
  26. Function flags:
  27. Called by: Mcl_CacheClean/18
  28. Calls:
  29. Cache_Ip_Invalidate/38 (Cache_Ip_Invalidate) @070a7a80
  30. Type: function
  31. Visibility: external public
  32. References:
  33. Referring:
  34. Availability: not_available
  35. Function flags:
  36. Called by: Mcl_CacheInvalidate/17
  37. Calls:
  38. Cache_Ip_Disable/37 (Cache_Ip_Disable) @070a78c0
  39. Type: function
  40. Visibility: external public
  41. References:
  42. Referring:
  43. Availability: not_available
  44. Function flags:
  45. Called by: Mcl_CacheDisable/16
  46. Calls:
  47. Cache_Ip_Enable/36 (Cache_Ip_Enable) @070a7700
  48. Type: function
  49. Visibility: external public
  50. References:
  51. Referring:
  52. Availability: not_available
  53. Function flags:
  54. Called by: Mcl_CacheEnable/15
  55. Calls:
  56. Dma_Ip_SetLogicChannelScatterGatherConfig/35 (Dma_Ip_SetLogicChannelScatterGatherConfig) @070a7540
  57. Type: function
  58. Visibility: external public
  59. References:
  60. Referring:
  61. Availability: not_available
  62. Function flags:
  63. Called by: Mcl_SetDmaChannelScatterGatherConfig/14
  64. Calls:
  65. Dma_Ip_GetLogicChannelParam/34 (Dma_Ip_GetLogicChannelParam) @070a7380
  66. Type: function
  67. Visibility: external public
  68. References:
  69. Referring:
  70. Availability: not_available
  71. Function flags:
  72. Called by: Mcl_GetDmaChannelParam/13
  73. Calls:
  74. Dma_Ip_SetLogicChannelScatterGatherList/33 (Dma_Ip_SetLogicChannelScatterGatherList) @070a71c0
  75. Type: function
  76. Visibility: external public
  77. References:
  78. Referring:
  79. Availability: not_available
  80. Function flags:
  81. Called by: Mcl_SetDmaChannelScatterGatherList/12
  82. Calls:
  83. Dma_Ip_SetLogicChannelTransferList/32 (Dma_Ip_SetLogicChannelTransferList) @070a7000
  84. Type: function
  85. Visibility: external public
  86. References:
  87. Referring:
  88. Availability: not_available
  89. Function flags:
  90. Called by: Mcl_SetDmaChannelTransferList/11
  91. Calls:
  92. Dma_Ip_SetLogicChannelGlobalList/31 (Dma_Ip_SetLogicChannelGlobalList) @07033e00
  93. Type: function
  94. Visibility: external public
  95. References:
  96. Referring:
  97. Availability: not_available
  98. Function flags:
  99. Called by: Mcl_SetDmaChannelGlobalList/10
  100. Calls:
  101. Dma_Ip_GetLogicChannelStatus/30 (Dma_Ip_GetLogicChannelStatus) @07033c40
  102. Type: function
  103. Visibility: external public
  104. References:
  105. Referring:
  106. Availability: not_available
  107. Function flags:
  108. Called by: Mcl_GetDmaChannelStatus/9
  109. Calls:
  110. Dma_Ip_SetLogicChannelCommand/29 (Dma_Ip_SetLogicChannelCommand) @07033a80
  111. Type: function
  112. Visibility: external public
  113. References:
  114. Referring:
  115. Availability: not_available
  116. Function flags:
  117. Called by: Mcl_SetDmaChannelCommand/8
  118. Calls:
  119. Dma_Ip_GetLogicInstanceStatus/28 (Dma_Ip_GetLogicInstanceStatus) @070338c0
  120. Type: function
  121. Visibility: external public
  122. References:
  123. Referring:
  124. Availability: not_available
  125. Function flags:
  126. Called by: Mcl_GetDmaInstanceStatus/7
  127. Calls:
  128. Dma_Ip_SetLogicInstanceCommand/27 (Dma_Ip_SetLogicInstanceCommand) @07033700
  129. Type: function
  130. Visibility: external public
  131. References:
  132. Referring:
  133. Availability: not_available
  134. Function flags:
  135. Called by: Mcl_SetDmaInstanceCommand/6
  136. Calls:
  137. Flexio_Mcl_Ip_DeinitDevice/26 (Flexio_Mcl_Ip_DeinitDevice) @07033540
  138. Type: function
  139. Visibility: external public
  140. References:
  141. Referring:
  142. Availability: not_available
  143. Function flags:
  144. Called by: Mcl_DeInit/5
  145. Calls:
  146. Dma_Ip_Deinit/25 (Dma_Ip_Deinit) @07033460
  147. Type: function
  148. Visibility: external public
  149. References:
  150. Referring:
  151. Availability: not_available
  152. Function flags:
  153. Called by: Mcl_DeInit/5
  154. Calls:
  155. Flexio_Mcl_Ip_InitDevice/24 (Flexio_Mcl_Ip_InitDevice) @070332a0
  156. Type: function
  157. Visibility: external public
  158. References:
  159. Referring:
  160. Availability: not_available
  161. Function flags:
  162. Called by: Mcl_Init/4
  163. Calls:
  164. Dma_Ip_Init/23 (Dma_Ip_Init) @070331c0
  165. Type: function
  166. Visibility: external public
  167. References:
  168. Referring:
  169. Availability: not_available
  170. Function flags:
  171. Called by: Mcl_Init/4
  172. Calls:
  173. Mcl_Config/22 (Mcl_Config) @07032708
  174. Type: variable
  175. Body removed by symtab_remove_unreachable_nodes
  176. Visibility: external public
  177. References:
  178. Referring: Mcl_Init/4 (addr)
  179. Availability: not_available
  180. Varpool flags: read-only
  181. Det_ReportError/21 (Det_ReportError) @06f5fa80
  182. Type: function
  183. Visibility: external public
  184. References:
  185. Referring:
  186. Availability: not_available
  187. Function flags:
  188. Called by: Mcl_CacheCleanByAddr/20 Mcl_CacheInvalidateByAddr/19 Mcl_CacheClean/18 Mcl_CacheInvalidate/17 Mcl_CacheDisable/16 Mcl_CacheEnable/15 Mcl_SetDmaChannelScatterGatherConfig/14 Mcl_GetDmaChannelParam/13 Mcl_GetDmaChannelParam/13 Mcl_SetDmaChannelScatterGatherList/12 Mcl_SetDmaChannelScatterGatherList/12 Mcl_SetDmaChannelScatterGatherList/12 Mcl_SetDmaChannelTransferList/11 Mcl_SetDmaChannelTransferList/11 Mcl_SetDmaChannelTransferList/11 Mcl_SetDmaChannelGlobalList/10 Mcl_SetDmaChannelGlobalList/10 Mcl_SetDmaChannelGlobalList/10 Mcl_GetDmaChannelStatus/9 Mcl_GetDmaChannelStatus/9 Mcl_SetDmaChannelCommand/8 Mcl_SetDmaChannelCommand/8 Mcl_GetDmaInstanceStatus/7 Mcl_GetDmaInstanceStatus/7 Mcl_SetDmaInstanceCommand/6 Mcl_SetDmaInstanceCommand/6 Mcl_DeInit/5 Mcl_Init/4 Mcl_Init/4 Mcl_DmaReturnCheck/3 Mcl_DmaReturnCheck/3 Mcl_DmaReturnCheck/3 Mcl_ValidatePtrInit/2
  189. Calls:
  190. Mcl_CacheCleanByAddr/20 (Mcl_CacheCleanByAddr) @06f5fee0
  191. Type: function definition analyzed
  192. Visibility: force_output externally_visible no_reorder public
  193. References:
  194. Referring:
  195. Availability: available
  196. Function flags: body
  197. Called by:
  198. Calls: Cache_Ip_CleanByAddr/41 Det_ReportError/21
  199. Mcl_CacheInvalidateByAddr/19 (Mcl_CacheInvalidateByAddr) @06f5fc40
  200. Type: function definition analyzed
  201. Visibility: force_output externally_visible no_reorder public
  202. References:
  203. Referring:
  204. Availability: available
  205. Function flags: body
  206. Called by:
  207. Calls: Cache_Ip_InvalidateByAddr/40 Det_ReportError/21
  208. Mcl_CacheClean/18 (Mcl_CacheClean) @06f5f9a0
  209. Type: function definition analyzed
  210. Visibility: force_output externally_visible no_reorder public
  211. References:
  212. Referring:
  213. Availability: available
  214. Function flags: body
  215. Called by:
  216. Calls: Cache_Ip_Clean/39 Det_ReportError/21
  217. Mcl_CacheInvalidate/17 (Mcl_CacheInvalidate) @06f5f700
  218. Type: function definition analyzed
  219. Visibility: force_output externally_visible no_reorder public
  220. References:
  221. Referring:
  222. Availability: available
  223. Function flags: body
  224. Called by:
  225. Calls: Cache_Ip_Invalidate/38 Det_ReportError/21
  226. Mcl_CacheDisable/16 (Mcl_CacheDisable) @06f5f460
  227. Type: function definition analyzed
  228. Visibility: force_output externally_visible no_reorder public
  229. References:
  230. Referring:
  231. Availability: available
  232. Function flags: body
  233. Called by:
  234. Calls: Cache_Ip_Disable/37 Det_ReportError/21
  235. Mcl_CacheEnable/15 (Mcl_CacheEnable) @06f5f1c0
  236. Type: function definition analyzed
  237. Visibility: force_output externally_visible no_reorder public
  238. References:
  239. Referring:
  240. Availability: available
  241. Function flags: body
  242. Called by:
  243. Calls: Cache_Ip_Enable/36 Det_ReportError/21
  244. Mcl_SetDmaChannelScatterGatherConfig/14 (Mcl_SetDmaChannelScatterGatherConfig) @06a66d20
  245. Type: function definition analyzed
  246. Visibility: force_output externally_visible no_reorder public
  247. References:
  248. Referring:
  249. Availability: available
  250. Function flags: body
  251. Called by:
  252. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_SetLogicChannelScatterGatherConfig/35 Det_ReportError/21
  253. Mcl_GetDmaChannelParam/13 (Mcl_GetDmaChannelParam) @06a667e0
  254. Type: function definition analyzed
  255. Visibility: force_output externally_visible no_reorder public
  256. References:
  257. Referring:
  258. Availability: available
  259. Function flags: body
  260. Called by:
  261. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_GetLogicChannelParam/34 Det_ReportError/21 Det_ReportError/21
  262. Mcl_SetDmaChannelScatterGatherList/12 (Mcl_SetDmaChannelScatterGatherList) @06a662a0
  263. Type: function definition analyzed
  264. Visibility: force_output externally_visible no_reorder public
  265. References:
  266. Referring:
  267. Availability: available
  268. Function flags: body
  269. Called by:
  270. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_SetLogicChannelScatterGatherList/33 Det_ReportError/21 Det_ReportError/21 Det_ReportError/21
  271. Mcl_SetDmaChannelTransferList/11 (Mcl_SetDmaChannelTransferList) @06a66ee0
  272. Type: function definition analyzed
  273. Visibility: force_output externally_visible no_reorder public
  274. References:
  275. Referring:
  276. Availability: available
  277. Function flags: body
  278. Called by:
  279. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_SetLogicChannelTransferList/32 Det_ReportError/21 Det_ReportError/21 Det_ReportError/21
  280. Mcl_SetDmaChannelGlobalList/10 (Mcl_SetDmaChannelGlobalList) @06a66c40
  281. Type: function definition analyzed
  282. Visibility: force_output externally_visible no_reorder public
  283. References:
  284. Referring:
  285. Availability: available
  286. Function flags: body
  287. Called by:
  288. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_SetLogicChannelGlobalList/31 Det_ReportError/21 Det_ReportError/21 Det_ReportError/21
  289. Mcl_GetDmaChannelStatus/9 (Mcl_GetDmaChannelStatus) @06a669a0
  290. Type: function definition analyzed
  291. Visibility: force_output externally_visible no_reorder public
  292. References:
  293. Referring:
  294. Availability: available
  295. Function flags: body
  296. Called by:
  297. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_GetLogicChannelStatus/30 Det_ReportError/21 Det_ReportError/21
  298. Mcl_SetDmaChannelCommand/8 (Mcl_SetDmaChannelCommand) @06a66700
  299. Type: function definition analyzed
  300. Visibility: force_output externally_visible no_reorder public
  301. References:
  302. Referring:
  303. Availability: available
  304. Function flags: body
  305. Called by:
  306. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_SetLogicChannelCommand/29 Det_ReportError/21 Det_ReportError/21
  307. Mcl_GetDmaInstanceStatus/7 (Mcl_GetDmaInstanceStatus) @06a66460
  308. Type: function definition analyzed
  309. Visibility: force_output externally_visible no_reorder public
  310. References:
  311. Referring:
  312. Availability: available
  313. Function flags: body
  314. Called by:
  315. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_GetLogicInstanceStatus/28 Det_ReportError/21 Det_ReportError/21
  316. Mcl_SetDmaInstanceCommand/6 (Mcl_SetDmaInstanceCommand) @06a661c0
  317. Type: function definition analyzed
  318. Visibility: force_output externally_visible no_reorder public
  319. References:
  320. Referring:
  321. Availability: available
  322. Function flags: body
  323. Called by:
  324. Calls: Mcl_DmaReturnCheck/3 Dma_Ip_SetLogicInstanceCommand/27 Det_ReportError/21 Det_ReportError/21
  325. Mcl_DeInit/5 (Mcl_DeInit) @06a5ee00
  326. Type: function definition analyzed
  327. Visibility: force_output externally_visible no_reorder public
  328. References: Mcl_pConfig/0 (read)Mcl_pConfig/0 (read)Mcl_pConfig/0 (read)Mcl_pConfig/0 (read)Mcl_pConfig/0 (write)
  329. Referring:
  330. Availability: available
  331. Function flags: body
  332. Called by:
  333. Calls: Det_ReportError/21 Flexio_Mcl_Ip_DeinitDevice/26 Mcl_DmaReturnCheck/3 Dma_Ip_Deinit/25
  334. Mcl_Init/4 (Mcl_Init) @06a5e8c0
  335. Type: function definition analyzed
  336. Visibility: force_output externally_visible no_reorder public
  337. References: Mcl_pConfig/0 (read)Mcl_pConfig/0 (write)Mcl_Config/22 (addr)Mcl_pConfig/0 (read)Mcl_pConfig/0 (read)Mcl_pConfig/0 (read)Mcl_pConfig/0 (read)Mcl_pConfig/0 (read)
  338. Referring:
  339. Availability: available
  340. Function flags: body
  341. Called by:
  342. Calls: Det_ReportError/21 Flexio_Mcl_Ip_InitDevice/24 Det_ReportError/21 Dma_Ip_Init/23 Mcl_ValidatePtrInit/2
  343. Mcl_DmaReturnCheck/3 (Mcl_DmaReturnCheck) @06a5ed20
  344. Type: function definition analyzed
  345. Visibility: force_output no_reorder prevailing_def_ironly
  346. References:
  347. Referring:
  348. Availability: available
  349. Function flags: body
  350. Called by: Mcl_SetDmaChannelScatterGatherConfig/14 Mcl_GetDmaChannelParam/13 Mcl_SetDmaChannelScatterGatherList/12 Mcl_SetDmaChannelTransferList/11 Mcl_SetDmaChannelGlobalList/10 Mcl_GetDmaChannelStatus/9 Mcl_SetDmaChannelCommand/8 Mcl_GetDmaInstanceStatus/7 Mcl_SetDmaInstanceCommand/6 Mcl_DeInit/5
  351. Calls: Det_ReportError/21 Det_ReportError/21 Det_ReportError/21
  352. Mcl_ValidatePtrInit/2 (Mcl_ValidatePtrInit) @06a5ea80
  353. Type: function definition analyzed
  354. Visibility: force_output no_reorder prevailing_def_ironly
  355. References:
  356. Referring:
  357. Availability: available
  358. Function flags: body
  359. Called by: Mcl_Init/4
  360. Calls: Det_ReportError/21
  361. MclFlexioLogicToHwInstance/1 (MclFlexioLogicToHwInstance) @06a59a68
  362. Type: variable definition analyzed
  363. Visibility: force_output externally_visible no_reorder public
  364. References:
  365. Referring:
  366. Availability: available
  367. Varpool flags: initialized
  368. Mcl_pConfig/0 (Mcl_pConfig) @06a59900
  369. Type: variable definition analyzed
  370. Visibility: force_output no_reorder prevailing_def_ironly
  371. References:
  372. Referring: Mcl_Init/4 (read)Mcl_Init/4 (read)Mcl_Init/4 (read)Mcl_Init/4 (read)Mcl_Init/4 (read)Mcl_Init/4 (read)Mcl_Init/4 (write)Mcl_DeInit/5 (read)Mcl_DeInit/5 (read)Mcl_DeInit/5 (read)Mcl_DeInit/5 (read)Mcl_DeInit/5 (write)
  373. Availability: available
  374. Varpool flags:
  375. Mcl_CacheCleanByAddr (Mcl_CacheType CacheType, boolean EnInvalidate, uint32 Addr, uint32 Length)
  376. {
  377. unsigned char _1;
  378. <bb 2> :
  379. if (CacheType_3(D) > 2)
  380. goto <bb 3>; [INV]
  381. else
  382. goto <bb 4>; [INV]
  383. <bb 3> :
  384. _1 = (unsigned char) CacheType_3(D);
  385. Det_ReportError (255, _1, 21, 2);
  386. goto <bb 5>; [INV]
  387. <bb 4> :
  388. Cache_Ip_CleanByAddr (CacheType_3(D), EnInvalidate_5(D), Addr_6(D), Length_7(D));
  389. <bb 5> :
  390. return;
  391. }
  392. Mcl_CacheInvalidateByAddr (Mcl_CacheType CacheType, uint32 Addr, uint32 Length)
  393. {
  394. unsigned char _1;
  395. <bb 2> :
  396. if (CacheType_3(D) > 2)
  397. goto <bb 3>; [INV]
  398. else
  399. goto <bb 4>; [INV]
  400. <bb 3> :
  401. _1 = (unsigned char) CacheType_3(D);
  402. Det_ReportError (255, _1, 20, 2);
  403. goto <bb 5>; [INV]
  404. <bb 4> :
  405. Cache_Ip_InvalidateByAddr (CacheType_3(D), Addr_5(D), Length_6(D));
  406. <bb 5> :
  407. return;
  408. }
  409. Mcl_CacheClean (Mcl_CacheType CacheType, boolean EnInvalidate)
  410. {
  411. unsigned char _1;
  412. <bb 2> :
  413. if (CacheType_3(D) > 2)
  414. goto <bb 3>; [INV]
  415. else
  416. goto <bb 4>; [INV]
  417. <bb 3> :
  418. _1 = (unsigned char) CacheType_3(D);
  419. Det_ReportError (255, _1, 19, 2);
  420. goto <bb 5>; [INV]
  421. <bb 4> :
  422. Cache_Ip_Clean (CacheType_3(D), EnInvalidate_5(D));
  423. <bb 5> :
  424. return;
  425. }
  426. Mcl_CacheInvalidate (Mcl_CacheType CacheType)
  427. {
  428. unsigned char _1;
  429. <bb 2> :
  430. if (CacheType_3(D) > 2)
  431. goto <bb 3>; [INV]
  432. else
  433. goto <bb 4>; [INV]
  434. <bb 3> :
  435. _1 = (unsigned char) CacheType_3(D);
  436. Det_ReportError (255, _1, 18, 2);
  437. goto <bb 5>; [INV]
  438. <bb 4> :
  439. Cache_Ip_Invalidate (CacheType_3(D));
  440. <bb 5> :
  441. return;
  442. }
  443. Mcl_CacheDisable (Mcl_CacheType CacheType)
  444. {
  445. unsigned char _1;
  446. <bb 2> :
  447. if (CacheType_3(D) > 2)
  448. goto <bb 3>; [INV]
  449. else
  450. goto <bb 4>; [INV]
  451. <bb 3> :
  452. _1 = (unsigned char) CacheType_3(D);
  453. Det_ReportError (255, _1, 17, 2);
  454. goto <bb 5>; [INV]
  455. <bb 4> :
  456. Cache_Ip_Disable (CacheType_3(D));
  457. <bb 5> :
  458. return;
  459. }
  460. Mcl_CacheEnable (Mcl_CacheType CacheType)
  461. {
  462. unsigned char _1;
  463. <bb 2> :
  464. if (CacheType_3(D) > 2)
  465. goto <bb 3>; [INV]
  466. else
  467. goto <bb 4>; [INV]
  468. <bb 3> :
  469. _1 = (unsigned char) CacheType_3(D);
  470. Det_ReportError (255, _1, 16, 2);
  471. goto <bb 5>; [INV]
  472. <bb 4> :
  473. Cache_Ip_Enable (CacheType_3(D));
  474. <bb 5> :
  475. return;
  476. }
  477. Mcl_SetDmaChannelScatterGatherConfig (const uint32 Channel, const uint32 Element)
  478. {
  479. Dma_Ip_ReturnType RetStatus;
  480. unsigned char _1;
  481. unsigned char _2;
  482. <bb 2> :
  483. if (Channel_4(D) > 6)
  484. goto <bb 3>; [INV]
  485. else
  486. goto <bb 4>; [INV]
  487. <bb 3> :
  488. _1 = (unsigned char) Channel_4(D);
  489. Det_ReportError (255, _1, 9, 3);
  490. goto <bb 5>; [INV]
  491. <bb 4> :
  492. RetStatus_8 = Dma_Ip_SetLogicChannelScatterGatherConfig (Channel_4(D), Element_6(D));
  493. _2 = (unsigned char) Channel_4(D);
  494. Mcl_DmaReturnCheck (_2, 9, RetStatus_8);
  495. <bb 5> :
  496. return;
  497. }
  498. Mcl_GetDmaChannelParam (const uint32 Channel, const Mcl_DmaChannelInfoParamType Param, uint32 * const Value)
  499. {
  500. Dma_Ip_ReturnType RetStatus;
  501. unsigned char _1;
  502. unsigned char _2;
  503. unsigned char _3;
  504. <bb 2> :
  505. if (Channel_5(D) > 6)
  506. goto <bb 3>; [INV]
  507. else
  508. goto <bb 4>; [INV]
  509. <bb 3> :
  510. _1 = (unsigned char) Channel_5(D);
  511. Det_ReportError (255, _1, 8, 3);
  512. goto <bb 7>; [INV]
  513. <bb 4> :
  514. if (Param_6(D) > 7)
  515. goto <bb 5>; [INV]
  516. else
  517. goto <bb 6>; [INV]
  518. <bb 5> :
  519. _2 = (unsigned char) Channel_5(D);
  520. Det_ReportError (255, _2, 8, 5);
  521. goto <bb 7>; [INV]
  522. <bb 6> :
  523. RetStatus_10 = Dma_Ip_GetLogicChannelParam (Channel_5(D), Param_6(D), Value_8(D));
  524. _3 = (unsigned char) Channel_5(D);
  525. Mcl_DmaReturnCheck (_3, 8, RetStatus_10);
  526. <bb 7> :
  527. return;
  528. }
  529. Mcl_SetDmaChannelScatterGatherList (const uint32 Channel, const uint32 Element, const struct Mcl_DmaChannelScatterGatherListType * List, const uint32 ListDimension)
  530. {
  531. boolean DetErrorCheck;
  532. uint8 Idx;
  533. Dma_Ip_ReturnType RetStatus;
  534. unsigned char _1;
  535. unsigned char _2;
  536. unsigned int _3;
  537. unsigned int _4;
  538. const struct Mcl_DmaChannelScatterGatherListType * _5;
  539. <unnamed type> _6;
  540. unsigned char _7;
  541. unsigned char Idx.12_8;
  542. long unsigned int _9;
  543. _Bool _10;
  544. unsigned char _11;
  545. <bb 2> :
  546. DetErrorCheck_20 = 0;
  547. if (Channel_21(D) > 6)
  548. goto <bb 3>; [INV]
  549. else
  550. goto <bb 4>; [INV]
  551. <bb 3> :
  552. _1 = (unsigned char) Channel_21(D);
  553. Det_ReportError (255, _1, 7, 3);
  554. DetErrorCheck_24 = 1;
  555. <bb 4> :
  556. # DetErrorCheck_13 = PHI <DetErrorCheck_20(2), DetErrorCheck_24(3)>
  557. if (ListDimension_25(D) > 26)
  558. goto <bb 5>; [INV]
  559. else
  560. goto <bb 6>; [INV]
  561. <bb 5> :
  562. _2 = (unsigned char) Channel_21(D);
  563. Det_ReportError (255, _2, 7, 5);
  564. DetErrorCheck_27 = 1;
  565. <bb 6> :
  566. # DetErrorCheck_14 = PHI <DetErrorCheck_13(4), DetErrorCheck_27(5)>
  567. Idx_28 = 0;
  568. goto <bb 10>; [INV]
  569. <bb 7> :
  570. _3 = (unsigned int) Idx_12;
  571. _4 = _3 * 8;
  572. _5 = List_29(D) + _4;
  573. _6 = _5->Param;
  574. if (_6 > 25)
  575. goto <bb 8>; [INV]
  576. else
  577. goto <bb 9>; [INV]
  578. <bb 8> :
  579. _7 = (unsigned char) Channel_21(D);
  580. Det_ReportError (255, _7, 7, 5);
  581. DetErrorCheck_32 = 1;
  582. goto <bb 11>; [INV]
  583. <bb 9> :
  584. Idx.12_8 = Idx_12;
  585. Idx_30 = Idx.12_8 + 1;
  586. <bb 10> :
  587. # Idx_12 = PHI <Idx_28(6), Idx_30(9)>
  588. _9 = (long unsigned int) Idx_12;
  589. if (ListDimension_25(D) > _9)
  590. goto <bb 7>; [INV]
  591. else
  592. goto <bb 11>; [INV]
  593. <bb 11> :
  594. # DetErrorCheck_15 = PHI <DetErrorCheck_32(8), DetErrorCheck_14(10)>
  595. _10 = ~DetErrorCheck_15;
  596. if (_10 != 0)
  597. goto <bb 12>; [INV]
  598. else
  599. goto <bb 13>; [INV]
  600. <bb 12> :
  601. RetStatus_35 = Dma_Ip_SetLogicChannelScatterGatherList (Channel_21(D), Element_33(D), List_29(D), ListDimension_25(D));
  602. _11 = (unsigned char) Channel_21(D);
  603. Mcl_DmaReturnCheck (_11, 7, RetStatus_35);
  604. <bb 13> :
  605. return;
  606. }
  607. Mcl_SetDmaChannelTransferList (const uint32 Channel, const struct Mcl_DmaChannelTransferListType * List, const uint32 ListDimension)
  608. {
  609. boolean DetErrorCheck;
  610. uint8 Idx;
  611. Dma_Ip_ReturnType RetStatus;
  612. unsigned char _1;
  613. unsigned char _2;
  614. unsigned int _3;
  615. unsigned int _4;
  616. const struct Mcl_DmaChannelTransferListType * _5;
  617. <unnamed type> _6;
  618. unsigned char _7;
  619. unsigned char Idx.11_8;
  620. long unsigned int _9;
  621. _Bool _10;
  622. unsigned char _11;
  623. <bb 2> :
  624. DetErrorCheck_20 = 0;
  625. if (Channel_21(D) > 6)
  626. goto <bb 3>; [INV]
  627. else
  628. goto <bb 4>; [INV]
  629. <bb 3> :
  630. _1 = (unsigned char) Channel_21(D);
  631. Det_ReportError (255, _1, 6, 3);
  632. DetErrorCheck_24 = 1;
  633. <bb 4> :
  634. # DetErrorCheck_13 = PHI <DetErrorCheck_20(2), DetErrorCheck_24(3)>
  635. if (ListDimension_25(D) > 26)
  636. goto <bb 5>; [INV]
  637. else
  638. goto <bb 6>; [INV]
  639. <bb 5> :
  640. _2 = (unsigned char) Channel_21(D);
  641. Det_ReportError (255, _2, 6, 5);
  642. DetErrorCheck_27 = 1;
  643. <bb 6> :
  644. # DetErrorCheck_14 = PHI <DetErrorCheck_13(4), DetErrorCheck_27(5)>
  645. Idx_28 = 0;
  646. goto <bb 10>; [INV]
  647. <bb 7> :
  648. _3 = (unsigned int) Idx_12;
  649. _4 = _3 * 8;
  650. _5 = List_29(D) + _4;
  651. _6 = _5->Param;
  652. if (_6 > 25)
  653. goto <bb 8>; [INV]
  654. else
  655. goto <bb 9>; [INV]
  656. <bb 8> :
  657. _7 = (unsigned char) Channel_21(D);
  658. Det_ReportError (255, _7, 6, 5);
  659. DetErrorCheck_32 = 1;
  660. goto <bb 11>; [INV]
  661. <bb 9> :
  662. Idx.11_8 = Idx_12;
  663. Idx_30 = Idx.11_8 + 1;
  664. <bb 10> :
  665. # Idx_12 = PHI <Idx_28(6), Idx_30(9)>
  666. _9 = (long unsigned int) Idx_12;
  667. if (ListDimension_25(D) > _9)
  668. goto <bb 7>; [INV]
  669. else
  670. goto <bb 11>; [INV]
  671. <bb 11> :
  672. # DetErrorCheck_15 = PHI <DetErrorCheck_32(8), DetErrorCheck_14(10)>
  673. _10 = ~DetErrorCheck_15;
  674. if (_10 != 0)
  675. goto <bb 12>; [INV]
  676. else
  677. goto <bb 13>; [INV]
  678. <bb 12> :
  679. RetStatus_34 = Dma_Ip_SetLogicChannelTransferList (Channel_21(D), List_29(D), ListDimension_25(D));
  680. _11 = (unsigned char) Channel_21(D);
  681. Mcl_DmaReturnCheck (_11, 6, RetStatus_34);
  682. <bb 13> :
  683. return;
  684. }
  685. Mcl_SetDmaChannelGlobalList (const uint32 Channel, const struct Mcl_DmaChannelGlobalListType * List, const uint32 ListDimension)
  686. {
  687. boolean DetErrorCheck;
  688. uint8 Idx;
  689. Dma_Ip_ReturnType RetStatus;
  690. unsigned char _1;
  691. unsigned char _2;
  692. unsigned int _3;
  693. unsigned int _4;
  694. const struct Mcl_DmaChannelGlobalListType * _5;
  695. <unnamed type> _6;
  696. unsigned char _7;
  697. unsigned char Idx.10_8;
  698. long unsigned int _9;
  699. _Bool _10;
  700. unsigned char _11;
  701. <bb 2> :
  702. DetErrorCheck_20 = 0;
  703. if (Channel_21(D) > 6)
  704. goto <bb 3>; [INV]
  705. else
  706. goto <bb 4>; [INV]
  707. <bb 3> :
  708. _1 = (unsigned char) Channel_21(D);
  709. Det_ReportError (255, _1, 5, 3);
  710. DetErrorCheck_24 = 1;
  711. <bb 4> :
  712. # DetErrorCheck_13 = PHI <DetErrorCheck_20(2), DetErrorCheck_24(3)>
  713. if (ListDimension_25(D) > 11)
  714. goto <bb 5>; [INV]
  715. else
  716. goto <bb 6>; [INV]
  717. <bb 5> :
  718. _2 = (unsigned char) Channel_21(D);
  719. Det_ReportError (255, _2, 5, 5);
  720. DetErrorCheck_27 = 1;
  721. <bb 6> :
  722. # DetErrorCheck_14 = PHI <DetErrorCheck_13(4), DetErrorCheck_27(5)>
  723. Idx_28 = 0;
  724. goto <bb 10>; [INV]
  725. <bb 7> :
  726. _3 = (unsigned int) Idx_12;
  727. _4 = _3 * 8;
  728. _5 = List_29(D) + _4;
  729. _6 = _5->Param;
  730. if (_6 > 10)
  731. goto <bb 8>; [INV]
  732. else
  733. goto <bb 9>; [INV]
  734. <bb 8> :
  735. _7 = (unsigned char) Channel_21(D);
  736. Det_ReportError (255, _7, 5, 5);
  737. DetErrorCheck_32 = 1;
  738. goto <bb 11>; [INV]
  739. <bb 9> :
  740. Idx.10_8 = Idx_12;
  741. Idx_30 = Idx.10_8 + 1;
  742. <bb 10> :
  743. # Idx_12 = PHI <Idx_28(6), Idx_30(9)>
  744. _9 = (long unsigned int) Idx_12;
  745. if (ListDimension_25(D) > _9)
  746. goto <bb 7>; [INV]
  747. else
  748. goto <bb 11>; [INV]
  749. <bb 11> :
  750. # DetErrorCheck_15 = PHI <DetErrorCheck_32(8), DetErrorCheck_14(10)>
  751. _10 = ~DetErrorCheck_15;
  752. if (_10 != 0)
  753. goto <bb 12>; [INV]
  754. else
  755. goto <bb 13>; [INV]
  756. <bb 12> :
  757. RetStatus_34 = Dma_Ip_SetLogicChannelGlobalList (Channel_21(D), List_29(D), ListDimension_25(D));
  758. _11 = (unsigned char) Channel_21(D);
  759. Mcl_DmaReturnCheck (_11, 5, RetStatus_34);
  760. <bb 13> :
  761. return;
  762. }
  763. Mcl_GetDmaChannelStatus (const uint32 Channel, struct Mcl_DmaChannelStatusType * const Status)
  764. {
  765. struct Dma_Ip_LogicChannelStatusType LocChStatus;
  766. Dma_Ip_ReturnType RetStatus;
  767. unsigned char _1;
  768. unsigned char _2;
  769. <unnamed type> _3;
  770. long unsigned int _4;
  771. _Bool _5;
  772. _Bool _6;
  773. unsigned char _7;
  774. <bb 2> :
  775. if (Channel_9(D) > 6)
  776. goto <bb 3>; [INV]
  777. else
  778. goto <bb 4>; [INV]
  779. <bb 3> :
  780. _1 = (unsigned char) Channel_9(D);
  781. Det_ReportError (255, _1, 4, 3);
  782. goto <bb 7>; [INV]
  783. <bb 4> :
  784. if (Status_10(D) == 0B)
  785. goto <bb 5>; [INV]
  786. else
  787. goto <bb 6>; [INV]
  788. <bb 5> :
  789. _2 = (unsigned char) Channel_9(D);
  790. Det_ReportError (255, _2, 4, 1);
  791. goto <bb 7>; [INV]
  792. <bb 6> :
  793. RetStatus_13 = Dma_Ip_GetLogicChannelStatus (Channel_9(D), &LocChStatus);
  794. _3 = LocChStatus.ChStateValue;
  795. Status_10(D)->ChannelState = _3;
  796. _4 = LocChStatus.Errors;
  797. Status_10(D)->Errors = _4;
  798. _5 = LocChStatus.Active;
  799. Status_10(D)->Active = _5;
  800. _6 = LocChStatus.Done;
  801. Status_10(D)->Done = _6;
  802. _7 = (unsigned char) Channel_9(D);
  803. Mcl_DmaReturnCheck (_7, 4, RetStatus_13);
  804. <bb 7> :
  805. LocChStatus ={v} {CLOBBER};
  806. return;
  807. }
  808. Mcl_SetDmaChannelCommand (const uint32 Channel, const Mcl_DmaChannelCmdType Command)
  809. {
  810. Dma_Ip_ReturnType RetStatus;
  811. unsigned char _1;
  812. unsigned char _2;
  813. unsigned char _3;
  814. <bb 2> :
  815. if (Channel_5(D) > 6)
  816. goto <bb 3>; [INV]
  817. else
  818. goto <bb 4>; [INV]
  819. <bb 3> :
  820. _1 = (unsigned char) Channel_5(D);
  821. Det_ReportError (255, _1, 3, 3);
  822. goto <bb 7>; [INV]
  823. <bb 4> :
  824. if (Command_6(D) > 4)
  825. goto <bb 5>; [INV]
  826. else
  827. goto <bb 6>; [INV]
  828. <bb 5> :
  829. _2 = (unsigned char) Channel_5(D);
  830. Det_ReportError (255, _2, 3, 4);
  831. goto <bb 7>; [INV]
  832. <bb 6> :
  833. RetStatus_9 = Dma_Ip_SetLogicChannelCommand (Channel_5(D), Command_6(D));
  834. _3 = (unsigned char) Channel_5(D);
  835. Mcl_DmaReturnCheck (_3, 3, RetStatus_9);
  836. <bb 7> :
  837. return;
  838. }
  839. Mcl_GetDmaInstanceStatus (const uint32 Instance, struct Mcl_DmaInstanceStatusType * const Status)
  840. {
  841. struct Dma_Ip_LogicInstanceStatusType LocInstStatus;
  842. Dma_Ip_ReturnType RetStatus;
  843. unsigned char _1;
  844. unsigned char _2;
  845. long unsigned int _3;
  846. unsigned char _4;
  847. _Bool _5;
  848. unsigned char _6;
  849. <bb 2> :
  850. LocInstStatus.Errors = 0;
  851. LocInstStatus.ActiveId = 0;
  852. LocInstStatus.Active = 0;
  853. if (Instance_12(D) > 1)
  854. goto <bb 3>; [INV]
  855. else
  856. goto <bb 4>; [INV]
  857. <bb 3> :
  858. _1 = (unsigned char) Instance_12(D);
  859. Det_ReportError (255, _1, 2, 2);
  860. goto <bb 7>; [INV]
  861. <bb 4> :
  862. if (Status_13(D) == 0B)
  863. goto <bb 5>; [INV]
  864. else
  865. goto <bb 6>; [INV]
  866. <bb 5> :
  867. _2 = (unsigned char) Instance_12(D);
  868. Det_ReportError (255, _2, 2, 1);
  869. goto <bb 7>; [INV]
  870. <bb 6> :
  871. RetStatus_15 = Dma_Ip_GetLogicInstanceStatus (Instance_12(D), &LocInstStatus);
  872. _3 = LocInstStatus.Errors;
  873. Status_13(D)->Errors = _3;
  874. _4 = LocInstStatus.ActiveId;
  875. Status_13(D)->ActiveId = _4;
  876. _5 = LocInstStatus.Active;
  877. Status_13(D)->Active = _5;
  878. _6 = (unsigned char) Instance_12(D);
  879. Mcl_DmaReturnCheck (_6, 2, RetStatus_15);
  880. <bb 7> :
  881. LocInstStatus ={v} {CLOBBER};
  882. return;
  883. }
  884. Mcl_SetDmaInstanceCommand (const uint32 Instance, const Mcl_DmaInstanceCmdType Command)
  885. {
  886. Dma_Ip_ReturnType RetStatus;
  887. unsigned char _1;
  888. unsigned char _2;
  889. unsigned char _3;
  890. <bb 2> :
  891. if (Instance_5(D) > 1)
  892. goto <bb 3>; [INV]
  893. else
  894. goto <bb 4>; [INV]
  895. <bb 3> :
  896. _1 = (unsigned char) Instance_5(D);
  897. Det_ReportError (255, _1, 1, 2);
  898. goto <bb 7>; [INV]
  899. <bb 4> :
  900. if (Command_6(D) > 3)
  901. goto <bb 5>; [INV]
  902. else
  903. goto <bb 6>; [INV]
  904. <bb 5> :
  905. _2 = (unsigned char) Instance_5(D);
  906. Det_ReportError (255, _2, 1, 4);
  907. goto <bb 7>; [INV]
  908. <bb 6> :
  909. RetStatus_9 = Dma_Ip_SetLogicInstanceCommand (Instance_5(D), Command_6(D));
  910. _3 = (unsigned char) Instance_5(D);
  911. Mcl_DmaReturnCheck (_3, 1, RetStatus_9);
  912. <bb 7> :
  913. return;
  914. }
  915. Mcl_DeInit ()
  916. {
  917. Dma_Ip_ReturnType RetStatus;
  918. const struct Mcl_ConfigType * Mcl_pConfig.6_1;
  919. const struct Mcl_ConfigType * Mcl_pConfig.7_2;
  920. const struct Dma_Ip_InitType * _3;
  921. const struct Mcl_ConfigType * Mcl_pConfig.8_4;
  922. const struct Flexio_Ip_InstanceConfigType * _5;
  923. const struct Mcl_ConfigType * Mcl_pConfig.9_6;
  924. const struct Flexio_Ip_InstanceConfigType * _7;
  925. unsigned char _8;
  926. long unsigned int _9;
  927. <bb 2> :
  928. Mcl_pConfig.6_1 = Mcl_pConfig;
  929. if (Mcl_pConfig.6_1 != 0B)
  930. goto <bb 3>; [INV]
  931. else
  932. goto <bb 8>; [INV]
  933. <bb 3> :
  934. Mcl_pConfig.7_2 = Mcl_pConfig;
  935. _3 = Mcl_pConfig.7_2->pxDmaInitType;
  936. if (_3 != 0B)
  937. goto <bb 4>; [INV]
  938. else
  939. goto <bb 5>; [INV]
  940. <bb 4> :
  941. RetStatus_16 = Dma_Ip_Deinit ();
  942. Mcl_DmaReturnCheck (0, 11, RetStatus_16);
  943. <bb 5> :
  944. Mcl_pConfig.8_4 = Mcl_pConfig;
  945. _5 = Mcl_pConfig.8_4->pFlexioInitType;
  946. if (_5 != 0B)
  947. goto <bb 6>; [INV]
  948. else
  949. goto <bb 7>; [INV]
  950. <bb 6> :
  951. Mcl_pConfig.9_6 = Mcl_pConfig;
  952. _7 = Mcl_pConfig.9_6->pFlexioInitType;
  953. _8 = _7->instance;
  954. _9 = (long unsigned int) _8;
  955. Flexio_Mcl_Ip_DeinitDevice (_9);
  956. <bb 7> :
  957. Mcl_pConfig = 0B;
  958. goto <bb 9>; [INV]
  959. <bb 8> :
  960. Det_ReportError (255, 0, 11, 0);
  961. <bb 9> :
  962. return;
  963. }
  964. Mcl_Init (const struct Mcl_ConfigType * const ConfigPtr)
  965. {
  966. Mcl_ReturnType ValidPtr;
  967. Dma_Ip_ReturnType DmaIpStatus;
  968. const struct Mcl_ConfigType * Mcl_pConfig.0_1;
  969. const struct Mcl_ConfigType * Mcl_pConfig.1_2;
  970. const struct Mcl_ConfigType * Mcl_pConfig.2_3;
  971. const struct Dma_Ip_InitType * _4;
  972. const struct Mcl_ConfigType * Mcl_pConfig.3_5;
  973. const struct Dma_Ip_InitType * _6;
  974. const struct Mcl_ConfigType * Mcl_pConfig.4_7;
  975. const struct Flexio_Ip_InstanceConfigType * _8;
  976. const struct Mcl_ConfigType * Mcl_pConfig.5_9;
  977. const struct Flexio_Ip_InstanceConfigType * _10;
  978. <bb 2> :
  979. ValidPtr_16 = Mcl_ValidatePtrInit (ConfigPtr_14(D));
  980. if (ValidPtr_16 == 0)
  981. goto <bb 3>; [INV]
  982. else
  983. goto <bb 11>; [INV]
  984. <bb 3> :
  985. Mcl_pConfig.0_1 = Mcl_pConfig;
  986. if (Mcl_pConfig.0_1 == 0B)
  987. goto <bb 4>; [INV]
  988. else
  989. goto <bb 10>; [INV]
  990. <bb 4> :
  991. Mcl_pConfig = &Mcl_Config;
  992. Mcl_pConfig.1_2 = Mcl_pConfig;
  993. if (Mcl_pConfig.1_2 != 0B)
  994. goto <bb 5>; [INV]
  995. else
  996. goto <bb 11>; [INV]
  997. <bb 5> :
  998. Mcl_pConfig.2_3 = Mcl_pConfig;
  999. _4 = Mcl_pConfig.2_3->pxDmaInitType;
  1000. if (_4 != 0B)
  1001. goto <bb 6>; [INV]
  1002. else
  1003. goto <bb 8>; [INV]
  1004. <bb 6> :
  1005. Mcl_pConfig.3_5 = Mcl_pConfig;
  1006. _6 = Mcl_pConfig.3_5->pxDmaInitType;
  1007. DmaIpStatus_20 = Dma_Ip_Init (_6);
  1008. if (DmaIpStatus_20 != 0)
  1009. goto <bb 7>; [INV]
  1010. else
  1011. goto <bb 8>; [INV]
  1012. <bb 7> :
  1013. Det_ReportError (255, 0, 0, 0);
  1014. <bb 8> :
  1015. Mcl_pConfig.4_7 = Mcl_pConfig;
  1016. _8 = Mcl_pConfig.4_7->pFlexioInitType;
  1017. if (_8 != 0B)
  1018. goto <bb 9>; [INV]
  1019. else
  1020. goto <bb 11>; [INV]
  1021. <bb 9> :
  1022. Mcl_pConfig.5_9 = Mcl_pConfig;
  1023. _10 = Mcl_pConfig.5_9->pFlexioInitType;
  1024. Flexio_Mcl_Ip_InitDevice (_10);
  1025. goto <bb 11>; [INV]
  1026. <bb 10> :
  1027. Det_ReportError (255, 0, 0, 0);
  1028. <bb 11> :
  1029. return;
  1030. }
  1031. Mcl_DmaReturnCheck (const uint8 Channel, const uint8 Function, const Dma_Ip_ReturnType RetStatus)
  1032. {
  1033. <bb 2> :
  1034. switch (RetStatus_2(D)) <default: <L4> [INV], case 0: <L3> [INV], case 1: <L0> [INV], case 2: <L1> [INV], case 3: <L2> [INV]>
  1035. <bb 3> :
  1036. <L0>:
  1037. Det_ReportError (255, Channel_4(D), Function_5(D), 7);
  1038. goto <bb 8>; [INV]
  1039. <bb 4> :
  1040. <L1>:
  1041. Det_ReportError (255, Channel_4(D), Function_5(D), 6);
  1042. goto <bb 8>; [INV]
  1043. <bb 5> :
  1044. <L2>:
  1045. Det_ReportError (255, Channel_4(D), Function_5(D), 5);
  1046. goto <bb 8>; [INV]
  1047. <bb 6> :
  1048. <L3>:
  1049. goto <bb 8>; [INV]
  1050. <bb 7> :
  1051. <L4>:
  1052. <bb 8> :
  1053. return;
  1054. }
  1055. Mcl_ValidatePtrInit (const struct Mcl_ConfigType * const ConfigPtr)
  1056. {
  1057. Mcl_ReturnType Valid;
  1058. Mcl_ReturnType D.6535;
  1059. Mcl_ReturnType _8;
  1060. <bb 2> :
  1061. Valid_3 = 0;
  1062. if (ConfigPtr_4(D) != 0B)
  1063. goto <bb 3>; [INV]
  1064. else
  1065. goto <bb 4>; [INV]
  1066. <bb 3> :
  1067. Valid_6 = 1;
  1068. Det_ReportError (255, 0, 0, 11);
  1069. <bb 4> :
  1070. # Valid_1 = PHI <Valid_3(2), Valid_6(3)>
  1071. _8 = Valid_1;
  1072. <bb 5> :
  1073. <L3>:
  1074. return _8;
  1075. }