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
2ce1896e
Commit
2ce1896e
authored
Sep 06, 2012
by
Samuel Iglesias Gonsálvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tdc: added enable input flag to input_enable
Signed-off-by:
Samuel Iglesias Gonsálvez
<
siglesias@igalia.com
>
parent
ec651492
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
Makefile
drivers/Makefile
+1
-1
tdc_regs.h
drivers/hw/tdc_regs.h
+1
-0
tdc-zio.c
drivers/tdc-zio.c
+1
-0
No files found.
drivers/Makefile
View file @
2ce1896e
#LINUX ?= /lib/modules/$(shell uname -r)/build
LINUX
?=
../kernel-3.5
LINUX
?=
../
../
kernel-3.5
ZIO
?=
$(HOME)
/devel/cern/zio
SPEC_SW
?=
$(HOME)
/devel/cern/spec-sw
...
...
drivers/hw/tdc_regs.h
View file @
2ce1896e
...
...
@@ -90,6 +90,7 @@
#define TDC_CTRL_CLEAR_DACAPO_FLAG BIT(10)
#define TDC_CTRL_CONFIG_DAC BIT(11)
#define TDC_INPUT_ENABLE_FLAG BIT(7)
/* IRQ register*/
#define TDC_IRQ_REG 0xA0000
#define TDC_IRQ_GNUM_CORE_0 BIT(0)
...
...
drivers/tdc-zio.c
View file @
2ce1896e
...
...
@@ -127,6 +127,7 @@ static int tdc_zio_conf_set(struct device *dev,
tdc_set_utc_time
(
tdc
);
break
;
case
TDC_ATTR_DEV_INPUT_ENABLED
:
usr_val
|=
TDC_INPUT_ENABLE_FLAG
;
tdc_set_input_enable
(
tdc
,
usr_val
);
break
;
case
TDC_ATTR_DEV_DAC_WORD
:
...
...
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