Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
26d902c0
Commit
26d902c0
authored
Feb 09, 2011
by
Colin Cross
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: tegra: irq: Implement retrigger
Signed-off-by:
Colin Cross
<
ccross@android.com
>
parent
3524b70e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
arch/arm/mach-tegra/irq.c
arch/arm/mach-tegra/irq.c
+16
-1
No files found.
arch/arm/mach-tegra/irq.c
View file @
26d902c0
...
...
@@ -48,6 +48,7 @@ static u32 tegra_lp0_wake_level_any;
static
void
(
*
tegra_gic_mask_irq
)(
struct
irq_data
*
d
);
static
void
(
*
tegra_gic_unmask_irq
)(
struct
irq_data
*
d
);
static
void
(
*
tegra_gic_ack_irq
)(
struct
irq_data
*
d
);
/* ensures that sufficient time is passed for a register write to
* serialize into the 32KHz domain */
...
...
@@ -112,10 +113,24 @@ static void tegra_unmask(struct irq_data *d)
tegra_legacy_unmask_irq
(
d
->
irq
);
}
static
void
tegra_ack
(
struct
irq_data
*
d
)
{
tegra_legacy_force_irq_clr
(
d
->
irq
);
tegra_gic_ack_irq
(
d
);
}
static
int
tegra_retrigger
(
struct
irq_data
*
d
)
{
tegra_legacy_force_irq_set
(
d
->
irq
);
return
1
;
}
static
struct
irq_chip
tegra_irq
=
{
.
name
=
"PPI"
,
.
irq_ack
=
tegra_ack
,
.
irq_mask
=
tegra_mask
,
.
irq_unmask
=
tegra_unmask
,
.
irq_retrigger
=
tegra_retrigger
,
};
void
__init
tegra_init_irq
(
void
)
...
...
@@ -132,7 +147,7 @@ void __init tegra_init_irq(void)
gic
=
get_irq_chip
(
29
);
tegra_gic_unmask_irq
=
gic
->
irq_unmask
;
tegra_gic_mask_irq
=
gic
->
irq_mask
;
tegra_
irq
.
irq_ack
=
gic
->
irq_ack
;
tegra_
gic_ack_irq
=
gic
->
irq_ack
;
#ifdef CONFIG_SMP
tegra_irq
.
irq_set_affinity
=
gic
->
irq_set_affinity
;
#endif
...
...
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