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
d7334bf2
Commit
d7334bf2
authored
Aug 12, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
header: organize kernel's headers
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
5fc64724
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
fmc-tdc.h
kernel/fmc-tdc.h
+6
-8
No files found.
kernel/fmc-tdc.h
View file @
d7334bf2
...
...
@@ -14,13 +14,6 @@
#ifndef __FMC_TDC_H__
#define __FMC_TDC_H__
#ifdef __KERNEL__
/* All the rest is only of kernel users */
#include <linux/spinlock.h>
#include <linux/timer.h>
#include <linux/fmc.h>
#include <linux/version.h>
#endif
#define FT_VERSION 2
/* version of the driver */
/* default gatewares */
...
...
@@ -67,6 +60,11 @@ enum ft_command {
/* rest of the file is kernel-only */
#ifdef __KERNEL__
#include <linux/spinlock.h>
#include <linux/timer.h>
#include <linux/fmc.h>
#include <linux/version.h>
#define FT_USER_OFFSET_RANGE 1000000000
/* picoseconds */
enum
ft_channel_flags
{
...
...
@@ -94,7 +92,7 @@ struct ft_calibration { /* All of these are big endian in the EEPROM */
/* Temperature at which the device has been calibrated */
uint32_t
calibration_temp
;
/* White Rabbit timescale offset in ps */
int32_t
wr_offset
;
};
...
...
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