This source file includes following definitions.
- tegra_cpuidle_init
- tegra_cpuidle_pcie_irqs_in_use
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 #include <linux/kernel.h>
16 #include <linux/module.h>
17
18 #include <soc/tegra/fuse.h>
19
20 #include "cpuidle.h"
21
22 void __init tegra_cpuidle_init(void)
23 {
24 switch (tegra_get_chip_id()) {
25 case TEGRA20:
26 if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC))
27 tegra20_cpuidle_init();
28 break;
29 case TEGRA30:
30 if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC))
31 tegra30_cpuidle_init();
32 break;
33 case TEGRA114:
34 case TEGRA124:
35 if (IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC) ||
36 IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC))
37 tegra114_cpuidle_init();
38 break;
39 }
40 }
41
42 void tegra_cpuidle_pcie_irqs_in_use(void)
43 {
44 switch (tegra_get_chip_id()) {
45 case TEGRA20:
46 if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC))
47 tegra20_cpuidle_pcie_irqs_in_use();
48 break;
49 }
50 }