
Marking local functions: Static_Dma_Ip_GetLogicChannelError Static_Dma_Ip_SetLogicChannelScatterGatherInit Static_Dma_Ip_SetLogicChannelScatterGatherList Static_Dma_Ip_SetLogicChannelTransferList Static_Dma_Ip_SetLogicChannelGlobalList Static_Dma_Ip_SetLogicChannelTransferConfig Static_Dma_Ip_SetLogicChannelGlobalConfig


Marking externally visible functions: Dma_Ip_ErrorIrqHandler Dma_Ip_IntIrqHandler Dma_Ip_SetLogicChannelScatterGatherConfig Dma_Ip_GetLogicChannelParam Dma_Ip_SetLogicChannelScatterGatherList Dma_Ip_SetLogicChannelTransferList Dma_Ip_SetLogicChannelGlobalList Dma_Ip_GetLogicChannelStatus Dma_Ip_SetLogicChannelCommand Dma_Ip_LogicChannelDeinit Dma_Ip_LogicChannelInit Dma_Ip_GetLogicInstanceStatus Dma_Ip_SetLogicInstanceCommand Dma_Ip_Deinit Dma_Ip_Init Dma_Ip_ConvertLogicChToHwCh


Marking externally visible variables:


Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:

SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11/65 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11) @06d32e00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherConfig/22 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11/64 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11) @06d32d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherConfig/22 
  Calls: 
HwAccDmaCh_GetParam/63 (HwAccDmaCh_GetParam) @06d32b60
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelParam/21 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09/62 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09) @06d328c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherList/19 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09/61 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09) @06d327e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherList/19 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08/60 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08) @06d32620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08/59 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08) @06d32540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_07/58 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_07) @06d32380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelGlobalList/15 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07/57 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07) @06d322a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelGlobalList/15 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06/56 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06) @06d320e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 
  Calls: 
Dma_Ip_GetHwChannelState/55 (Dma_Ip_GetHwChannelState) @06d32000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 
  Calls: 
HwAccDmaCh_GetStatus/54 (HwAccDmaCh_GetStatus) @06cd72a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06/53 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06) @06cd7ee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05/52 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05) @06cd7d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelCommand/13 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05/51 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05) @06cd7c40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelCommand/13 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04/50 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04) @06cd7a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04/49 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04) @06cd79a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 
  Calls: 
HwAccDmaCh_SetGlobalParam/48 (HwAccDmaCh_SetGlobalParam) @06cd77e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelGlobalList/16 
  Calls: 
HwAccDmaCh_SetTransferParam/47 (HwAccDmaCh_SetTransferParam) @06cd7540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherList/20 Static_Dma_Ip_SetLogicChannelTransferList/18 
  Calls: 
HwAccDmaCh_SetCommand/46 (HwAccDmaCh_SetCommand) @06cd7380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelCommand/13 Dma_Ip_SetLogicChannelCommand/13 Dma_Ip_LogicChannelDeinit/12 Static_Dma_Ip_SetLogicChannelTransferConfig/6 
  Calls: 
HwAccDmaCh_GetStatus_Error/45 (HwAccDmaCh_GetStatus_Error) @06cd71c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_GetLogicChannelError/26 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12/44 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12) @06cd7000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 
  Calls: 
HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 (HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd) @06cb8ee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherConfig/22 Dma_Ip_SetLogicChannelScatterGatherConfig/22 Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 
  Calls: 
HwAccDmaCh_LoadConfigIntoSoftwareTcd/42 (HwAccDmaCh_LoadConfigIntoSoftwareTcd) @06cb8e00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12/41 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12) @06cb8d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 
  Calls: 
HwAccDmaCh_SetControl_ScatterGatherAddress/40 (HwAccDmaCh_SetControl_ScatterGatherAddress) @06cb8a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_LogicChannelInit/11 Dma_Ip_LogicChannelInit/11 
  Calls: 
HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 (HwAccDmaCh_SetControl_EnScatterGatherProcessing) @06cb89a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_LogicChannelInit/11 Dma_Ip_LogicChannelInit/11 
  Calls: 
Dma_Ip_SetHwChannelState/38 (Dma_Ip_SetHwChannelState) @06cb88c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_ErrorIrqHandler/25 Dma_Ip_SetLogicChannelScatterGatherConfig/22 Dma_Ip_SetLogicChannelScatterGatherConfig/22 Dma_Ip_SetLogicChannelScatterGatherList/19 Dma_Ip_SetLogicChannelScatterGatherList/19 Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelGlobalList/15 Dma_Ip_SetLogicChannelCommand/13 Dma_Ip_SetLogicChannelCommand/13 Dma_Ip_LogicChannelDeinit/12 Dma_Ip_LogicChannelInit/11 Dma_Ip_LogicChannelInit/11 Dma_Ip_LogicChannelInit/11 Dma_Ip_LogicChannelInit/11 
  Calls: 
HwAccDmaInst_GetStatus/37 (HwAccDmaInst_GetStatus) @06cb8700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicInstanceStatus/10 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02/36 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02) @06cb8540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicInstanceCommand/9 
  Calls: 
HwAccDmaInst_SetCommand/35 (HwAccDmaInst_SetCommand) @06cb8460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicInstanceCommand/9 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02/34 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02) @06cb8380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicInstanceCommand/9 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01/33 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01) @06cb81c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Deinit/8 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01/32 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01) @06cb80e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Deinit/8 
  Calls: 
Dma_Ip_GetHwChannelStatePointer/31 (Dma_Ip_GetHwChannelStatePointer) @06caf620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_ErrorIrqHandler/25 Dma_Ip_IntIrqHandler/24 Dma_Ip_SetLogicChannelScatterGatherConfig/22 Dma_Ip_SetLogicChannelScatterGatherList/19 Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelGlobalList/15 Dma_Ip_GetLogicChannelStatus/14 Dma_Ip_SetLogicChannelCommand/13 Dma_Ip_LogicChannelDeinit/12 Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 Dma_Ip_LogicChannelInit/11 Dma_Ip_Init/7 
  Calls: 
Dma_Ip_SetHwChannelStatePointer/30 (Dma_Ip_SetHwChannelStatePointer) @06caf380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Init/7 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00/29 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00) @06cafee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Init/7 
  Calls: 
HwAccDmaInst_SetConfig/28 (HwAccDmaInst_SetConfig) @06cafe00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Deinit/8 Dma_Ip_Init/7 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00/27 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00) @06cafd20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Init/7 
  Calls: 
Static_Dma_Ip_GetLogicChannelError/26 (Static_Dma_Ip_GetLogicChannelError) @06caf7e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: local
  Function flags: body local optimize_size
  Called by: Dma_Ip_ErrorIrqHandler/25 Dma_Ip_SetLogicChannelScatterGatherConfig/22 Dma_Ip_SetLogicChannelScatterGatherList/19 Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelGlobalList/15 Dma_Ip_GetLogicChannelStatus/14 Dma_Ip_SetLogicChannelCommand/13 Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 
  Calls: HwAccDmaCh_GetStatus_Error/45 
Dma_Ip_ErrorIrqHandler/25 (Dma_Ip_ErrorIrqHandler) @06caf540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_GetLogicChannelError/26 Dma_Ip_GetHwChannelStatePointer/31 
   Indirect call
