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
9b8552f6
Commit
9b8552f6
authored
Jan 04, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments about buf_ptr
parent
25f4cb20
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
circbuf.c
src/drivers/elphel/circbuf.c
+1
-0
No files found.
src/drivers/elphel/circbuf.c
View file @
9b8552f6
...
@@ -133,6 +133,7 @@ int init_ccam_dma_buf_ptr(struct platform_device *pdev)
...
@@ -133,6 +133,7 @@ int init_ccam_dma_buf_ptr(struct platform_device *pdev)
}
}
}
}
// TODO: take data from pElphel_buf (calc buf_ptr for each channel)
for
(
i
=
0
;
i
<
SENSOR_PORTS
;
i
++
)
{
for
(
i
=
0
;
i
<
SENSOR_PORTS
;
i
++
)
{
// nobody knows what the 1st 1MB is for...
// nobody knows what the 1st 1MB is for...
circbuf_priv
[
i
].
buf_ptr
=
dma_buf_ptr
+
BYTE2DW
(
CIRCBUF_START_OFFSET
+
i
*
CCAM_DMA_SIZE
);
circbuf_priv
[
i
].
buf_ptr
=
dma_buf_ptr
+
BYTE2DW
(
CIRCBUF_START_OFFSET
+
i
*
CCAM_DMA_SIZE
);
...
...
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