Home
last modified time | relevance | path

Searched refs:tegra_sku_info (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/soc/tegra/fuse/
H A Dtegra-apbmisc.c140 tegra_sku_info.revision = TEGRA_REVISION_A01; in tegra_init_revision()
143 tegra_sku_info.revision = TEGRA_REVISION_A02; in tegra_init_revision()
148 tegra_sku_info.revision = TEGRA_REVISION_A03p; in tegra_init_revision()
150 tegra_sku_info.revision = TEGRA_REVISION_A03; in tegra_init_revision()
153 tegra_sku_info.revision = TEGRA_REVISION_A04; in tegra_init_revision()
156 tegra_sku_info.revision = TEGRA_REVISION_UNKNOWN; in tegra_init_revision()
159 tegra_sku_info.sku_id = tegra_fuse_read_early(FUSE_SKU_INFO); in tegra_init_revision()
160 tegra_sku_info.platform = tegra_get_platform(); in tegra_init_revision()
H A Dfuse.h28 void (*speedo_init)(struct tegra_sku_info *info);
82 void tegra20_init_speedo_data(struct tegra_sku_info *sku_info);
86 void tegra30_init_speedo_data(struct tegra_sku_info *sku_info);
90 void tegra114_init_speedo_data(struct tegra_sku_info *sku_info);
94 void tegra124_init_speedo_data(struct tegra_sku_info *sku_info);
98 void tegra210_init_speedo_data(struct tegra_sku_info *sku_info);
H A Dfuse-tegra.c26 struct tegra_sku_info tegra_sku_info; variable
27 EXPORT_SYMBOL(tegra_sku_info);
385 tegra_platform_name[tegra_sku_info.platform], in tegra_soc_device_register()
386 tegra_revision_name[tegra_sku_info.revision]); in tegra_soc_device_register()
389 tegra_platform_name[tegra_sku_info.platform]); in tegra_soc_device_register()
501 tegra_revision_name[tegra_sku_info.revision], in tegra_init_fuse()
502 tegra_sku_info.sku_id, tegra_sku_info.cpu_process_id, in tegra_init_fuse()
503 tegra_sku_info.soc_process_id); in tegra_init_fuse()
505 tegra_sku_info.cpu_speedo_id, tegra_sku_info.soc_speedo_id); in tegra_init_fuse()
H A Dfuse-tegra20.c169 randomness[0] = tegra_sku_info.sku_id; in tegra20_fuse_add_randomness()
172 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra20_fuse_add_randomness()
173 randomness[3] |= tegra_sku_info.soc_process_id; in tegra20_fuse_add_randomness()
174 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra20_fuse_add_randomness()
175 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra20_fuse_add_randomness()
187 fuse->soc->speedo_init(&tegra_sku_info); in tegra20_fuse_init()
H A Dfuse-tegra30.c70 randomness[0] = tegra_sku_info.sku_id; in tegra30_fuse_add_randomness()
73 randomness[3] = tegra_sku_info.cpu_process_id << 16; in tegra30_fuse_add_randomness()
74 randomness[3] |= tegra_sku_info.soc_process_id; in tegra30_fuse_add_randomness()
75 randomness[4] = tegra_sku_info.cpu_speedo_id << 16; in tegra30_fuse_add_randomness()
76 randomness[4] |= tegra_sku_info.soc_speedo_id; in tegra30_fuse_add_randomness()
96 fuse->soc->speedo_init(&tegra_sku_info); in tegra30_fuse_init()
H A Dspeedo-tegra114.c33 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, in rev_sku_to_speedo_ids()
73 void __init tegra114_init_speedo_data(struct tegra_sku_info *sku_info) in tegra114_init_speedo_data()
H A Dspeedo-tegra124.c50 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, in rev_sku_to_speedo_ids()
102 void __init tegra124_init_speedo_data(struct tegra_sku_info *sku_info) in tegra124_init_speedo_data()
H A Dspeedo-tegra210.c57 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, in rev_sku_to_speedo_ids()
103 void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info) in tegra210_init_speedo_data()
H A Dspeedo-tegra30.c111 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info) in rev_sku_to_speedo_ids()
235 void __init tegra30_init_speedo_data(struct tegra_sku_info *sku_info) in tegra30_init_speedo_data()
H A Dspeedo-tegra20.c54 void __init tegra20_init_speedo_data(struct tegra_sku_info *sku_info) in tegra20_init_speedo_data()
/openbmc/linux/include/soc/tegra/
H A Dfuse.h52 struct tegra_sku_info { struct
69 extern struct tegra_sku_info tegra_sku_info; argument
79 static struct tegra_sku_info tegra_sku_info __maybe_unused;
/openbmc/linux/drivers/cpufreq/
H A Dtegra20-cpufreq.c59 versions[0] = BIT(tegra_sku_info.cpu_process_id); in tegra20_cpufreq_probe()
60 versions[1] = BIT(tegra_sku_info.soc_speedo_id); in tegra20_cpufreq_probe()
62 versions[0] = BIT(tegra_sku_info.cpu_process_id); in tegra20_cpufreq_probe()
63 versions[1] = BIT(tegra_sku_info.cpu_speedo_id); in tegra20_cpufreq_probe()
/openbmc/linux/drivers/soc/tegra/
H A Dregulators-tegra30.c106 switch (tegra_sku_info.cpu_speedo_id) { in tegra30_core_cpu_limit()
122 switch (tegra_sku_info.cpu_speedo_id) { in tegra30_cpu_nominal_uV()
144 switch (tegra_sku_info.soc_speedo_id) { in tegra30_core_nominal_uV()
149 if (tegra_sku_info.cpu_speedo_id != 7 && in tegra30_core_nominal_uV()
150 tegra_sku_info.cpu_speedo_id != 8) in tegra30_core_nominal_uV()
156 if (tegra_sku_info.cpu_speedo_id != 13) in tegra30_core_nominal_uV()
H A Dcommon.c128 hw_version = BIT(tegra_sku_info.soc_process_id); in devm_tegra_core_dev_init_opp_table()
132 hw_version = BIT(tegra_sku_info.soc_speedo_id); in devm_tegra_core_dev_init_opp_table()
H A Dregulators-tegra20.c115 switch (tegra_sku_info.soc_speedo_id) { in tegra20_cpu_nominal_uV()
127 switch (tegra_sku_info.soc_speedo_id) { in tegra20_core_nominal_uV()
/openbmc/linux/drivers/clk/tegra/
H A Dclk-tegra124-dfll-fcpu.c564 process_id = tegra_sku_info.cpu_process_id; in tegra124_dfll_fcpu_probe()
565 speedo_id = tegra_sku_info.cpu_speedo_id; in tegra124_dfll_fcpu_probe()
566 speedo_value = tegra_sku_info.cpu_speedo_value; in tegra124_dfll_fcpu_probe()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dtegra.c310 tdev->gpu_speedo = tegra_sku_info.gpu_speedo_value; in nvkm_device_tegra_new()
311 tdev->gpu_speedo_id = tegra_sku_info.gpu_speedo_id; in nvkm_device_tegra_new()
/openbmc/linux/drivers/thermal/tegra/
H A Dtegra30-tsensor.c481 if (tegra_sku_info.revision == TEGRA_REVISION_A01) { in tegra_tsensor_nvmem_setup()
497 tegra_sku_info.revision); in tegra_tsensor_nvmem_setup()
/openbmc/linux/drivers/devfreq/
H A Dtegra30-devfreq.c835 u32 hw_version = BIT(tegra_sku_info.soc_speedo_id); in tegra_devfreq_probe()
/openbmc/linux/drivers/memory/tegra/
H A Dtegra124-emc.c1397 u32 hw_version = BIT(tegra_sku_info.soc_speedo_id); in tegra_emc_opp_table_init()
/openbmc/linux/drivers/phy/tegra/
H A Dxusb-tegra210.c2010 if (tegra_sku_info.revision < TEGRA_REVISION_A02) in tegra210_usb2_phy_power_on()