Dma_Ip_IntIrqHandler/24 (Dma_Ip_IntIrqHandler) @06caf2a0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Dma_Ip_GetHwChannelStatePointer/31 
   Indirect call
Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (Static_Dma_Ip_SetLogicChannelScatterGatherInit) @06caf000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: body local optimize_size
  Called by: Dma_Ip_LogicChannelInit/11 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12/44 HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 HwAccDmaCh_LoadConfigIntoSoftwareTcd/42 HwAccDmaCh_LoadConfigIntoSoftwareTcd/42 Static_Dma_Ip_GetLogicChannelError/26 Dma_Ip_GetHwChannelStatePointer/31 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12/41 
Dma_Ip_SetLogicChannelScatterGatherConfig/22 (Dma_Ip_SetLogicChannelScatterGatherConfig) @06c9bb60
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11/65 HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 Dma_Ip_SetHwChannelState/38 HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_GetLogicChannelError/26 Dma_Ip_GetHwChannelStatePointer/31 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11/64 
Dma_Ip_GetLogicChannelParam/21 (Dma_Ip_GetLogicChannelParam) @06c9b540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: HwAccDmaCh_GetParam/63 
Static_Dma_Ip_SetLogicChannelScatterGatherList/20 (Static_Dma_Ip_SetLogicChannelScatterGatherList) @06c9b000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: body local optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherList/19 Dma_Ip_SetLogicChannelScatterGatherList/19 
  Calls: HwAccDmaCh_SetTransferParam/47 
Dma_Ip_SetLogicChannelScatterGatherList/19 (Dma_Ip_SetLogicChannelScatterGatherList) @06c9bd20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09/62 Static_Dma_Ip_SetLogicChannelScatterGatherList/20 Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_SetLogicChannelScatterGatherList/20 Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_GetLogicChannelError/26 Dma_Ip_GetHwChannelStatePointer/31 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09/61 
Static_Dma_Ip_SetLogicChannelTransferList/18 (Static_Dma_Ip_SetLogicChannelTransferList) @06c9ba80
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: body local optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelTransferList/17 Dma_Ip_SetLogicChannelTransferList/17 Static_Dma_Ip_SetLogicChannelTransferConfig/6 
  Calls: HwAccDmaCh_SetTransferParam/47 
Dma_Ip_SetLogicChannelTransferList/17 (Dma_Ip_SetLogicChannelTransferList) @06c9b7e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08/60 Static_Dma_Ip_SetLogicChannelTransferList/18 Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_SetLogicChannelTransferList/18 Dma_Ip_SetHwChannelState/38 HwAccDmaCh_SetControl_ScatterGatherAddress/40 HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 Static_Dma_Ip_SetLogicChannelTransferList/18 HwAccDmaCh_SetCommand/46 Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_GetLogicChannelError/26 Dma_Ip_GetHwChannelStatePointer/31 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08/59 
Static_Dma_Ip_SetLogicChannelGlobalList/16 (Static_Dma_Ip_SetLogicChannelGlobalList) @06c9b460
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: local
  Function flags: body local optimize_size
  Called by: Dma_Ip_SetLogicChannelGlobalList/15 Static_Dma_Ip_SetLogicChannelGlobalConfig/5 
  Calls: HwAccDmaCh_SetGlobalParam/48 
Dma_Ip_SetLogicChannelGlobalList/15 (Dma_Ip_SetLogicChannelGlobalList) @06c9b1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_07/58 Static_Dma_Ip_SetLogicChannelGlobalList/16 Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_GetLogicChannelError/26 Dma_Ip_GetHwChannelStatePointer/31 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07/57 
Dma_Ip_GetLogicChannelStatus/14 (Dma_Ip_GetLogicChannelStatus) @05eb6ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06/56 Dma_Ip_GetHwChannelState/55 HwAccDmaCh_GetStatus/54 Static_Dma_Ip_GetLogicChannelError/26 Dma_Ip_GetHwChannelStatePointer/31 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06/53 
Dma_Ip_SetLogicChannelCommand/13 (Dma_Ip_SetLogicChannelCommand) @05eb68c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05/52 HwAccDmaCh_SetCommand/46 Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_GetLogicChannelError/26 HwAccDmaCh_SetCommand/46 Dma_Ip_SetHwChannelState/38 Dma_Ip_GetHwChannelStatePointer/31 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05/51 
Dma_Ip_LogicChannelDeinit/12 (Dma_Ip_LogicChannelDeinit) @05eb6380
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: Dma_Ip_Deinit/8 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04/50 HwAccDmaCh_SetCommand/46 Dma_Ip_GetHwChannelStatePointer/31 Static_Dma_Ip_SetLogicChannelTransferConfig/6 Static_Dma_Ip_SetLogicChannelGlobalConfig/5 Dma_Ip_SetHwChannelState/38 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04/49 
Dma_Ip_LogicChannelInit/11 (Dma_Ip_LogicChannelInit) @05eb6e00
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: Dma_Ip_Init/7 
  Calls: Dma_Ip_SetHwChannelState/38 Static_Dma_Ip_SetLogicChannelGlobalConfig/5 Static_Dma_Ip_SetLogicChannelGlobalConfig/5 Static_Dma_Ip_SetLogicChannelTransferConfig/6 Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 Dma_Ip_SetHwChannelState/38 HwAccDmaCh_SetControl_ScatterGatherAddress/40 HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 Static_Dma_Ip_SetLogicChannelTransferConfig/6 Dma_Ip_SetHwChannelState/38 HwAccDmaCh_SetControl_ScatterGatherAddress/40 HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 Dma_Ip_SetHwChannelState/38 Dma_Ip_GetHwChannelStatePointer/31 
Dma_Ip_GetLogicInstanceStatus/10 (Dma_Ip_GetLogicInstanceStatus) @05eb6a80
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: HwAccDmaInst_GetStatus/37 
Dma_Ip_SetLogicInstanceCommand/9 (Dma_Ip_SetLogicInstanceCommand) @05eb67e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02/36 HwAccDmaInst_SetCommand/35 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02/34 
Dma_Ip_Deinit/8 (Dma_Ip_Deinit) @05eb6540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Dma_Ip_LogicChannelDeinit/12 SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01/33 HwAccDmaInst_SetConfig/28 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01/32 
Dma_Ip_Init/7 (Dma_Ip_Init) @05eb62a0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (write)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Dma_Ip_LogicChannelInit/11 Dma_Ip_GetHwChannelStatePointer/31 Dma_Ip_SetHwChannelStatePointer/30 SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00/29 HwAccDmaInst_SetConfig/28 SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00/27 
Static_Dma_Ip_SetLogicChannelTransferConfig/6 (Static_Dma_Ip_SetLogicChannelTransferConfig) @05eb6000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: body local optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 Dma_Ip_LogicChannelInit/11 Dma_Ip_LogicChannelInit/11 
  Calls: Static_Dma_Ip_SetLogicChannelTransferList/18 HwAccDmaCh_SetCommand/46 
Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (Static_Dma_Ip_SetLogicChannelGlobalConfig) @05e60ee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: body local optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 Dma_Ip_LogicChannelInit/11 Dma_Ip_LogicChannelInit/11 
  Calls: Static_Dma_Ip_SetLogicChannelGlobalList/16 
