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
12f59d4e
Commit
12f59d4e
authored
Sep 10, 2012
by
Samuel Iglesias Gonsálvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tdc: MCD
Signed-off-by:
Samuel Iglesias Gonsálvez
<
siglesias@igalia.com
>
parent
f355ca59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
tdc-core.c
drivers/tdc-core.c
+2
-0
tdc-fmc.c
drivers/tdc-fmc.c
+1
-1
No files found.
drivers/tdc-core.c
View file @
12f59d4e
...
...
@@ -79,6 +79,8 @@ void tdc_activate_acquisition(struct spec_tdc *tdc)
{
/* Before activate the adquisition is required to reset the ACAM chip */
tdc_acam_reset
(
tdc
);
/* Enable IRQ */
writel
(
0xC
,
tdc
->
base
+
TDC_IRQ_REG
+
0x8
);
writel
(
TDC_CTRL_EN_ACQ
,
tdc
->
base
+
TDC_CTRL_REG
);
}
...
...
drivers/tdc-fmc.c
View file @
12f59d4e
...
...
@@ -166,7 +166,7 @@ irqreturn_t tdc_fmc_irq_handler(int irq, void *dev_id)
u32
irq_code
;
/* Check the source of the interrupt */
irq_code
=
readl
(
fmc
->
base
+
TDC_IRQ_REG
);
irq_code
=
readl
(
fmc
->
base
+
TDC_IRQ_REG
+
0x4
);
/* Tstamp threshold or time threshold */
if
((
irq_code
&
TDC_IRQ_TDC_TSTAMP
)
||
...
...
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