Lines Matching refs:sku_info

57 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info,  in rev_sku_to_speedo_ids()  argument
60 int sku = sku_info->sku_id; in rev_sku_to_speedo_ids()
63 sku_info->cpu_speedo_id = 0; in rev_sku_to_speedo_ids()
64 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids()
65 sku_info->gpu_speedo_id = 0; in rev_sku_to_speedo_ids()
75 sku_info->gpu_speedo_id = 1; in rev_sku_to_speedo_ids()
80 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()
103 void __init tegra210_init_speedo_data(struct tegra_sku_info *sku_info) in tegra210_init_speedo_data() argument
133 sku_info->cpu_speedo_value = cpu_speedo[0]; in tegra210_init_speedo_data()
134 sku_info->gpu_speedo_value = cpu_speedo[2]; in tegra210_init_speedo_data()
135 sku_info->soc_speedo_value = soc_speedo[0]; in tegra210_init_speedo_data()
137 sku_info->cpu_speedo_value = (-1938 + (1095 * cpu_speedo[0] / 100)) / 10; in tegra210_init_speedo_data()
138 sku_info->gpu_speedo_value = (-1662 + (1082 * cpu_speedo[2] / 100)) / 10; in tegra210_init_speedo_data()
139 sku_info->soc_speedo_value = ( -705 + (1037 * soc_speedo[0] / 100)) / 10; in tegra210_init_speedo_data()
141 sku_info->cpu_speedo_value = 2100; in tegra210_init_speedo_data()
142 sku_info->gpu_speedo_value = cpu_speedo[2] - 75; in tegra210_init_speedo_data()
143 sku_info->soc_speedo_value = 1900; in tegra210_init_speedo_data()
146 if ((sku_info->cpu_speedo_value <= 0) || in tegra210_init_speedo_data()
147 (sku_info->gpu_speedo_value <= 0) || in tegra210_init_speedo_data()
148 (sku_info->soc_speedo_value <= 0)) { in tegra210_init_speedo_data()
153 rev_sku_to_speedo_ids(sku_info, speedo_revision, &index); in tegra210_init_speedo_data()
155 sku_info->gpu_process_id = get_process_id(sku_info->gpu_speedo_value, in tegra210_init_speedo_data()
159 sku_info->cpu_process_id = get_process_id(sku_info->cpu_speedo_value, in tegra210_init_speedo_data()
163 sku_info->soc_process_id = get_process_id(sku_info->soc_speedo_value, in tegra210_init_speedo_data()
168 sku_info->gpu_speedo_id, sku_info->gpu_speedo_value); in tegra210_init_speedo_data()