Dma_Ip_ConvertLogicChToHwCh/4 (Dma_Ip_ConvertLogicChToHwCh) @05e60c40
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: 
Dma_Ip_pxInit/3 (Dma_Ip_pxInit) @05e5f828
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: Dma_Ip_ConvertLogicChToHwCh/4 (read)Dma_Ip_Init/7 (write)Dma_Ip_Init/7 (read)Dma_Ip_Init/7 (read)Dma_Ip_Init/7 (read)Dma_Ip_Init/7 (read)Dma_Ip_Init/7 (read)Dma_Ip_Init/7 (read)Dma_Ip_Deinit/8 (read)Dma_Ip_Deinit/8 (read)Dma_Ip_SetLogicInstanceCommand/9 (read)Dma_Ip_GetLogicInstanceStatus/10 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (read)Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (read)Static_Dma_Ip_SetLogicChannelTransferConfig/6 (read)Static_Dma_Ip_SetLogicChannelTransferList/18 (read)Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (read)Dma_Ip_LogicChannelDeinit/12 (read)Dma_Ip_LogicChannelDeinit/12 (read)Dma_Ip_LogicChannelDeinit/12 (read)Dma_Ip_SetLogicChannelCommand/13 (read)Dma_Ip_GetLogicChannelStatus/14 (read)Dma_Ip_SetLogicChannelGlobalList/15 (read)Dma_Ip_SetLogicChannelTransferList/17 (read)Dma_Ip_SetLogicChannelScatterGatherList/19 (read)Dma_Ip_SetLogicChannelScatterGatherList/19 (read)Static_Dma_Ip_SetLogicChannelScatterGatherList/20 (read)Dma_Ip_GetLogicChannelParam/21 (read)Dma_Ip_SetLogicChannelScatterGatherConfig/22 (read)Dma_Ip_SetLogicChannelScatterGatherConfig/22 (read)
  Availability: available
  Varpool flags:
Static_Dma_Ip_GetLogicChannelError (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh, uint32 * LocLogicChErrors)
{
  uint32 LocError;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocError = 0;
  # DEBUG BEGIN_STMT
  HwAccDmaCh_GetStatus_Error (LocHwVers, LocHwInst, LocHwCh, &LocError);
  # DEBUG BEGIN_STMT
  _1 = *LocLogicChErrors;
  LocError.21_2 = LocError;
  _3 = _1 | LocError.21_2;
  *LocLogicChErrors = _3;
  LocError = {CLOBBER};
  return;

}


Dma_Ip_ErrorIrqHandler (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
{
  struct Dma_Ip_HwChannelStateType * LocChState;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  if (LocChState != 0B)
    goto <bb 3>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _1 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers, LocHwInst, LocHwCh, _1);
  # DEBUG BEGIN_STMT
  _2 = LocChState->LogicChErrors;
  if (_2 != 0)
    goto <bb 4>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 4);

  <bb 5> :
  # DEBUG BEGIN_STMT
  _3 = LocChState->LogicChId;
  _4 = _3->ErrIntCallback;
  if (_4 != 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _5 = LocChState->LogicChId;
  _6 = _5->ErrIntCallback;
  _6 ();

  <bb 7> :
  return;

}


Dma_Ip_IntIrqHandler (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
{
  const struct Dma_Ip_HwChannelStateType * LocChState;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  if (LocChState != 0B)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _1 = LocChState->LogicChId;
  _2 = _1->IntCallback;
  if (_2 != 0B)
    goto <bb 4>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _3 = LocChState->LogicChId;
  _4 = _3->IntCallback;
  _4 ();

  <bb 5> :
  return;

}


Static_Dma_Ip_SetLogicChannelScatterGatherInit (const uint32 LogicCh, const uint32 Element)
{
  uint32 LocElement;
  uint32 LocLoopCheck;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  struct Dma_Ip_ScatterGatherConfigType * LocCurrentConfig;
  struct Dma_Ip_ScatterGatherConfigType * LocScatterGather;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6520;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.19_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.19_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.20_6 = Dma_Ip_pxInit;
  _7 = Dma_Ip_pxInit.20_6->ppxLogicChannelConfigArray;
  _8 = LogicCh * 4;
  _9 = _7 + _8;
  _10 = *_9;
  _11 = _10->ppxScatterGatherConfigArray;
  _12 = Element * 4;
  _13 = _11 + _12;
  LocScatterGather = *_13;
  # DEBUG BEGIN_STMT
  _14 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _14;
  # DEBUG BEGIN_STMT
  _15 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _15;
  # DEBUG BEGIN_STMT
  _16 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _16;
  # DEBUG BEGIN_STMT
  LocLoopCheck = 0;
  # DEBUG BEGIN_STMT
  LocElement = Element;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12 ();
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _17 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers, LocHwInst, LocHwCh, _17);
  # DEBUG BEGIN_STMT
  _18 = LocChState->StateValue;
  if (_18 == 3)
    goto <bb 3>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  LocCurrentConfig = LocScatterGather;
  # DEBUG BEGIN_STMT
  goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  LocCurrentConfig->Loaded = 0;
  # DEBUG BEGIN_STMT
  LocCurrentConfig = LocCurrentConfig->NextConfig;

  <bb 5> :
  # DEBUG BEGIN_STMT
  if (LocCurrentConfig != 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  _19 = LocCurrentConfig->Loaded;
  if (_19 != 0)
    goto <bb 4>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  LocCurrentConfig = LocScatterGather;
  # DEBUG BEGIN_STMT
  goto <bb 14>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  LocCurrentConfig->Loaded = 1;
  # DEBUG BEGIN_STMT
  _20 = LocCurrentConfig->NextConfig;
  if (_20 == 0B)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadConfigIntoSoftwareTcd (LocHwVers, LocCurrentConfig, LocElement, 0);
  goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadConfigIntoSoftwareTcd (LocHwVers, LocCurrentConfig, LocElement, 1);

  <bb 11> :
  # DEBUG BEGIN_STMT
  LocCurrentConfig = LocCurrentConfig->NextConfig;
  # DEBUG BEGIN_STMT
  LocLoopCheck = LocLoopCheck + 1;
  # DEBUG BEGIN_STMT
  if (LocLoopCheck > 255)
    goto <bb 12>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  LocStatus = 3;
  # DEBUG BEGIN_STMT
  goto <bb 16>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  LocElement = LocElement + 1;

  <bb 14> :
  # DEBUG BEGIN_STMT
  if (LocCurrentConfig != 0B)
    goto <bb 15>; [INV]
  else
    goto <bb 16>; [INV]

  <bb 15> :
  _21 = LocCurrentConfig->Loaded;
  _22 = ~_21;
  if (_22 != 0)
    goto <bb 8>; [INV]
  else
    goto <bb 16>; [INV]

  <bb 16> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd (LocLogicChId, LocScatterGather);

  <bb 17> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12 ();
  # DEBUG BEGIN_STMT
  D.6520 = LocStatus;
  return D.6520;

}


Dma_Ip_SetLogicChannelScatterGatherConfig (const uint32 LogicCh, const uint32 Element)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_ScatterGatherConfigType * LocScatterGather;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6597;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.36_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.36_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.37_6 = Dma_Ip_pxInit;
  _7 = Dma_Ip_pxInit.37_6->ppxLogicChannelConfigArray;
  _8 = LogicCh * 4;
  _9 = _7 + _8;
  _10 = *_9;
  _11 = _10->ppxScatterGatherConfigArray;
  _12 = Element * 4;
  _13 = _11 + _12;
  LocScatterGather = *_13;
  # DEBUG BEGIN_STMT
  _14 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _14;
  # DEBUG BEGIN_STMT
  _15 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _15;
  # DEBUG BEGIN_STMT
  _16 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _16;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11 ();
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _17 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers, LocHwInst, LocHwCh, _17);
  # DEBUG BEGIN_STMT
  _18 = LocChState->LogicChErrors;
  if (_18 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 4);
  # DEBUG BEGIN_STMT
  LocStatus = 1;
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _19 = LocChState->StateValue;
  if (_19 == 3)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd (LocLogicChId, LocScatterGather);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _20 = LocChState->StateValue;
  _21 = _20 + 4294967295;
  if (_21 <= 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 3);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd (LocLogicChId, LocScatterGather);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  LocStatus = 2;

  <bb 9> :
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11 ();
  # DEBUG BEGIN_STMT
  D.6597 = LocStatus;
  return D.6597;

}


