Lines Matching refs:sku_info

50 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info,  in rev_sku_to_speedo_ids()  argument
53 int sku = sku_info->sku_id; in rev_sku_to_speedo_ids()
56 sku_info->cpu_speedo_id = 0; in rev_sku_to_speedo_ids()
57 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids()
58 sku_info->gpu_speedo_id = 0; in rev_sku_to_speedo_ids()
68 sku_info->cpu_speedo_id = 2; in rev_sku_to_speedo_ids()
74 sku_info->cpu_speedo_id = 2; in rev_sku_to_speedo_ids()
75 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids()
76 sku_info->gpu_speedo_id = 1; in rev_sku_to_speedo_ids()
82 sku_info->cpu_speedo_id = 1; in rev_sku_to_speedo_ids()
83 sku_info->soc_speedo_id = 1; in rev_sku_to_speedo_ids()
84 sku_info->gpu_speedo_id = 1; in rev_sku_to_speedo_ids()
90 sku_info->cpu_speedo_id = 4; in rev_sku_to_speedo_ids()
91 sku_info->soc_speedo_id = 2; in rev_sku_to_speedo_ids()
92 sku_info->gpu_speedo_id = 3; in rev_sku_to_speedo_ids()
102 void __init tegra124_init_speedo_data(struct tegra_sku_info *sku_info) in tegra124_init_speedo_data() argument
113 sku_info->cpu_speedo_value = tegra_fuse_read_early(FUSE_CPU_SPEEDO_0); in tegra124_init_speedo_data()
114 if (sku_info->cpu_speedo_value == 0) { in tegra124_init_speedo_data()
121 sku_info->gpu_speedo_value = tegra_fuse_read_early(FUSE_CPU_SPEEDO_2); in tegra124_init_speedo_data()
124 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra124_init_speedo_data()
126 sku_info->cpu_iddq_value = tegra_fuse_read_early(FUSE_CPU_IDDQ); in tegra124_init_speedo_data()
129 if (sku_info->gpu_speedo_value < in tegra124_init_speedo_data()
132 sku_info->gpu_process_id = i; in tegra124_init_speedo_data()
135 if (sku_info->cpu_speedo_value < in tegra124_init_speedo_data()
138 sku_info->cpu_process_id = i; in tegra124_init_speedo_data()
144 sku_info->soc_process_id = i; in tegra124_init_speedo_data()
147 sku_info->gpu_speedo_id, sku_info->gpu_speedo_value); in tegra124_init_speedo_data()