123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430 |
- Marking local functions:
- Marking externally visible functions:
- Marking externally visible variables: pllCallbacks
- Reclaiming functions:
- Reclaiming variables:
- Clearing address taken flags:
- Symbol table:
- ReportClockErrors/15 (ReportClockErrors) @06d77700
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags:
- Called by: CompleteSpll/8
- Calls:
- ClockTimeoutExpired/14 (ClockTimeoutExpired) @06d77620
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags:
- Called by: CompleteSpll/8
- Calls:
- ClockStartTimeout/13 (ClockStartTimeout) @06d77540
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags:
- Called by: CompleteSpll/8
- Calls:
- EnableSpll/12 (EnableSpll) @06d6fd20
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: EnableSpll_TrustedCall/11
- EnableSpll_TrustedCall/11 (EnableSpll_TrustedCall) @06d6fa80
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: EnableSpll/12
- Calls:
- DisableSpll/10 (DisableSpll) @06d6f700
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: DisableSpll_TrustedCall/9
- DisableSpll_TrustedCall/9 (DisableSpll_TrustedCall) @06d6f460
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: DisableSpll/10
- Calls:
- CompleteSpll/8 (CompleteSpll) @06d6f1c0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: ReportClockErrors/15 ClockTimeoutExpired/14 ClockStartTimeout/13
- SetSpll/7 (SetSpll) @06c6f540
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: SetSpll_TrustedCall/6
- SetSpll_TrustedCall/6 (SetSpll_TrustedCall) @06c6fee0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: SetSpll/7
- Calls:
- ResetSpll/5 (ResetSpll) @06c6f700
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls: ResetSpll_TrustedCall/4
- ResetSpll_TrustedCall/4 (ResetSpll_TrustedCall) @06c6f460
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- References:
- Referring:
- Availability: available
- Function flags: body
- Called by: ResetSpll/5
- Calls:
- Callback_PllEmptyDisable/3 (Callback_PllEmptyDisable) @06c6f1c0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls:
- Callback_PllEmptyComplete/2 (Callback_PllEmptyComplete) @06c6aee0
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls:
- Callback_PllEmpty/1 (Callback_PllEmpty) @06c6ae00
- Type: function definition analyzed
- Visibility: force_output no_reorder prevailing_def_ironly
- Address is taken.
- References:
- Referring: pllCallbacks/0 (addr)pllCallbacks/0 (addr)pllCallbacks/0 (addr)
- Availability: available
- Function flags: body
- Called by:
- Calls:
- pllCallbacks/0 (pllCallbacks) @06c6c798
- Type: variable definition analyzed
- Visibility: force_output externally_visible no_reorder public
- References: Callback_PllEmpty/1 (addr)Callback_PllEmpty/1 (addr)Callback_PllEmptyComplete/2 (addr)Callback_PllEmpty/1 (addr)Callback_PllEmptyDisable/3 (addr)ResetSpll/5 (addr)SetSpll/7 (addr)CompleteSpll/8 (addr)EnableSpll/12 (addr)DisableSpll/10 (addr)
- Referring:
- Availability: available
- Varpool flags: initialized read-only const-value-known
- EnableSpll (const struct Clock_Ip_PllConfigType * config)
- {
- <bb 2> :
- EnableSpll_TrustedCall (config);
- return;
- }
- EnableSpll_TrustedCall (const struct Clock_Ip_PllConfigType * config)
- {
- <bb 2> :
- _1 = config->enable;
- if (_1 == 1)
- goto <bb 3>; [INV]
- else
- goto <bb 4>; [INV]
- <bb 3> :
- _2 = 1074151424B;
- _3 = _2->SPLLCSR;
- _4 = 1074151424B;
- _5 = _3 | 1;
- _4->SPLLCSR = _5;
- <bb 4> :
- return;
- }
- DisableSpll (Clock_Ip_NameType PllName)
- {
- <bb 2> :
- DisableSpll_TrustedCall (PllName);
- return;
- }
- DisableSpll_TrustedCall (Clock_Ip_NameType PllName)
- {
- <bb 2> :
- _1 = 1074151424B;
- _2 = _1->SPLLCSR;
- _3 = 1074151424B;
- _4 = _2 & 4286578687;
- _3->SPLLCSR = _4;
- _5 = 1074151424B;
- _6 = _5->SPLLCSR;
- _7 = 1074151424B;
- _8 = _6 & 4294967294;
- _7->SPLLCSR = _8;
- return;
- }
- CompleteSpll (Clock_Ip_NameType pllName)
- {
- uint32 SPLLStatus;
- uint32 TimeoutTicks;
- uint32 ElapsedTime;
- uint32 StartTime;
- boolean TimeoutOccurred;
- clock_pll_status_t pllStatus;
- clock_pll_status_t D.6125;
- <bb 2> :
- pllStatus = 1;
- TimeoutOccurred = 0;
- _1 = 1074151424B;
- _2 = _1->SPLLCSR;
- _3 = _2 & 1;
- if (_3 != 0)
- goto <bb 3>; [INV]
- else
- goto <bb 9>; [INV]
- <bb 3> :
- ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);
- <bb 4> :
- _4 = 1074151424B;
- _5 = _4->SPLLCSR;
- _6 = _5 >> 24;
- SPLLStatus = _6 & 1;
- TimeoutTicks.0_7 = TimeoutTicks;
- TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_7);
- if (SPLLStatus == 0)
- goto <bb 5>; [INV]
- else
- goto <bb 6>; [INV]
- <bb 5> :
- _8 = ~TimeoutOccurred;
- if (_8 != 0)
- goto <bb 4>; [INV]
- else
- goto <bb 6>; [INV]
- <bb 6> :
- _9 = ~TimeoutOccurred;
- if (_9 != 0)
- goto <bb 7>; [INV]
- else
- goto <bb 8>; [INV]
- <bb 7> :
- pllStatus = 2;
- goto <bb 10>; [INV]
- <bb 8> :
- ReportClockErrors (1, pllName);
- goto <bb 10>; [INV]
- <bb 9> :
- pllStatus = 0;
- <bb 10> :
- D.6125 = pllStatus;
- StartTime = {CLOBBER};
- ElapsedTime = {CLOBBER};
- TimeoutTicks = {CLOBBER};
- <bb 11> :
- <L10>:
- return D.6125;
- }
- SetSpll (const struct Clock_Ip_PllConfigType * config)
- {
- <bb 2> :
- SetSpll_TrustedCall (config);
- return;
- }
- SetSpll_TrustedCall (const struct Clock_Ip_PllConfigType * config)
- {
- <bb 2> :
- _1 = config->enable;
- if (_1 == 1)
- goto <bb 3>; [INV]
- else
- goto <bb 8>; [INV]
- <bb 3> :
- _2 = 1074151424B;
- _3 = _2->SPLLCFG;
- _4 = config->predivider;
- _5 = (long unsigned int) _4;
- _6 = _5 + 4294967295;
- _7 = _6 << 8;
- _8 = _7 & 1792;
- _9 = config->mulFactorDiv;
- _10 = (long unsigned int) _9;
- _11 = _10 + 4294967280;
- _12 = _11 << 16;
- _13 = _12 & 2031616;
- _14 = _8 | _13;
- _15 = 1074151424B;
- _16 = _3 | _14;
- _15->SPLLCFG = _16;
- _17 = config->monitor;
- _18 = (int) _17;
- switch (_18) <default: <L4> [INV], case 0: <L1> [INV], case 1: <L2> [INV], case 2: <L3> [INV]>
- <bb 4> :
- <L1>:
- _19 = 1074151424B;
- _19->SPLLCSR = 0;
- goto <bb 8>; [INV]
- <bb 5> :
- <L2>:
- _20 = 1074151424B;
- _20->SPLLCSR = 65536;
- goto <bb 8>; [INV]
- <bb 6> :
- <L3>:
- _21 = 1074151424B;
- _21->SPLLCSR = 196608;
- goto <bb 8>; [INV]
- <bb 7> :
- <L4>:
- <bb 8> :
- return;
- }
- ResetSpll (const struct Clock_Ip_PllConfigType * config)
- {
- <bb 2> :
- ResetSpll_TrustedCall (config);
- return;
- }
- ResetSpll_TrustedCall (const struct Clock_Ip_PllConfigType * config)
- {
- <bb 2> :
- _1 = 1074151424B;
- _2 = _1->SPLLCSR;
- _3 = 1074151424B;
- _4 = _2 & 4286578687;
- _3->SPLLCSR = _4;
- _5 = 1074151424B;
- _6 = _5->SPLLCSR;
- _7 = 1074151424B;
- _8 = _6 & 4294967294;
- _7->SPLLCSR = _8;
- _9 = 1074151424B;
- _10 = _9->SPLLCFG;
- _11 = 1074151424B;
- _12 = _10 & 4294965503;
- _11->SPLLCFG = _12;
- _13 = 1074151424B;
- _14 = _13->SPLLCFG;
- _15 = 1074151424B;
- _16 = _14 & 4292935679;
- _15->SPLLCFG = _16;
- return;
- }
- Callback_PllEmptyDisable (Clock_Ip_NameType PllName)
- {
- <bb 2> :
- return;
- }
- Callback_PllEmptyComplete (Clock_Ip_NameType PllName)
- {
- clock_pll_status_t D.6114;
- <bb 2> :
- D.6114 = 0;
- <bb 3> :
- <L0>:
- return D.6114;
- }
- Callback_PllEmpty (const struct Clock_Ip_PllConfigType * config)
- {
- <bb 2> :
- return;
- }
|