Dma_Ip_GetLogicChannelParam (const uint32 LogicCh, const Dma_Ip_LogicChannelInfoParamType Param, uint32 * const Value)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6586;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.35_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.35_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  HwAccDmaCh_GetParam (Param, LocHwVers, LocHwInst, LocHwCh, Value);
  # DEBUG BEGIN_STMT
  D.6586 = LocStatus;
  return D.6586;

}


Static_Dma_Ip_SetLogicChannelScatterGatherList (const uint32 LogicCh, struct Dma_Ip_SwTcdRegType * pxSwTcd, const struct Dma_Ip_LogicChannelScatterGatherListType * List, const uint32 ListDimension)
{
  uint32 LocHwVers;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  uint32 LocParamIdx;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.34_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.34_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  LocParamIdx = 0;
  goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = LocParamIdx * 8;
  _8 = List + _7;
  _9 = _8->Param;
  _10 = LocParamIdx * 8;
  _11 = List + _10;
  _12 = _11->Value;
  HwAccDmaCh_SetTransferParam (_9, LocHwVers, pxSwTcd, _12);
  # DEBUG BEGIN_STMT
  LocParamIdx = LocParamIdx + 1;

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (LocParamIdx < ListDimension)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  return;

}


Dma_Ip_SetLogicChannelScatterGatherList (const uint32 LogicCh, const uint32 Element, const struct Dma_Ip_LogicChannelScatterGatherListType * List, const uint32 ListDimension)
{
  struct Dma_Ip_SwTcdRegType * pxSwTcd;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6584;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.32_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.32_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09 ();
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _9 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers, LocHwInst, LocHwCh, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState->LogicChErrors;
  if (_10 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 4);
  # DEBUG BEGIN_STMT
  LocStatus = 1;
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.33_11 = Dma_Ip_pxInit;
  _12 = Dma_Ip_pxInit.33_11->ppxLogicChannelConfigArray;
  _13 = LogicCh * 4;
  _14 = _12 + _13;
  _15 = *_14;
  _16 = _15->ppxScatterGatherConfigArray;
  _17 = Element * 4;
  _18 = _16 + _17;
  _19 = *_18;
  pxSwTcd = _19->Stcd;
  # DEBUG BEGIN_STMT
  _20 = LocChState->StateValue;
  if (_20 == 3)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelScatterGatherList (LogicCh, pxSwTcd, List, ListDimension);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _21 = LocChState->StateValue;
  _22 = _21 + 4294967295;
  if (_22 <= 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 3);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelScatterGatherList (LogicCh, pxSwTcd, List, ListDimension);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  LocStatus = 2;

  <bb 9> :
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09 ();
  # DEBUG BEGIN_STMT
  D.6584 = LocStatus;
  return D.6584;

}


Static_Dma_Ip_SetLogicChannelTransferList (const uint32 LogicCh, struct Dma_Ip_TcdRegType * pxTcd, const struct Dma_Ip_LogicChannelTransferListType * List, const uint32 ListDimension)
{
  uint32 LocHwVers;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  uint32 LocParamIdx;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.23_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.23_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  LocParamIdx = 0;
  goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = LocParamIdx * 8;
  _8 = List + _7;
  _9 = _8->Param;
  _10 = LocParamIdx * 8;
  _11 = List + _10;
  _12 = _11->Value;
  HwAccDmaCh_SetTransferParam (_9, LocHwVers, pxTcd, _12);
  # DEBUG BEGIN_STMT
  LocParamIdx = LocParamIdx + 1;

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (LocParamIdx < ListDimension)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  return;

}


Dma_Ip_SetLogicChannelTransferList (const uint32 LogicCh, const struct Dma_Ip_LogicChannelTransferListType * List, const uint32 ListDimension)
{
  struct Dma_Ip_TcdRegType * pxTcd;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6573;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  pxTcd = 0B;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.31_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.31_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08 ();
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _9 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers, LocHwInst, LocHwCh, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState->LogicChErrors;
  if (_10 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 4);
  # DEBUG BEGIN_STMT
  LocStatus = 1;
  goto <bb 13>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (LocHwVers == 2)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  _11 = 1073778688B;
  pxTcd = &_11->TCD_RSV[LocHwCh].tChTcdReg.tTcdReg;

  <bb 6> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (3, LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _12 = LocChState->StateValue;
  if (_12 == 2)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh, pxTcd, List, ListDimension);
  goto <bb 13>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_EnScatterGatherProcessing (LocHwVers, pxTcd, 0);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_ScatterGatherAddress (LocHwVers, pxTcd, 0);
  # DEBUG BEGIN_STMT
  _13 = LocChState->StateValue;
  if (_13 == 3)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 2);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh, pxTcd, List, ListDimension);
  goto <bb 13>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _14 = LocChState->StateValue;
  if (_14 == 1)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 2);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh, pxTcd, List, ListDimension);
  goto <bb 13>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  LocStatus = 2;

  <bb 13> :
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08 ();
  # DEBUG BEGIN_STMT
  D.6573 = LocStatus;
  return D.6573;

}


Static_Dma_Ip_SetLogicChannelGlobalList (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh, const struct Dma_Ip_LogicChannelGlobalListType * List, const uint32 ListDimension)
{
  uint32 LocParamIdx;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  LocParamIdx = 0;
  goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = LocParamIdx * 8;
  _2 = List + _1;
  _3 = _2->Param;
  _4 = LocParamIdx * 8;
  _5 = List + _4;
  _6 = _5->Value;
  HwAccDmaCh_SetGlobalParam (_3, LocHwVers, LocHwInst, LocHwCh, _6);
  # DEBUG BEGIN_STMT
  LocParamIdx = LocParamIdx + 1;

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (LocParamIdx < ListDimension)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  return;

}


