Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-elphel
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
linux-elphel
Commits
f7668d15
Commit
f7668d15
authored
Apr 12, 2019
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting debug + added 'linear' bit printing
parent
b3757f36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
17 deletions
+19
-17
x393_videomem.c
src/drivers/elphel/x393_videomem.c
+19
-17
No files found.
src/drivers/elphel/x393_videomem.c
View file @
f7668d15
...
@@ -446,15 +446,15 @@ int control_sensor_memory (int num_sensor, ///< sensor port number (0..3)
...
@@ -446,15 +446,15 @@ int control_sensor_memory (int num_sensor, ///< sensor port number (0..3)
}
}
dev_dbg
(
g_dev_ptr
,
"{%d} frame16=%d, cmd=%d, x393cms=%d
\n
"
,
num_sensor
,
frame16
,
cmd
,
(
int
)
x393cmd
);
dev_dbg
(
g_dev_ptr
,
"{%d} frame16=%d, cmd=%d, x393cms=%d
\n
"
,
num_sensor
,
frame16
,
cmd
,
(
int
)
x393cmd
);
dev_dbg
(
g_dev_ptr
,
"mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, reset_frame=%d, single=%d,repetitive=%d, disable_need=%d,skip_too_late=%d )
\n
"
,
dev_dbg
(
g_dev_ptr
,
"
control_sensor_memory
mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, reset_frame=%d, single=%d,repetitive=%d, disable_need=%d,skip_too_late=%d )
\n
"
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
reset_frame
,
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitiv
e
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
reset_fram
e
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
);
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitive
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
);
MDP
(
DBGB_VM
,
num_sensor
,
"frame16=%d, cmd=%d, x393cms=%d
\n
"
,
frame16
,
cmd
,
(
int
)
x393cmd
)
MDP
(
DBGB_VM
,
num_sensor
,
"frame16=%d, cmd=%d, x393cms=%d
\n
"
,
frame16
,
cmd
,
(
int
)
x393cmd
)
MDP
(
DBGB_VM
,
num_sensor
,
"mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, reset_frame=%d, single=%d,repetitive=%d, disable_need=%d,skip_too_late=%d )
\n
"
,
MDP
(
DBGB_VM
,
num_sensor
,
"
control_sensor_memory
mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, reset_frame=%d, single=%d,repetitive=%d, disable_need=%d,skip_too_late=%d )
\n
"
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
reset_frame
,
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitiv
e
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
reset_fram
e
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
)
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitive
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
)
switch
(
x393cmd
){
switch
(
x393cmd
){
...
@@ -614,15 +614,17 @@ int control_compressor_memory (int num_sensor, ///< sensor port number (0.
...
@@ -614,15 +614,17 @@ int control_compressor_memory (int num_sensor, ///< sensor port number (0.
return
-
EINVAL
;
return
-
EINVAL
;
}
}
dev_dbg
(
g_dev_ptr
,
"{%d} frame16=%d, cmd=%d, x393cms=%d
\n
"
,
num_sensor
,
frame16
,
cmd
,
(
int
)
x393cmd
);
dev_dbg
(
g_dev_ptr
,
"{%d} frame16=%d, cmd=%d, x393cms=%d
\n
"
,
num_sensor
,
frame16
,
cmd
,
(
int
)
x393cmd
);
dev_dbg
(
g_dev_ptr
,
"mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, reset_frame=%d, single=%d,repetitive=%d, disable_need=%d,skip_too_late=%d )
\n
"
,
dev_dbg
(
g_dev_ptr
,
"control_compressor_memory mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, linear=%d, reset_frame=%d, single=%d, repetitive=%d, disable_need=%d, skip_too_late=%d, copy_frame=%d, abort_late=%d)
\n
"
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
reset_frame
,
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitive
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
linear
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
);
mcntrl_mode
.
reset_frame
,
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitive
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
,
mcntrl_mode
.
copy_frame
,
mcntrl_mode
.
abort_late
);
MDP
(
DBGB_VM
,
num_sensor
,
"frame16=%d, cmd=%d, x393cms=%d
\n
"
,
frame16
,
cmd
,
(
int
)
x393cmd
)
MDP
(
DBGB_VM
,
num_sensor
,
"frame16=%d, cmd=%d, x393cms=%d
\n
"
,
frame16
,
cmd
,
(
int
)
x393cmd
)
MDP
(
DBGB_VM
,
num_sensor
,
"mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, reset_frame=%d, single=%d,repetitive=%d, disable_need=%d,skip_too_late=%d )
\n
"
,
MDP
(
DBGB_VM
,
num_sensor
,
"control_compressor_memory mode=0x%x (enable=%d, chn_nreset=%d, write_mem=%d, extra_pages=%d, keep_open=%d, byte32=%d, linear=%d, reset_frame=%d, single=%d, repetitive=%d, disable_need=%d, skip_too_late=%d, copy_frame=%d, abort_late=%d)
\n
"
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
d32
,
mcntrl_mode
.
enable
,
mcntrl_mode
.
chn_nreset
,
mcntrl_mode
.
write_mem
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
reset_frame
,
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitive
,
mcntrl_mode
.
extra_pages
,
mcntrl_mode
.
keep_open
,
mcntrl_mode
.
byte32
,
mcntrl_mode
.
linear
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
)
mcntrl_mode
.
reset_frame
,
mcntrl_mode
.
single
,
mcntrl_mode
.
repetitive
,
mcntrl_mode
.
disable_need
,
mcntrl_mode
.
skip_too_late
,
mcntrl_mode
.
copy_frame
,
mcntrl_mode
.
abort_late
)
switch
(
x393cmd
){
switch
(
x393cmd
){
case
ASAP
:
case
ASAP
:
...
...
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