Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
975ade6b
Commit
975ade6b
authored
Aug 03, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixewd problems in generated files
parent
8f1d2d4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
x393_export_c.py
py393/x393_export_c.py
+5
-2
No files found.
py393/x393_export_c.py
View file @
975ade6b
...
@@ -1451,8 +1451,11 @@ class X393ExportC(object):
...
@@ -1451,8 +1451,11 @@ class X393ExportC(object):
4
*
(
vrlg
.
CMDFRAMESEQ_ADDR_BASE
+
vrlg
.
CMDFRAMESEQ_ABS
),
4
*
vrlg
.
CMDFRAMESEQ_ADDR_INC
,
first_index_name
)
4
*
(
vrlg
.
CMDFRAMESEQ_ADDR_BASE
+
vrlg
.
CMDFRAMESEQ_ABS
),
4
*
vrlg
.
CMDFRAMESEQ_ADDR_INC
,
first_index_name
)
s
+=
'{frame &= PARS_FRAMES_MASK; spin_lock(&lock); '
s
+=
'{frame &= PARS_FRAMES_MASK; spin_lock(&lock); '
s
+=
'writel(
%
s, mio_ptr +
%
s); '
%
(
address32
,
reg_addr
)
s
+=
'writel(
%
s, mmio_ptr +
%
s); '
%
(
address32
,
reg_addr
)
s
+=
'writel(d, mio_ptr +
%
s); '
%
(
reg_addr
)
if
data_type
==
"u32"
:
s
+=
'writel(d, mmio_ptr +
%
s); '
%
(
reg_addr
)
else
:
s
+=
'writel(d.d32, mmio_ptr +
%
s); '
%
(
reg_addr
)
s
+=
'spin_unlock(&lock);}'
s
+=
'spin_unlock(&lock);}'
else
:
else
:
...
...
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