Dma_Ip_SetLogicChannelGlobalList (const uint32 LogicCh, const struct Dma_Ip_LogicChannelGlobalListType * List, const uint32 ListDimension)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6557;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.30_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.30_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07 ();
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _9 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers, LocHwInst, LocHwCh, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState->LogicChErrors;
  if (_10 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 4);
  # DEBUG BEGIN_STMT
  LocStatus = 1;
  goto <bb 7>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _11 = LocChState->StateValue;
  _12 = _11 + 4294967295;
  if (_12 <= 2)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelGlobalList (LocHwVers, LocHwInst, LocHwCh, List, ListDimension);
  goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  LocStatus = 2;

  <bb 7> :
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_07 ();
  # DEBUG BEGIN_STMT
  D.6557 = LocStatus;
  return D.6557;

}


Dma_Ip_GetLogicChannelStatus (const uint32 LogicCh, struct Dma_Ip_LogicChannelStatusType * const ChStatus)
{
  uint8 LocHwCh;
  uint8 LocHwInst;
  uint8 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6549;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.29_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.29_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  LocHwVers = LocLogicChId->HwVersId;
  # DEBUG BEGIN_STMT
  LocHwInst = LocLogicChId->HwInstId;
  # DEBUG BEGIN_STMT
  LocHwCh = LocLogicChId->HwChId;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06 ();
  # DEBUG BEGIN_STMT
  _6 = (long unsigned int) LocHwVers;
  _7 = (long unsigned int) LocHwInst;
  _8 = (long unsigned int) LocHwCh;
  LocChState = Dma_Ip_GetHwChannelStatePointer (_6, _7, _8);
  # DEBUG BEGIN_STMT
  _9 = (long unsigned int) LocHwVers;
  _10 = (long unsigned int) LocHwInst;
  _11 = (long unsigned int) LocHwCh;
  _12 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (_9, _10, _11, _12);
  # DEBUG BEGIN_STMT
  _13 = LocChState->LogicChErrors;
  ChStatus->Errors = _13;
  # DEBUG BEGIN_STMT
  _14 = (long unsigned int) LocHwVers;
  _15 = (long unsigned int) LocHwInst;
  _16 = (long unsigned int) LocHwCh;
  HwAccDmaCh_GetStatus (_14, _15, _16, ChStatus);
  # DEBUG BEGIN_STMT
  _17 = (long unsigned int) LocHwVers;
  _18 = (long unsigned int) LocHwInst;
  _19 = (long unsigned int) LocHwCh;
  _20 = Dma_Ip_GetHwChannelState (_17, _18, _19);
  ChStatus->ChStateValue = _20;
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06 ();
  # DEBUG BEGIN_STMT
  D.6549 = LocStatus;
  return D.6549;

}


Dma_Ip_SetLogicChannelCommand (const uint32 LogicCh, const Dma_Ip_LogicChannelCmdType Command)
{
  uint8 LocHwCh;
  uint8 LocHwInst;
  uint8 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6547;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.28_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.28_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  LocHwVers = LocLogicChId->HwVersId;
  # DEBUG BEGIN_STMT
  LocHwInst = LocLogicChId->HwInstId;
  # DEBUG BEGIN_STMT
  LocHwCh = LocLogicChId->HwChId;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05 ();
  # DEBUG BEGIN_STMT
  _6 = (long unsigned int) LocHwVers;
  _7 = (long unsigned int) LocHwInst;
  _8 = (long unsigned int) LocHwCh;
  LocChState = Dma_Ip_GetHwChannelStatePointer (_6, _7, _8);
  # DEBUG BEGIN_STMT
  if (Command == 4)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  LocChState->LogicChErrors = 0;
  # DEBUG BEGIN_STMT
  _9 = (long unsigned int) LocHwVers;
  _10 = (long unsigned int) LocHwInst;
  _11 = (long unsigned int) LocHwCh;
  Dma_Ip_SetHwChannelState (_9, _10, _11, 1);
  # DEBUG BEGIN_STMT
  _12 = (long unsigned int) LocHwVers;
  _13 = (long unsigned int) LocHwInst;
  _14 = (long unsigned int) LocHwCh;
  HwAccDmaCh_SetCommand (Command, _12, _13, _14);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _15 = (long unsigned int) LocHwVers;
  _16 = (long unsigned int) LocHwInst;
  _17 = (long unsigned int) LocHwCh;
  _18 = &LocChState->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (_15, _16, _17, _18);
  # DEBUG BEGIN_STMT
  _19 = LocChState->LogicChErrors;
  if (_19 != 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  _20 = (long unsigned int) LocHwVers;
  _21 = (long unsigned int) LocHwInst;
  _22 = (long unsigned int) LocHwCh;
  Dma_Ip_SetHwChannelState (_20, _21, _22, 4);
  # DEBUG BEGIN_STMT
  LocStatus = 1;
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _23 = LocChState->StateValue;
  _24 = _23 + 4294967294;
  if (_24 <= 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _25 = (long unsigned int) LocHwVers;
  _26 = (long unsigned int) LocHwInst;
  _27 = (long unsigned int) LocHwCh;
  HwAccDmaCh_SetCommand (Command, _25, _26, _27);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  LocStatus = 2;

  <bb 9> :
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05 ();
  # DEBUG BEGIN_STMT
  D.6547 = LocStatus;
  return D.6547;

}


Dma_Ip_LogicChannelDeinit (const uint32 LogicCh)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6536;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.25_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.25_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04 ();
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 0);
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.26_9 = Dma_Ip_pxInit;
  _10 = Dma_Ip_pxInit.26_9->pxLogicChannelResetConfig;
  _11 = _10->pxGlobalConfig;
  Static_Dma_Ip_SetLogicChannelGlobalConfig (LogicCh, _11, 1);
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.27_12 = Dma_Ip_pxInit;
  _13 = Dma_Ip_pxInit.27_12->pxLogicChannelResetConfig;
  _14 = _13->pxTransferConfig;
  Static_Dma_Ip_SetLogicChannelTransferConfig (LogicCh, _14);
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  LocChState->LogicChErrors = 0;
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (4, LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04 ();
  # DEBUG BEGIN_STMT
  D.6536 = LocStatus;
  return D.6536;

}


Dma_Ip_LogicChannelInit (const uint32 LogicCh)
{
  struct Dma_Ip_TcdRegType * pxTcd;
  struct Dma_Ip_HwChannelStateType * LocChState;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6508;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  pxTcd = 0B;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.11_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.11_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  LocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _9 = LocChState->StateValue;
  if (_9 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  LocStatus = 2;
  goto <bb 15>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (LocHwVers == 2)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  _10 = 1073778688B;
  pxTcd = &_10->TCD_RSV[LocHwCh].tChTcdReg.tTcdReg;

  <bb 6> :
  # DEBUG BEGIN_STMT
  LocChState->LogicChId = LocLogicChId;
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 1);
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.12_11 = Dma_Ip_pxInit;
  _12 = Dma_Ip_pxInit.12_11->ppxLogicChannelConfigArray;
  _13 = LogicCh * 4;
  _14 = _12 + _13;
  _15 = *_14;
  _16 = _15->pxTransferConfig;
  if (_16 != 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_EnScatterGatherProcessing (LocHwVers, pxTcd, 0);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_ScatterGatherAddress (LocHwVers, pxTcd, 0);
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 2);
  # DEBUG BEGIN_STMT
  _17 = LocLogicChId->LogicChId;
  Dma_Ip_pxInit.13_18 = Dma_Ip_pxInit;
  _19 = Dma_Ip_pxInit.13_18->ppxLogicChannelConfigArray;
  _20 = LogicCh * 4;
  _21 = _19 + _20;
  _22 = *_21;
  _23 = _22->pxTransferConfig;
  LocStatus = Static_Dma_Ip_SetLogicChannelTransferConfig (_17, _23);
  goto <bb 11>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.14_24 = Dma_Ip_pxInit;
  _25 = Dma_Ip_pxInit.14_24->ppxLogicChannelConfigArray;
  _26 = LogicCh * 4;
  _27 = _25 + _26;
  _28 = *_27;
  _29 = _28->ppxScatterGatherConfigArray;
  if (_29 != 0B)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_EnScatterGatherProcessing (LocHwVers, pxTcd, 0);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_ScatterGatherAddress (LocHwVers, pxTcd, 0);
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 3);
  # DEBUG BEGIN_STMT
  _30 = LocLogicChId->LogicChId;
  LocStatus = Static_Dma_Ip_SetLogicChannelScatterGatherInit (_30, 0);
  goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _31 = LocLogicChId->LogicChId;
  Dma_Ip_pxInit.15_32 = Dma_Ip_pxInit;
  _33 = Dma_Ip_pxInit.15_32->pxLogicChannelResetConfig;
  _34 = _33->pxTransferConfig;
  LocStatus = Static_Dma_Ip_SetLogicChannelTransferConfig (_31, _34);

  <bb 11> :
  # DEBUG BEGIN_STMT
  if (LocStatus == 0)
    goto <bb 12>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.16_35 = Dma_Ip_pxInit;
  _36 = Dma_Ip_pxInit.16_35->ppxLogicChannelConfigArray;
  _37 = LogicCh * 4;
  _38 = _36 + _37;
  _39 = *_38;
  _40 = _39->pxGlobalConfig;
  if (_40 != 0B)
    goto <bb 13>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  _41 = LocLogicChId->LogicChId;
  Dma_Ip_pxInit.17_42 = Dma_Ip_pxInit;
  _43 = Dma_Ip_pxInit.17_42->ppxLogicChannelConfigArray;
  _44 = LogicCh * 4;
  _45 = _43 + _44;
  _46 = *_45;
  _47 = _46->pxGlobalConfig;
  LocStatus = Static_Dma_Ip_SetLogicChannelGlobalConfig (_41, _47, 0);
  goto <bb 15>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  _48 = LocLogicChId->LogicChId;
  Dma_Ip_pxInit.18_49 = Dma_Ip_pxInit;
  _50 = Dma_Ip_pxInit.18_49->pxLogicChannelResetConfig;
  _51 = _50->pxGlobalConfig;
  LocStatus = Static_Dma_Ip_SetLogicChannelGlobalConfig (_48, _51, 1);

  <bb 15> :
  # DEBUG BEGIN_STMT
  if (LocStatus != 0)
    goto <bb 16>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 16> :
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers, LocHwInst, LocHwCh, 4);

  <bb 17> :
  # DEBUG BEGIN_STMT
  D.6508 = LocStatus;
  return D.6508;

}


