Lines Matching refs:speed
66 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_a() argument
73 *speed = pte_efuse & 0xf; in get_krait_bin_format_a()
74 if (*speed == 0xf) in get_krait_bin_format_a()
75 *speed = (pte_efuse >> 4) & 0xf; in get_krait_bin_format_a()
77 if (*speed == 0xf) { in get_krait_bin_format_a()
78 *speed = 0; in get_krait_bin_format_a()
79 dev_warn(cpu_dev, "Speed bin: Defaulting to %d\n", *speed); in get_krait_bin_format_a()
81 dev_dbg(cpu_dev, "Speed bin: %d\n", *speed); in get_krait_bin_format_a()
97 int *speed, int *pvs, int *pvs_ver, in get_krait_bin_format_b() argument
110 *speed = (pte_efuse >> 27) & 0xf; in get_krait_bin_format_b()
114 *speed = pte_efuse & 0x7; in get_krait_bin_format_b()
119 *speed = pte_efuse & 0x7; in get_krait_bin_format_b()
124 dev_dbg(cpu_dev, "Speed bin: %d\n", *speed); in get_krait_bin_format_b()
127 *speed = 0; in get_krait_bin_format_b()
213 int speed = 0, pvs = 0, pvs_ver = 0; in qcom_cpufreq_krait_name_version() local
225 get_krait_bin_format_a(cpu_dev, &speed, &pvs, &pvs_ver, in qcom_cpufreq_krait_name_version()
229 get_krait_bin_format_b(cpu_dev, &speed, &pvs, &pvs_ver, in qcom_cpufreq_krait_name_version()
239 speed, pvs, pvs_ver); in qcom_cpufreq_krait_name_version()
241 drv->versions = (1 << speed); in qcom_cpufreq_krait_name_version()