Searched refs:sku_info (Results 1 – 6 of 6) sorted by relevance
111 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info) in rev_sku_to_speedo_ids() argument115 switch (sku_info->revision) { in rev_sku_to_speedo_ids()117 sku_info->cpu_speedo_id = 0; in rev_sku_to_speedo_ids()118 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids()123 switch (sku_info->sku_id) { in rev_sku_to_speedo_ids()126 sku_info->cpu_speedo_id = 1; in rev_sku_to_speedo_ids()127 sku_info->soc_speedo_id = 1; in rev_sku_to_speedo_ids()133 sku_info->cpu_speedo_id = 2; in rev_sku_to_speedo_ids()134 sku_info->soc_speedo_id = 2; in rev_sku_to_speedo_ids()138 sku_info->cpu_speedo_id = 4; in rev_sku_to_speedo_ids()[all …]
57 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, in rev_sku_to_speedo_ids() argument60 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() argument133 sku_info->cpu_speedo_value = cpu_speedo[0]; in tegra210_init_speedo_data()[all …]
50 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, in rev_sku_to_speedo_ids() argument53 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()[all …]
33 static void __init rev_sku_to_speedo_ids(struct tegra_sku_info *sku_info, in rev_sku_to_speedo_ids() argument37 u32 sku = sku_info->sku_id; in rev_sku_to_speedo_ids()38 enum tegra_revision rev = sku_info->revision; in rev_sku_to_speedo_ids()45 sku_info->cpu_speedo_id = 1; in rev_sku_to_speedo_ids()46 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids()52 sku_info->cpu_speedo_id = 2; in rev_sku_to_speedo_ids()53 sku_info->soc_speedo_id = 1; in rev_sku_to_speedo_ids()59 sku_info->cpu_speedo_id = 0; in rev_sku_to_speedo_ids()60 sku_info->soc_speedo_id = 0; in rev_sku_to_speedo_ids()69 sku_info->cpu_speedo_id = 0; in rev_sku_to_speedo_ids()[all …]
54 void __init tegra20_init_speedo_data(struct tegra_sku_info *sku_info) in tegra20_init_speedo_data() argument63 if (SPEEDO_ID_SELECT_0(sku_info->revision)) in tegra20_init_speedo_data()64 sku_info->soc_speedo_id = SPEEDO_ID_0; in tegra20_init_speedo_data()65 else if (SPEEDO_ID_SELECT_1(sku_info->sku_id)) in tegra20_init_speedo_data()66 sku_info->soc_speedo_id = SPEEDO_ID_1; in tegra20_init_speedo_data()68 sku_info->soc_speedo_id = SPEEDO_ID_2; in tegra20_init_speedo_data()80 if (val <= cpu_process_speedos[sku_info->soc_speedo_id][i]) in tegra20_init_speedo_data()83 sku_info->cpu_process_id = i; in tegra20_init_speedo_data()95 if (val <= soc_process_speedos[sku_info->soc_speedo_id][i]) in tegra20_init_speedo_data()98 sku_info->soc_process_id = i; in tegra20_init_speedo_data()
78 void tegra20_init_speedo_data(struct tegra_sku_info *sku_info);82 void tegra30_init_speedo_data(struct tegra_sku_info *sku_info);86 void tegra114_init_speedo_data(struct tegra_sku_info *sku_info);90 void tegra124_init_speedo_data(struct tegra_sku_info *sku_info);94 void tegra210_init_speedo_data(struct tegra_sku_info *sku_info);