Dma_Ip_GetLogicInstanceStatus (const uint32 LogicInst, struct Dma_Ip_LogicInstanceStatusType * const Status)
{
  const struct Dma_Ip_LogicInstanceIdType * paxLogicInst;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6488;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.10_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.10_1->ppxLogicInstConfigArray;
  _3 = LogicInst * 4;
  _4 = _2 + _3;
  _5 = *_4;
  paxLogicInst = &_5->LogicInstId;
  # DEBUG BEGIN_STMT
  HwAccDmaInst_GetStatus (paxLogicInst, Status);
  # DEBUG BEGIN_STMT
  D.6488 = LocStatus;
  return D.6488;

}


Dma_Ip_SetLogicInstanceCommand (const uint32 LogicInst, const Dma_Ip_LogicInstanceCmdType Command)
{
  const struct Dma_Ip_LogicInstanceIdType * paxLogicInst;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6486;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.9_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.9_1->ppxLogicInstConfigArray;
  _3 = LogicInst * 4;
  _4 = _2 + _3;
  _5 = *_4;
  paxLogicInst = &_5->LogicInstId;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02 ();
  # DEBUG BEGIN_STMT
  HwAccDmaInst_SetCommand (Command, paxLogicInst);
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02 ();
  # DEBUG BEGIN_STMT
  D.6486 = LocStatus;
  return D.6486;

}


Dma_Ip_Deinit ()
{
  uint32 LocCfgIdx;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6484;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01 ();
  # DEBUG BEGIN_STMT
  LocCfgIdx = 0;
  goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.7_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.7_1->ppxLogicInstConfigArray;
  _3 = LocCfgIdx * 4;
  _4 = _2 + _3;
  _5 = *_4;
  _6 = &_5->LogicInstId;
  Dma_Ip_pxInit.8_7 = Dma_Ip_pxInit;
  _8 = Dma_Ip_pxInit.8_7->pxLogicInstanceResetConfig;
  HwAccDmaInst_SetConfig (_6, _8);
  # DEBUG BEGIN_STMT
  LocCfgIdx = LocCfgIdx + 1;

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (LocCfgIdx == 0)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01 ();
  # DEBUG BEGIN_STMT
  LocCfgIdx = 0;
  goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  Dma_Ip_LogicChannelDeinit (LocCfgIdx);
  # DEBUG BEGIN_STMT
  LocCfgIdx = LocCfgIdx + 1;

  <bb 7> :
  # DEBUG BEGIN_STMT
  if (LocCfgIdx <= 5)
    goto <bb 6>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  D.6484 = LocStatus;
  return D.6484;

}


