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
359ded65
Commit
359ded65
authored
Feb 08, 2018
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: add constant for the resolution bits
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
4ea168a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
fa-zio-drv.c
kernel/fa-zio-drv.c
+1
-1
fmc-adc-100m14b4cha.h
kernel/fmc-adc-100m14b4cha.h
+1
-0
No files found.
kernel/fa-zio-drv.c
View file @
359ded65
...
...
@@ -24,7 +24,7 @@ ZIO_PARAM_BUFFER(adc_buffer);
* zio device attributes
*/
static
ZIO_ATTR_DEFINE_STD
(
ZIO_DEV
,
zfad_cset_std_zattr
)
=
{
ZIO_ATTR
(
zdev
,
ZIO_ATTR_NBITS
,
ZIO_RO_PERM
,
ZFA_SW_R_NOADDRES_NBIT
,
14
),
ZIO_ATTR
(
zdev
,
ZIO_ATTR_NBITS
,
ZIO_RO_PERM
,
ZFA_SW_R_NOADDRES_NBIT
,
FA100M14B4C_NBIT
),
};
/*
...
...
kernel/fmc-adc-100m14b4cha.h
View file @
359ded65
...
...
@@ -68,6 +68,7 @@ enum fa100m14b4c_dev_ext_attr {
#define FA100M14B4C_UTC_CLOCK_FREQ 125000000
#define FA100M14B4C_UTC_CLOCK_NS 8
#define FA100M14B4C_NCHAN 4
/* We have 4 of them,no way out of it */
#define FA100M14B4C_NBIT 14
/* ADC DDR memory */
#define FA100M14B4C_MAX_ACQ_BYTE 0x10000000
/* 256MB */
...
...
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