Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC ADC 100M 14b 4cha - Software
Commits
941a8553
Commit
941a8553
authored
Jan 27, 2013
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmc-adc.h: add counter to handle multi-shot acquisition
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
50c3d772
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
fmc-adc.h
kernel/fmc-adc.h
+7
-0
No files found.
kernel/fmc-adc.h
View file @
941a8553
...
...
@@ -75,6 +75,9 @@ struct dma_item {
* @hwzdev: is the pointer to the fake zio_device, used to initialize and
* to remove a zio_device
*
* @n_shots: total number of programmed shots for an acquisition
* @n_fire: number of trigger fire occurred within an acquisition
*
* DMA variable: these variables are used by the fa-dma.c engine
* @sgt: scatter/gather table
* @items: vector of dma_item for a single DMA transfer
...
...
@@ -93,6 +96,10 @@ struct fa_dev {
struct
zio_device
*
zdev
;
struct
zio_device
*
hwzdev
;
/* Acquisition */
unsigned
int
n_shots
;
unsigned
int
n_fire
;
/* DMA variable */
struct
sg_table
sgt
;
struct
dma_item
*
items
;
...
...
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