Lines Matching refs:speed
56 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_a() argument
63 *speed = pte_efuse & 0xf; in get_krait_bin_format_a()
64 if (*speed == 0xf) in get_krait_bin_format_a()
65 *speed = (pte_efuse >> 4) & 0xf; in get_krait_bin_format_a()
67 if (*speed == 0xf) { in get_krait_bin_format_a()
68 *speed = 0; in get_krait_bin_format_a()
69 dev_warn(cpu_dev, "Speed bin: Defaulting to %d\n", *speed); in get_krait_bin_format_a()
71 dev_dbg(cpu_dev, "Speed bin: %d\n", *speed); in get_krait_bin_format_a()
87 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_b() argument
100 *speed = (pte_efuse >> 27) & 0xf; in get_krait_bin_format_b()
104 *speed = pte_efuse & 0x7; in get_krait_bin_format_b()
109 *speed = pte_efuse & 0x7; in get_krait_bin_format_b()
114 dev_dbg(cpu_dev, "Speed bin: %d\n", *speed); in get_krait_bin_format_b()
117 *speed = 0; in get_krait_bin_format_b()
175 int speed = 0, pvs = 0, pvs_ver = 0; in qcom_cpufreq_krait_name_version() local
187 get_krait_bin_format_a(cpu_dev, &speed, &pvs, &pvs_ver, in qcom_cpufreq_krait_name_version()
191 get_krait_bin_format_b(cpu_dev, &speed, &pvs, &pvs_ver, in qcom_cpufreq_krait_name_version()
201 speed, pvs, pvs_ver); in qcom_cpufreq_krait_name_version()
203 drv->versions = (1 << speed); in qcom_cpufreq_krait_name_version()