Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
v3.5.6
 
 1/*
 2 * arch/arm/mach-tegra/board.h
 3 *
 
 4 * Copyright (C) 2010 Google, Inc.
 5 *
 6 * Author:
 7 *	Colin Cross <ccross@google.com>
 8 *	Erik Gilling <konkers@google.com>
 9 *
10 * This software is licensed under the terms of the GNU General Public
11 * License version 2, as published by the Free Software Foundation, and
12 * may be copied, distributed, and modified under those terms.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 */
20
21#ifndef __MACH_TEGRA_BOARD_H
22#define __MACH_TEGRA_BOARD_H
23
24#include <linux/types.h>
 
25
26void tegra_assert_system_reset(char mode, const char *cmd);
27
28void __init tegra20_init_early(void);
29void __init tegra30_init_early(void);
30void __init tegra_map_common_io(void);
31void __init tegra_init_irq(void);
32void __init tegra_dt_init_irq(void);
33int __init tegra_pcie_init(bool init_port0, bool init_port1);
34
35void tegra_init_late(void);
36
37#ifdef CONFIG_DEBUG_FS
38int tegra_clk_debugfs_init(void);
39#else
40static inline int tegra_clk_debugfs_init(void) { return 0; }
41#endif
42
43#if defined(CONFIG_ARCH_TEGRA_2x_SOC) && defined(CONFIG_DEBUG_FS)
44int __init tegra_powergate_debugfs_init(void);
45#else
46static inline int tegra_powergate_debugfs_init(void) { return 0; }
47#endif
48
49extern struct sys_timer tegra_timer;
50#endif
v5.4
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * arch/arm/mach-tegra/board.h
 4 *
 5 * Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
 6 * Copyright (C) 2010 Google, Inc.
 7 *
 8 * Author:
 9 *	Colin Cross <ccross@google.com>
10 *	Erik Gilling <konkers@google.com>
 
 
 
 
 
 
 
 
 
 
11 */
12
13#ifndef __MACH_TEGRA_BOARD_H
14#define __MACH_TEGRA_BOARD_H
15
16#include <linux/types.h>
17#include <linux/reboot.h>
18
 
 
 
 
19void __init tegra_map_common_io(void);
20void __init tegra_init_irq(void);
 
 
 
 
 
 
 
 
 
 
21
22void __init tegra_paz00_wifikill_init(void);
 
 
 
 
23
 
24#endif