Dma_Ip_Init (const struct Dma_Ip_InitType * const pxDmaInit)
{
  const struct Dma_Ip_HwChannelStateType * pLocChState;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  uint32 LocCfgIdx;
  Dma_Ip_ReturnType LocStatus;
  Dma_Ip_ReturnType D.6482;

  <bb 2> :
  # DEBUG BEGIN_STMT
  LocStatus = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit = pxDmaInit;
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00 ();
  # DEBUG BEGIN_STMT
  LocCfgIdx = 0;
  goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.1_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.1_1->ppxLogicInstConfigArray;
  _3 = LocCfgIdx * 4;
  _4 = _2 + _3;
  _5 = *_4;
  _6 = &_5->LogicInstId;
  Dma_Ip_pxInit.2_7 = Dma_Ip_pxInit;
  _8 = Dma_Ip_pxInit.2_7->ppxLogicInstConfigArray;
  _9 = LocCfgIdx * 4;
  _10 = _8 + _9;
  _11 = *_10;
  HwAccDmaInst_SetConfig (_6, _11);
  # DEBUG BEGIN_STMT
  LocCfgIdx = LocCfgIdx + 1;

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (LocCfgIdx == 0)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00 ();
  # DEBUG BEGIN_STMT
  LocCfgIdx = 0;
  goto <bb 10>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.3_12 = Dma_Ip_pxInit;
  _13 = Dma_Ip_pxInit.3_12->ppxLogicChannelConfigArray;
  _14 = LocCfgIdx * 4;
  _15 = _13 + _14;
  _16 = *_15;
  _17 = _16->LogicChId.HwVersId;
  LocHwVers = (uint32) _17;
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.4_18 = Dma_Ip_pxInit;
  _19 = Dma_Ip_pxInit.4_18->ppxLogicChannelConfigArray;
  _20 = LocCfgIdx * 4;
  _21 = _19 + _20;
  _22 = *_21;
  _23 = _22->LogicChId.HwInstId;
  LocHwInst = (uint32) _23;
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.5_24 = Dma_Ip_pxInit;
  _25 = Dma_Ip_pxInit.5_24->ppxLogicChannelConfigArray;
  _26 = LocCfgIdx * 4;
  _27 = _25 + _26;
  _28 = *_27;
  _29 = _28->LogicChId.HwChId;
  LocHwCh = (uint32) _29;
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.6_30 = Dma_Ip_pxInit;
  _31 = Dma_Ip_pxInit.6_30->ppxChStateArray;
  _32 = LocCfgIdx * 4;
  _33 = _31 + _32;
  _34 = *_33;
  Dma_Ip_SetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh, _34);
  # DEBUG BEGIN_STMT
  pLocChState = Dma_Ip_GetHwChannelStatePointer (LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  _35 = pLocChState->StateValue;
  if (_35 != 0)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  LocStatus = 2;
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  LocStatus = Dma_Ip_LogicChannelInit (LocCfgIdx);

  <bb 9> :
  # DEBUG BEGIN_STMT
  LocCfgIdx = LocCfgIdx + 1;

  <bb 10> :
  # DEBUG BEGIN_STMT
  if (LocCfgIdx <= 5)
    goto <bb 6>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  D.6482 = LocStatus;
  return D.6482;

}


Static_Dma_Ip_SetLogicChannelTransferConfig (const uint32 LogicCh, const struct Dma_Ip_TransferConfigType * const TransferConfig)
{
  struct Dma_Ip_TcdRegType * pxTcd;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  struct Dma_Ip_LogicChannelTransferListType LocList[25];
  Dma_Ip_ReturnType D.6524;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  pxTcd = 0B;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.22_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.22_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  LocList[0].Param = 0;
  # DEBUG BEGIN_STMT
  _9 = TransferConfig->Source.Addr;
  LocList[0].Value = _9;
  # DEBUG BEGIN_STMT
  LocList[1].Param = 1;
  # DEBUG BEGIN_STMT
  _10 = TransferConfig->Source.SignedOffset;
  _11 = (long unsigned int) _10;
  LocList[1].Value = _11;
  # DEBUG BEGIN_STMT
  LocList[2].Param = 2;
  # DEBUG BEGIN_STMT
  _12 = TransferConfig->Source.LastAddrAdj;
  _13 = (long unsigned int) _12;
  LocList[2].Value = _13;
  # DEBUG BEGIN_STMT
  LocList[3].Param = 3;
  # DEBUG BEGIN_STMT
  _14 = TransferConfig->Source.TransferSize;
  _15 = (long unsigned int) _14;
  LocList[3].Value = _15;
  # DEBUG BEGIN_STMT
  LocList[4].Param = 4;
  # DEBUG BEGIN_STMT
  _16 = TransferConfig->Source.Modulo;
  _17 = (long unsigned int) _16;
  LocList[4].Value = _17;
  # DEBUG BEGIN_STMT
  LocList[5].Param = 5;
  # DEBUG BEGIN_STMT
  _18 = TransferConfig->Destination.Addr;
  LocList[5].Value = _18;
  # DEBUG BEGIN_STMT
  LocList[6].Param = 6;
  # DEBUG BEGIN_STMT
  _19 = TransferConfig->Destination.SignedOffset;
  _20 = (long unsigned int) _19;
  LocList[6].Value = _20;
  # DEBUG BEGIN_STMT
  LocList[7].Param = 7;
  # DEBUG BEGIN_STMT
  _21 = TransferConfig->Destination.LastAddrAdj;
  _22 = (long unsigned int) _21;
  LocList[7].Value = _22;
  # DEBUG BEGIN_STMT
  LocList[8].Param = 8;
  # DEBUG BEGIN_STMT
  _23 = TransferConfig->Destination.TransferSize;
  _24 = (long unsigned int) _23;
  LocList[8].Value = _24;
  # DEBUG BEGIN_STMT
  LocList[9].Param = 9;
  # DEBUG BEGIN_STMT
  _25 = TransferConfig->Destination.Modulo;
  _26 = (long unsigned int) _25;
  LocList[9].Value = _26;
  # DEBUG BEGIN_STMT
  LocList[10].Param = 10;
  # DEBUG BEGIN_STMT
  _27 = TransferConfig->MinorLoop.EnSrcOffset;
  _28 = _27;
  _29 = (long unsigned int) _28;
  LocList[10].Value = _29;
  # DEBUG BEGIN_STMT
  LocList[11].Param = 11;
  # DEBUG BEGIN_STMT
  _30 = TransferConfig->MinorLoop.EnDstOffset;
  _31 = _30;
  _32 = (long unsigned int) _31;
  LocList[11].Value = _32;
  # DEBUG BEGIN_STMT
  LocList[12].Param = 12;
  # DEBUG BEGIN_STMT
  _33 = TransferConfig->MinorLoop.Offset;
  _34 = (long unsigned int) _33;
  LocList[12].Value = _34;
  # DEBUG BEGIN_STMT
  LocList[13].Param = 13;
  # DEBUG BEGIN_STMT
  _35 = TransferConfig->MinorLoop.EnLink;
  _36 = _35;
  _37 = (long unsigned int) _36;
  LocList[13].Value = _37;
  # DEBUG BEGIN_STMT
  LocList[14].Param = 14;
  # DEBUG BEGIN_STMT
  _38 = TransferConfig->MinorLoop.LogicLinkCh;
  _39 = (long unsigned int) _38;
  LocList[14].Value = _39;
  # DEBUG BEGIN_STMT
  LocList[15].Param = 15;
  # DEBUG BEGIN_STMT
  _40 = TransferConfig->MinorLoop.Size;
  LocList[15].Value = _40;
  # DEBUG BEGIN_STMT
  LocList[16].Param = 16;
  # DEBUG BEGIN_STMT
  _41 = TransferConfig->MajorLoop.EnLink;
  _42 = _41;
  _43 = (long unsigned int) _42;
  LocList[16].Value = _43;
  # DEBUG BEGIN_STMT
  LocList[17].Param = 17;
  # DEBUG BEGIN_STMT
  _44 = TransferConfig->MajorLoop.LogicLinkCh;
  _45 = (long unsigned int) _44;
  LocList[17].Value = _45;
  # DEBUG BEGIN_STMT
  LocList[18].Param = 18;
  # DEBUG BEGIN_STMT
  _46 = TransferConfig->MajorLoop.Count;
  LocList[18].Value = _46;
  # DEBUG BEGIN_STMT
  LocList[19].Param = 21;
  # DEBUG BEGIN_STMT
  _47 = TransferConfig->Control.EnMajorInt;
  _48 = _47;
  _49 = (long unsigned int) _48;
  LocList[19].Value = _49;
  # DEBUG BEGIN_STMT
  LocList[20].Param = 22;
  # DEBUG BEGIN_STMT
  _50 = TransferConfig->Control.EnHalfMajorInt;
  _51 = _50;
  _52 = (long unsigned int) _51;
  LocList[20].Value = _52;
  # DEBUG BEGIN_STMT
  LocList[21].Param = 23;
  # DEBUG BEGIN_STMT
  _53 = TransferConfig->Control.DisAutoHwRequest;
  _54 = _53;
  _55 = (long unsigned int) _54;
  LocList[21].Value = _55;
  # DEBUG BEGIN_STMT
  LocList[22].Param = 25;
  # DEBUG BEGIN_STMT
  _56 = TransferConfig->Control.BandwidthControl;
  _57 = (long unsigned int) _56;
  LocList[22].Value = _57;
  # DEBUG BEGIN_STMT
  LocList[23].Param = 25;
  # DEBUG BEGIN_STMT
  _58 = TransferConfig->Control.BandwidthControl;
  _59 = (long unsigned int) _58;
  LocList[23].Value = _59;
  # DEBUG BEGIN_STMT
  LocList[24].Param = 20;
  # DEBUG BEGIN_STMT
  _60 = TransferConfig->Control.EnStart;
  _61 = _60;
  _62 = (long unsigned int) _61;
  LocList[24].Value = _62;
  # DEBUG BEGIN_STMT
  if (LocHwVers == 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _63 = 1073778688B;
  pxTcd = &_63->TCD_RSV[LocHwCh].tChTcdReg.tTcdReg;

  <bb 4> :
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (3, LocHwVers, LocHwInst, LocHwCh);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh, pxTcd, &LocList, 25);
  # DEBUG BEGIN_STMT
  D.6524 = 0;
  LocList = {CLOBBER};
  return D.6524;

}


