Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
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 TDC 1ns 5cha - Software
Commits
b94a55ac
Commit
b94a55ac
authored
Jul 22, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: last time stamp is within the current_control
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
3f573b64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
ft-zio.c
kernel/ft-zio.c
+0
-13
No files found.
kernel/ft-zio.c
View file @
b94a55ac
...
@@ -53,9 +53,6 @@ static struct zio_attribute ft_zattr_input[] = {
...
@@ -53,9 +53,6 @@ static struct zio_attribute ft_zattr_input[] = {
ZIO_ATTR_EXT
(
"user-offset"
,
ZIO_RW_PERM
,
FT_ATTR_TDC_USER_OFFSET
,
0
),
ZIO_ATTR_EXT
(
"user-offset"
,
ZIO_RW_PERM
,
FT_ATTR_TDC_USER_OFFSET
,
0
),
ZIO_ATTR_EXT
(
"diff-reference"
,
ZIO_RW_PERM
,
FT_ATTR_TDC_DELAY_REF
,
0
),
ZIO_ATTR_EXT
(
"diff-reference"
,
ZIO_RW_PERM
,
FT_ATTR_TDC_DELAY_REF
,
0
),
ZIO_ATTR_EXT
(
"diff-reference-seq"
,
ZIO_RO_PERM
,
FT_ATTR_TDC_DELAY_REF_SEQ
,
0
),
ZIO_ATTR_EXT
(
"diff-reference-seq"
,
ZIO_RO_PERM
,
FT_ATTR_TDC_DELAY_REF_SEQ
,
0
),
ZIO_PARAM_EXT
(
"last_seconds"
,
ZIO_RO_PERM
,
FT_ATTR_TDC_SECONDS
,
0
),
ZIO_PARAM_EXT
(
"last_coarse"
,
ZIO_RO_PERM
,
FT_ATTR_TDC_COARSE
,
0
),
ZIO_PARAM_EXT
(
"last_frac"
,
ZIO_RO_PERM
,
FT_ATTR_TDC_FRAC
,
0
),
};
};
/* This identifies if our "struct device" is device, input, output */
/* This identifies if our "struct device" is device, input, output */
...
@@ -98,16 +95,6 @@ static int ft_zio_info_channel(struct device *dev, struct zio_attribute *zattr,
...
@@ -98,16 +95,6 @@ static int ft_zio_info_channel(struct device *dev, struct zio_attribute *zattr,
case
FT_ATTR_TDC_DELAY_REF
:
case
FT_ATTR_TDC_DELAY_REF
:
*
usr_val
=
st
->
delay_reference
;
*
usr_val
=
st
->
delay_reference
;
break
;
break
;
/* Parameters */
case
FT_ATTR_TDC_SECONDS
:
*
usr_val
=
st
->
last_ts
.
seconds
;
break
;
case
FT_ATTR_TDC_COARSE
:
*
usr_val
=
st
->
last_ts
.
coarse
;
break
;
case
FT_ATTR_TDC_FRAC
:
*
usr_val
=
st
->
last_ts
.
frac
;
break
;
}
}
return
0
;
return
0
;
...
...
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