123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520 |
- Marking local functions:
- Marking externally visible functions:
- Marking externally visible variables: extOscCallbacks
- Reclaiming functions:
- Reclaiming variables:
- Clearing address taken flags:
- Symbol table:
- ReportClockErrors/14 (ReportClockErrors) @06d96700
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags:
- Called by: CompleteSOSC/7
- Calls:
- ClockTimeoutExpired/13 (ClockTimeoutExpired) @06d96620
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags:
- Called by: CompleteSOSC/7
- Calls:
- ClockStartTimeout/12 (ClockStartTimeout) @06d96540
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags:
- Called by: CompleteSOSC/7
- Calls:
- EnableSOSC/11 (EnableSOSC) @06d90ee0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: extOscCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: EnableSOSC_TrustedCall/10
- EnableSOSC_TrustedCall/10 (EnableSOSC_TrustedCall) @06d90c40
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: EnableSOSC/11
- Calls:
- DisableSOSC/9 (DisableSOSC) @06d909a0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: extOscCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: DisableSOSC_TrustedCall/8
- DisableSOSC_TrustedCall/8 (DisableSOSC_TrustedCall) @06d90700
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: DisableSOSC/9
- Calls:
- CompleteSOSC/7 (CompleteSOSC) @06d90460
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: extOscCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: ReportClockErrors/14 ClockTimeoutExpired/13 ClockStartTimeout/12
- SetSOSC/6 (SetSOSC) @06d901c0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: extOscCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: SetSOSC_TrustedCall/5
- SetSOSC_TrustedCall/5 (SetSOSC_TrustedCall) @06c6f1c0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: SetSOSC/6
- Calls:
- ResetSOSC/4 (ResetSOSC) @06c6f380
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: extOscCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: ResetSOSC_TrustedCall/3
- ResetSOSC_TrustedCall/3 (ResetSOSC_TrustedCall) @06c6f0e0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: ResetSOSC/4
- Calls:
- DisableExternalOscillatorEmpty/2 (DisableExternalOscillatorEmpty) @06c69c40
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: extOscCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls:
- ExternalOscillatorEmpty/1 (ExternalOscillatorEmpty) @06c69e00
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: extOscCallbacks/0 (addr)extOscCallbacks/0 (addr)extOscCallbacks/0 (addr)extOscCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls:
- extOscCallbacks/0 (extOscCallbacks) @06c6b678
- Type: variable definition analyzed
- Visibility: force_output externally_visible no_reorder public
- References: ExternalOscillatorEmpty/1 (addr)ExternalOscillatorEmpty/1 (addr)ExternalOscillatorEmpty/1 (addr)DisableExternalOscillatorEmpty/2 (addr)ExternalOscillatorEmpty/1 (addr)ResetSOSC/4 (addr)SetSOSC/6 (addr)CompleteSOSC/7 (addr)DisableSOSC/9 (addr)EnableSOSC/11 (addr)
- Referring:
- Availability: available
- Varpool flags: initialized read-only const-value-known
- EnableSOSC (const struct Clock_Ip_XoscConfigType * config)
- {
- <bb 2> :
- EnableSOSC_TrustedCall (config_2(D));
- return;
- }
- EnableSOSC_TrustedCall (const struct Clock_Ip_XoscConfigType * config)
- {
- short unsigned int _1;
- struct SCG_Type * _2;
- long unsigned int _3;
- struct SCG_Type * _4;
- long unsigned int _5;
- <bb 2> :
- _1 = config_8(D)->enable;
- if (_1 == 1)
- goto <bb 3>; [INV]
- else
- goto <bb 4>; [INV]
- <bb 3> :
- _2 = 1074151424B;
- _3 ={v} _2->SOSCCSR;
- _4 = 1074151424B;
- _5 = _3 | 1;
- _4->SOSCCSR ={v} _5;
- <bb 4> :
- return;
- }
- DisableSOSC (Clock_Ip_NameType xoscName)
- {
- <bb 2> :
- DisableSOSC_TrustedCall (xoscName_2(D));
- return;
- }
- DisableSOSC_TrustedCall (Clock_Ip_NameType xoscName)
- {
- struct SCG_Type * _1;
- long unsigned int _2;
- struct SCG_Type * _3;
- long unsigned int _4;
- <bb 2> :
- _1 = 1074151424B;
- _2 ={v} _1->SOSCCSR;
- _3 = 1074151424B;
- _4 = _2 & 4294967294;
- _3->SOSCCSR ={v} _4;
- return;
- }
- CompleteSOSC (const struct Clock_Ip_XoscConfigType * config)
- {
- uint32 SoscStatus;
- uint32 TimeoutTicks;
- uint32 ElapsedTime;
- uint32 StartTime;
- boolean TimeoutOccurred;
- struct SCG_Type * _1;
- long unsigned int _2;
- long unsigned int _3;
- struct SCG_Type * _4;
- long unsigned int _5;
- long unsigned int _6;
- long unsigned int TimeoutTicks.0_7;
- _Bool _8;
- <unnamed type> _9;
- <bb 2> :
- TimeoutOccurred_12 = 0;
- _1 = 1074151424B;
- _2 ={v} _1->SOSCCSR;
- _3 = _2 & 1;
- if (_3 != 0)
- goto <bb 3>; [INV]
- else
- goto <bb 8>; [INV]
- <bb 3> :
- ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);
- <bb 4> :
- _4 = 1074151424B;
- _5 ={v} _4->SOSCCSR;
- _6 = _5 >> 24;
- SoscStatus_15 = _6 & 1;
- TimeoutTicks.0_7 = TimeoutTicks;
- TimeoutOccurred_17 = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_7);
- if (SoscStatus_15 == 0)
- goto <bb 5>; [INV]
- else
- goto <bb 6>; [INV]
- <bb 5> :
- _8 = ~TimeoutOccurred_17;
- if (_8 != 0)
- goto <bb 4>; [INV]
- else
- goto <bb 6>; [INV]
- <bb 6> :
- if (TimeoutOccurred_17 != 0)
- goto <bb 7>; [INV]
- else
- goto <bb 8>; [INV]
- <bb 7> :
- _9 = config_18(D)->name;
- ReportClockErrors (1, _9);
- <bb 8> :
- StartTime ={v} {CLOBBER};
- ElapsedTime ={v} {CLOBBER};
- TimeoutTicks ={v} {CLOBBER};
- return;
- }
- SetSOSC (const struct Clock_Ip_XoscConfigType * config)
- {
- <bb 2> :
- SetSOSC_TrustedCall (config_2(D));
- return;
- }
- SetSOSC_TrustedCall (const struct Clock_Ip_XoscConfigType * config)
- {
- short unsigned int _1;
- unsigned char _2;
- int _3;
- struct SCG_Type * _4;
- long unsigned int _5;
- struct SCG_Type * _6;
- long unsigned int _7;
- struct SCG_Type * _8;
- long unsigned int _9;
- struct SCG_Type * _10;
- long unsigned int _11;
- struct SCG_Type * _12;
- long unsigned int _13;
- struct SCG_Type * _14;
- long unsigned int _15;
- long unsigned int _16;
- long unsigned int _17;
- struct SCG_Type * _18;
- long unsigned int _19;
- struct SCG_Type * _20;
- long unsigned int _21;
- struct SCG_Type * _22;
- long unsigned int _23;
- struct SCG_Type * _24;
- long unsigned int _25;
- unsigned char _26;
- struct SCG_Type * _27;
- long unsigned int _28;
- struct SCG_Type * _29;
- long unsigned int _30;
- struct SCG_Type * _31;
- long unsigned int _32;
- struct SCG_Type * _33;
- long unsigned int _34;
- unsigned char _35;
- int _36;
- struct SCG_Type * _37;
- struct SCG_Type * _38;
- struct SCG_Type * _39;
- struct SCG_Type * _40;
- long unsigned int _41;
- struct SCG_Type * _42;
- long unsigned int _43;
- <bb 2> :
- _1 = config_49(D)->enable;
- if (_1 == 1)
- goto <bb 3>; [INV]
- else
- goto <bb 19>; [INV]
- <bb 3> :
- _2 = config_49(D)->gain;
- _3 = (int) _2;
- switch (_3) <default: <L3> [INV], case 0: <L1> [INV], case 1: <L2> [INV]>
- <bb 4> :
- <L1>:
- _4 = 1074151424B;
- _5 ={v} _4->SOSCCFG;
- _6 = 1074151424B;
- _7 = _5 & 4294967287;
- _6->SOSCCFG ={v} _7;
- goto <bb 7>; [INV]
- <bb 5> :
- <L2>:
- _8 = 1074151424B;
- _9 ={v} _8->SOSCCFG;
- _10 = 1074151424B;
- _11 = _9 | 8;
- _10->SOSCCFG ={v} _11;
- goto <bb 7>; [INV]
- <bb 6> :
- <L3>:
- <bb 7> :
- _12 = 1074151424B;
- _13 ={v} _12->SOSCCFG;
- _14 = 1074151424B;
- _15 = _13 & 4294967247;
- _14->SOSCCFG ={v} _15;
- _16 = config_49(D)->freq;
- if (_16 > 3999999)
- goto <bb 8>; [INV]
- else
- goto <bb 10>; [INV]
- <bb 8> :
- _17 = config_49(D)->freq;
- if (_17 <= 7999999)
- goto <bb 9>; [INV]
- else
- goto <bb 10>; [INV]
- <bb 9> :
- _18 = 1074151424B;
- _19 ={v} _18->SOSCCFG;
- _20 = 1074151424B;
- _21 = _19 | 32;
- _20->SOSCCFG ={v} _21;
- goto <bb 11>; [INV]
- <bb 10> :
- _22 = 1074151424B;
- _23 ={v} _22->SOSCCFG;
- _24 = 1074151424B;
- _25 = _23 | 48;
- _24->SOSCCFG ={v} _25;
- <bb 11> :
- _26 = config_49(D)->bypassOption;
- if (_26 == 0)
- goto <bb 12>; [INV]
- else
- goto <bb 13>; [INV]
- <bb 12> :
- _27 = 1074151424B;
- _28 ={v} _27->SOSCCFG;
- _29 = 1074151424B;
- _30 = _28 | 4;
- _29->SOSCCFG ={v} _30;
- goto <bb 14>; [INV]
- <bb 13> :
- _31 = 1074151424B;
- _32 ={v} _31->SOSCCFG;
- _33 = 1074151424B;
- _34 = _32 & 4294967291;
- _33->SOSCCFG ={v} _34;
- <bb 14> :
- _35 = config_49(D)->monitor;
- _36 = (int) _35;
- switch (_36) <default: <L15> [INV], case 0: <L12> [INV], case 1: <L13> [INV], case 2: <L14> [INV]>
- <bb 15> :
- <L12>:
- _37 = 1074151424B;
- _37->SOSCCSR ={v} 1;
- goto <bb 19>; [INV]
- <bb 16> :
- <L13>:
- _38 = 1074151424B;
- _38->SOSCCSR ={v} 65537;
- goto <bb 19>; [INV]
- <bb 17> :
- <L14>:
- _39 = 1074151424B;
- _39->SOSCCSR ={v} 196609;
- goto <bb 19>; [INV]
- <bb 18> :
- <L15>:
- _40 = 1074151424B;
- _41 ={v} _40->SOSCCSR;
- _42 = 1074151424B;
- _43 = _41 | 1;
- _42->SOSCCSR ={v} _43;
- <bb 19> :
- return;
- }
- ResetSOSC (const struct Clock_Ip_XoscConfigType * config)
- {
- <bb 2> :
- ResetSOSC_TrustedCall (config_2(D));
- return;
- }
- ResetSOSC_TrustedCall (const struct Clock_Ip_XoscConfigType * config)
- {
- struct SCG_Type * _1;
- long unsigned int _2;
- struct SCG_Type * _3;
- long unsigned int _4;
- struct SCG_Type * _5;
- long unsigned int _6;
- struct SCG_Type * _7;
- long unsigned int _8;
- <bb 2> :
- _1 = 1074151424B;
- _2 ={v} _1->SOSCCSR;
- _3 = 1074151424B;
- _4 = _2 & 4286578687;
- _3->SOSCCSR ={v} _4;
- _5 = 1074151424B;
- _6 ={v} _5->SOSCCSR;
- _7 = 1074151424B;
- _8 = _6 & 4294967294;
- _7->SOSCCSR ={v} _8;
- return;
- }
- DisableExternalOscillatorEmpty (Clock_Ip_NameType xoscName)
- {
- <bb 2> :
- return;
- }
- ExternalOscillatorEmpty (const struct Clock_Ip_XoscConfigType * config)
- {
- <bb 2> :
- return;
- }
|