Lines Matching refs:speed
68 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_a() argument
75 *speed = pte_efuse & 0xf; in get_krait_bin_format_a()
76 if (*speed == 0xf) in get_krait_bin_format_a()
77 *speed = (pte_efuse >> 4) & 0xf; in get_krait_bin_format_a()
79 if (*speed == 0xf) { in get_krait_bin_format_a()
80 *speed = 0; in get_krait_bin_format_a()
81 dev_warn(cpu_dev, "Speed bin: Defaulting to %d\n", *speed); in get_krait_bin_format_a()
83 dev_dbg(cpu_dev, "Speed bin: %d\n", *speed); in get_krait_bin_format_a()
99 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_b() argument
112 *speed = (pte_efuse >> 27) & 0xf; in get_krait_bin_format_b()
116 *speed = pte_efuse & 0x7; in get_krait_bin_format_b()
121 *speed = pte_efuse & 0x7; in get_krait_bin_format_b()
126 dev_dbg(cpu_dev, "Speed bin: %d\n", *speed); in get_krait_bin_format_b()
129 *speed = 0; in get_krait_bin_format_b()
215 int speed = 0, pvs = 0, pvs_ver = 0; in qcom_cpufreq_krait_name_version() local
227 get_krait_bin_format_a(cpu_dev, &speed, &pvs, &pvs_ver, in qcom_cpufreq_krait_name_version()
231 get_krait_bin_format_b(cpu_dev, &speed, &pvs, &pvs_ver, in qcom_cpufreq_krait_name_version()
241 speed, pvs, pvs_ver); in qcom_cpufreq_krait_name_version()
243 drv->versions = (1 << speed); in qcom_cpufreq_krait_name_version()