Home
last modified time | relevance | path

Searched refs:speedbin (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/cpufreq/
Dqcom-cpufreq-nvmem.c178 u8 *speedbin; in qcom_cpufreq_kryo_name_version() local
188 speedbin = nvmem_cell_read(speedbin_nvmem, &len); in qcom_cpufreq_kryo_name_version()
189 if (IS_ERR(speedbin)) in qcom_cpufreq_kryo_name_version()
190 return PTR_ERR(speedbin); in qcom_cpufreq_kryo_name_version()
194 drv->versions = 1 << (unsigned int)(*speedbin); in qcom_cpufreq_kryo_name_version()
197 drv->versions = 1 << ((unsigned int)(*speedbin) + 4); in qcom_cpufreq_kryo_name_version()
204 kfree(speedbin); in qcom_cpufreq_kryo_name_version()
214 u8 *speedbin; in qcom_cpufreq_krait_name_version() local
218 speedbin = nvmem_cell_read(speedbin_nvmem, &len); in qcom_cpufreq_krait_name_version()
220 if (IS_ERR(speedbin)) in qcom_cpufreq_krait_name_version()
[all …]
Dsun50i-cpufreq-nvmem.c38 u32 *speedbin, efuse_value; in sun50i_cpufreq_get_efuse() local
63 speedbin = nvmem_cell_read(speedbin_nvmem, &len); in sun50i_cpufreq_get_efuse()
65 if (IS_ERR(speedbin)) in sun50i_cpufreq_get_efuse()
66 return PTR_ERR(speedbin); in sun50i_cpufreq_get_efuse()
68 efuse_value = (*speedbin >> NVMEM_SHIFT) & NVMEM_MASK; in sun50i_cpufreq_get_efuse()
80 kfree(speedbin); in sun50i_cpufreq_get_efuse()
/Linux-v6.1/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c273 *value |= ((uint64_t) adreno_gpu->speedbin) << 32; in adreno_get_param()
1028 int adreno_read_speedbin(struct device *dev, u32 *speedbin) in adreno_read_speedbin() argument
1030 return nvmem_cell_read_variable_le_u32(dev, "speed_bin", speedbin); in adreno_read_speedbin()
1043 u32 speedbin; in adreno_gpu_init() local
1051 if (adreno_read_speedbin(dev, &speedbin) || !speedbin) in adreno_gpu_init()
1052 speedbin = 0xffff; in adreno_gpu_init()
1053 adreno_gpu->speedbin = (uint16_t) (0xffff & speedbin); in adreno_gpu_init()
Dadreno_gpu.h84 uint16_t speedbin; member
343 int adreno_read_speedbin(struct device *dev, u32 *speedbin);
Da6xx_gpu.c1920 u32 speedbin; in a6xx_set_supported_hw() local
1923 ret = adreno_read_speedbin(dev, &speedbin); in a6xx_set_supported_hw()
1937 supp_hw = fuse_to_supp_hw(dev, rev, speedbin); in a6xx_set_supported_hw()
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-ipq8064.dtsi379 speedbin_efuse: speedbin@c0 {
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dqcs404.dtsi370 cpr_efuse_speedbin: speedbin@13c {
Dmsm8996.dtsi675 speedbin_efuse: speedbin@133 {