Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
Commits
7921b89f
Commit
7921b89f
authored
Sep 15, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: add shot number to zfad_block
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
f0f435cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
fa-zio-trg.c
kernel/fa-zio-trg.c
+1
-0
fmc-adc-100m14b4cha.h
kernel/fmc-adc-100m14b4cha.h
+1
-0
No files found.
kernel/fa-zio-trg.c
View file @
7921b89f
...
...
@@ -397,6 +397,7 @@ static int zfat_arm_trigger(struct zio_ti *ti)
/* Add to the vector of prepared blocks */
zfad_block
[
i
].
block
=
block
;
zfad_block
[
i
].
cset
=
ti
->
cset
;
zfad_block
[
i
].
shot_n
=
i
;
}
err
=
ti
->
cset
->
raw_io
(
ti
->
cset
);
...
...
kernel/fmc-adc-100m14b4cha.h
View file @
7921b89f
...
...
@@ -494,6 +494,7 @@ struct zfad_block {
dma_cookie_t
cookie
;
struct
sg_table
sgt
;
void
*
dma_ctx
;
unsigned
int
shot_n
;
};
/*
...
...
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