Static_Dma_Ip_SetLogicChannelGlobalConfig (const uint32 LogicCh, const struct Dma_Ip_GlobalConfigType * const GlobalConfig, boolean ResetState)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  struct Dma_Ip_LogicChannelGlobalListType LocListHwv2[10];
  Dma_Ip_ReturnType D.6533;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.24_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.24_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId = &_5->LogicChId;
  # DEBUG BEGIN_STMT
  _6 = LocLogicChId->HwVersId;
  LocHwVers = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = LocLogicChId->HwInstId;
  LocHwInst = (uint32) _7;
  # DEBUG BEGIN_STMT
  _8 = LocLogicChId->HwChId;
  LocHwCh = (uint32) _8;
  # DEBUG BEGIN_STMT
  if (LocHwVers == 2)
    goto <bb 3>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  LocListHwv2[0].Param = 2;
  # DEBUG BEGIN_STMT
  _9 = GlobalConfig->Request.EnSourceMux;
  _10 = _9;
  _11 = (long unsigned int) _10;
  LocListHwv2[0].Value = _11;
  # DEBUG BEGIN_STMT
  LocListHwv2[1].Param = 2;
  # DEBUG BEGIN_STMT
  _12 = GlobalConfig->Request.EnSourceMux;
  _13 = _12;
  _14 = (long unsigned int) _13;
  LocListHwv2[1].Value = _14;
  # DEBUG BEGIN_STMT
  LocListHwv2[2].Param = 2;
  # DEBUG BEGIN_STMT
  _15 = GlobalConfig->Request.EnSourceMux;
  _16 = _15;
  _17 = (long unsigned int) _16;
  LocListHwv2[2].Value = _17;
  # DEBUG BEGIN_STMT
  LocListHwv2[3].Param = 3;
  # DEBUG BEGIN_STMT
  _18 = GlobalConfig->Request.SourceMux;
  _19 = (long unsigned int) _18;
  LocListHwv2[3].Value = _19;
  # DEBUG BEGIN_STMT
  LocListHwv2[4].Param = 4;
  # DEBUG BEGIN_STMT
  _20 = GlobalConfig->Request.EnTriggerMux;
  _21 = _20;
  _22 = (long unsigned int) _21;
  LocListHwv2[4].Value = _22;
  # DEBUG BEGIN_STMT
  LocListHwv2[5].Param = 6;
  # DEBUG BEGIN_STMT
  _23 = GlobalConfig->Interrupt.EnErrorInt;
  _24 = _23;
  _25 = (long unsigned int) _24;
  LocListHwv2[5].Value = _25;
  # DEBUG BEGIN_STMT
  _26 = ~ResetState;
  if (_26 != 0)
    goto <bb 4>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  LocListHwv2[6].Param = 8;
  # DEBUG BEGIN_STMT
  _27 = GlobalConfig->Priority.Level;
  _28 = (long unsigned int) _27;
  LocListHwv2[6].Value = _28;
  goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  LocListHwv2[6].Param = 9;
  # DEBUG BEGIN_STMT
  _29 = GlobalConfig->Priority.EnPreemption;
  _30 = _29;
  _31 = (long unsigned int) _30;
  LocListHwv2[6].Value = _31;

  <bb 6> :
  # DEBUG BEGIN_STMT
  LocListHwv2[7].Param = 9;
  # DEBUG BEGIN_STMT
  _32 = GlobalConfig->Priority.EnPreemption;
  _33 = _32;
  _34 = (long unsigned int) _33;
  LocListHwv2[7].Value = _34;
  # DEBUG BEGIN_STMT
  LocListHwv2[8].Param = 10;
  # DEBUG BEGIN_STMT
  _35 = GlobalConfig->Priority.DisPreempt;
  _36 = _35;
  _37 = (long unsigned int) _36;
  LocListHwv2[8].Value = _37;
  # DEBUG BEGIN_STMT
  LocListHwv2[9].Param = 5;
  # DEBUG BEGIN_STMT
  _38 = GlobalConfig->Request.EnRequest;
  _39 = _38;
  _40 = (long unsigned int) _39;
  LocListHwv2[9].Value = _40;
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelGlobalList (LocHwVers, LocHwInst, LocHwCh, &LocListHwv2, 10);

  <bb 7> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  D.6533 = 0;
  LocListHwv2 = {CLOBBER};
  return D.6533;

}


Dma_Ip_ConvertLogicChToHwCh (uint32 LogicCh)
{
  uint32 LocHwCh;
  uint32 D.6477;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.0_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.0_1->ppxLogicChannelConfigArray;
  _3 = LogicCh * 4;
  _4 = _2 + _3;
  _5 = *_4;
  _6 = _5->LogicChId.HwChId;
  LocHwCh = (uint32) _6;
  # DEBUG BEGIN_STMT
  D.6477 = LocHwCh;
  return D.6477;

}


