Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
d1c3c002
Commit
d1c3c002
authored
Feb 17, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
softpll: make spll_debug not inline
Saves 64B Signed-off-by:
Adam Wujek
<
adam.wujek@creotech.pl
>
parent
2ce362cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
spll_common.c
softpll/spll_common.c
+5
-0
spll_debug.h
softpll/spll_debug.h
+1
-5
No files found.
softpll/spll_common.c
View file @
d1c3c002
...
...
@@ -148,3 +148,8 @@ void spll_enable_tagger(int channel, int enable)
pll_verbose
(
"%s: ch %d, OCER 0x%x, RCER 0x%x
\n
"
,
__FUNCTION__
,
channel
,
SPLL
->
OCER
,
SPLL
->
RCER
);
}
void
spll_debug
(
int
what
,
int
value
,
int
last
)
{
SPLL
->
DFR_SPLL
=
(
last
?
0x80000000
:
0
)
|
(
value
&
0xffffff
)
|
(
what
<<
24
);
}
softpll/spll_debug.h
View file @
d1c3c002
...
...
@@ -48,8 +48,4 @@ what: type of the parameter and its' source. For example,
last: when non-zero, indicates the last parameter in a sample.
*/
static
inline
void
spll_debug
(
int
what
,
int
value
,
int
last
)
{
SPLL
->
DFR_SPLL
=
(
last
?
0x80000000
:
0
)
|
(
value
&
0xffffff
)
|
(
what
<<
24
);
}
void
spll_debug
(
int
what
,
int
value
,
int
last
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment