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
a565e8bb
Commit
a565e8bb
authored
Dec 30, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added addrs for cirbuf and raw buffers to sysfs
parent
af4f4fc8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
332 additions
and
6 deletions
+332
-6
elphel393-mem.c
src/drivers/elphel/elphel393-mem.c
+292
-6
elphel393-mem.h
src/include/elphel/elphel393-mem.h
+40
-0
No files found.
src/drivers/elphel/elphel393-mem.c
View file @
a565e8bb
This diff is collapsed.
Click to expand it.
src/include/elphel/elphel393-mem.h
View file @
a565e8bb
...
...
@@ -49,6 +49,46 @@ struct elphel_buf_t
dma_addr_t
logger_paddr
;
ssize_t
logger_size
;
// circbuf channel 0 (in Coherent DMA buffer)
void
*
circbuf_chn0_vaddr
;
dma_addr_t
circbuf_chn0_paddr
;
ssize_t
circbuf_chn0_size
;
// circbuf channel 1 (in Coherent DMA buffer)
void
*
circbuf_chn1_vaddr
;
dma_addr_t
circbuf_chn1_paddr
;
ssize_t
circbuf_chn1_size
;
// circbuf channel 2 (in Coherent DMA buffer)
void
*
circbuf_chn2_vaddr
;
dma_addr_t
circbuf_chn2_paddr
;
ssize_t
circbuf_chn2_size
;
// circbuf channel 3 (in Coherent DMA buffer)
void
*
circbuf_chn3_vaddr
;
dma_addr_t
circbuf_chn3_paddr
;
ssize_t
circbuf_chn3_size
;
// raw channel 0 (in Coherent DMA buffer)
void
*
raw_chn0_vaddr
;
dma_addr_t
raw_chn0_paddr
;
ssize_t
raw_chn0_size
;
// raw channel 1 (in Coherent DMA buffer)
void
*
raw_chn1_vaddr
;
dma_addr_t
raw_chn1_paddr
;
ssize_t
raw_chn1_size
;
// raw channel 2 (in Coherent DMA buffer)
void
*
raw_chn2_vaddr
;
dma_addr_t
raw_chn2_paddr
;
ssize_t
raw_chn2_size
;
// raw channel 3 (in Coherent DMA buffer)
void
*
raw_chn3_vaddr
;
dma_addr_t
raw_chn3_paddr
;
ssize_t
raw_chn3_size
;
};
extern
struct
elphel_buf_t
*
pElphel_buf
;
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