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
f083c4b1
Commit
f083c4b1
authored
Oct 05, 2021
by
Thierry Reding
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-5.16/clk' into for-5.16/cpuidle
parents
6880fa6c
4ad81f6e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
include/linux/clk/tegra.h
include/linux/clk/tegra.h
+23
-1
No files found.
include/linux/clk/tegra.h
View file @
f083c4b1
...
...
@@ -42,6 +42,7 @@ struct tegra_cpu_car_ops {
#endif
};
#ifdef CONFIG_ARCH_TEGRA
extern
struct
tegra_cpu_car_ops
*
tegra_cpu_car_ops
;
static
inline
void
tegra_wait_cpu_in_reset
(
u32
cpu
)
...
...
@@ -83,8 +84,29 @@ static inline void tegra_disable_cpu_clock(u32 cpu)
tegra_cpu_car_ops
->
disable_clock
(
cpu
);
}
#else
static
inline
void
tegra_wait_cpu_in_reset
(
u32
cpu
)
{
}
#ifdef CONFIG_PM_SLEEP
static
inline
void
tegra_put_cpu_in_reset
(
u32
cpu
)
{
}
static
inline
void
tegra_cpu_out_of_reset
(
u32
cpu
)
{
}
static
inline
void
tegra_enable_cpu_clock
(
u32
cpu
)
{
}
static
inline
void
tegra_disable_cpu_clock
(
u32
cpu
)
{
}
#endif
#if defined(CONFIG_ARCH_TEGRA) && defined(CONFIG_PM_SLEEP)
static
inline
bool
tegra_cpu_rail_off_ready
(
void
)
{
if
(
WARN_ON
(
!
tegra_cpu_car_ops
->
rail_off_ready
))
...
...
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