fuse.h (c9f289701540baeef9ac7c9977d67a7259f404db) | fuse.h (379ac9eb1fe94cc40173b83fda1ee8d611a756e9) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2010 Google, Inc. 4 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. 5 * 6 * Author: 7 * Colin Cross <ccross@android.com> 8 */ --- 18 unchanged lines hidden (view full) --- 27 void (*init)(struct tegra_fuse *fuse); 28 void (*speedo_init)(struct tegra_sku_info *info); 29 int (*probe)(struct tegra_fuse *fuse); 30 31 const struct tegra_fuse_info *info; 32 33 const struct nvmem_cell_lookup *lookups; 34 unsigned int num_lookups; | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2010 Google, Inc. 4 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. 5 * 6 * Author: 7 * Colin Cross <ccross@android.com> 8 */ --- 18 unchanged lines hidden (view full) --- 27 void (*init)(struct tegra_fuse *fuse); 28 void (*speedo_init)(struct tegra_sku_info *info); 29 int (*probe)(struct tegra_fuse *fuse); 30 31 const struct tegra_fuse_info *info; 32 33 const struct nvmem_cell_lookup *lookups; 34 unsigned int num_lookups; |
35 36 const struct attribute_group *soc_attr_group; |
|
35}; 36 37struct tegra_fuse { 38 struct device *dev; 39 void __iomem *base; 40 phys_addr_t phys; 41 struct clk *clk; 42 --- 16 unchanged lines hidden (view full) --- 59}; 60 61void tegra_init_revision(void); 62void tegra_init_apbmisc(void); 63 64bool __init tegra_fuse_read_spare(unsigned int spare); 65u32 __init tegra_fuse_read_early(unsigned int offset); 66 | 37}; 38 39struct tegra_fuse { 40 struct device *dev; 41 void __iomem *base; 42 phys_addr_t phys; 43 struct clk *clk; 44 --- 16 unchanged lines hidden (view full) --- 61}; 62 63void tegra_init_revision(void); 64void tegra_init_apbmisc(void); 65 66bool __init tegra_fuse_read_spare(unsigned int spare); 67u32 __init tegra_fuse_read_early(unsigned int offset); 68 |
69u8 tegra_get_major_rev(void); 70u8 tegra_get_minor_rev(void); 71 72extern const struct attribute_group tegra_soc_attr_group; 73 |
|
67#ifdef CONFIG_ARCH_TEGRA_2x_SOC 68void tegra20_init_speedo_data(struct tegra_sku_info *sku_info); 69#endif 70 71#ifdef CONFIG_ARCH_TEGRA_3x_SOC 72void tegra30_init_speedo_data(struct tegra_sku_info *sku_info); 73#endif 74 --- 30 unchanged lines hidden (view full) --- 105#endif 106 107#ifdef CONFIG_ARCH_TEGRA_186_SOC 108extern const struct tegra_fuse_soc tegra186_fuse_soc; 109#endif 110 111#ifdef CONFIG_ARCH_TEGRA_194_SOC 112extern const struct tegra_fuse_soc tegra194_fuse_soc; | 74#ifdef CONFIG_ARCH_TEGRA_2x_SOC 75void tegra20_init_speedo_data(struct tegra_sku_info *sku_info); 76#endif 77 78#ifdef CONFIG_ARCH_TEGRA_3x_SOC 79void tegra30_init_speedo_data(struct tegra_sku_info *sku_info); 80#endif 81 --- 30 unchanged lines hidden (view full) --- 112#endif 113 114#ifdef CONFIG_ARCH_TEGRA_186_SOC 115extern const struct tegra_fuse_soc tegra186_fuse_soc; 116#endif 117 118#ifdef CONFIG_ARCH_TEGRA_194_SOC 119extern const struct tegra_fuse_soc tegra194_fuse_soc; |
120extern const struct attribute_group tegra194_soc_attr_group; |
|
113#endif 114 115#endif | 121#endif 122 123#endif |