Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/cpufreq/
Dqcom-cpufreq-nvmem.c76 u8 *speedbin; in qcom_cpufreq_simple_get_version() local
79 speedbin = nvmem_cell_read(speedbin_nvmem, NULL); in qcom_cpufreq_simple_get_version()
80 if (IS_ERR(speedbin)) in qcom_cpufreq_simple_get_version()
81 return PTR_ERR(speedbin); in qcom_cpufreq_simple_get_version()
83 dev_dbg(cpu_dev, "speedbin: %d\n", *speedbin); in qcom_cpufreq_simple_get_version()
84 drv->versions = 1 << *speedbin; in qcom_cpufreq_simple_get_version()
85 kfree(speedbin); in qcom_cpufreq_simple_get_version()
174 u8 *speedbin; in qcom_cpufreq_kryo_name_version() local
182 speedbin = nvmem_cell_read(speedbin_nvmem, &len); in qcom_cpufreq_kryo_name_version()
183 if (IS_ERR(speedbin)) in qcom_cpufreq_kryo_name_version()
[all …]
Dsun50i-cpufreq-nvmem.c28 u32 (*efuse_xlate)(u32 speedbin);
31 static u32 sun50i_h6_efuse_xlate(u32 speedbin) in sun50i_h6_efuse_xlate() argument
35 efuse_value = (speedbin >> NVMEM_SHIFT) & NVMEM_MASK; in sun50i_h6_efuse_xlate()
62 static u32 sun50i_h616_efuse_xlate(u32 speedbin) in sun50i_h616_efuse_xlate() argument
67 switch (speedbin & 0xffff) { in sun50i_h616_efuse_xlate()
99 speedbin & 0xffff); in sun50i_h616_efuse_xlate()
170 u32 *speedbin; in sun50i_cpufreq_get_efuse() local
193 speedbin = nvmem_cell_read(speedbin_nvmem, NULL); in sun50i_cpufreq_get_efuse()
195 if (IS_ERR(speedbin)) in sun50i_cpufreq_get_efuse()
196 return PTR_ERR(speedbin); in sun50i_cpufreq_get_efuse()
[all …]
/linux-6.12.1/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c335 *value |= ((uint64_t) adreno_gpu->speedbin) << 32; in adreno_get_param()
1068 int adreno_read_speedbin(struct device *dev, u32 *speedbin) in adreno_read_speedbin() argument
1070 return nvmem_cell_read_variable_le_u32(dev, "speed_bin", speedbin); in adreno_read_speedbin()
1082 u32 speedbin; in adreno_gpu_init() local
1110 if (adreno_read_speedbin(dev, &speedbin) || !speedbin) in adreno_gpu_init()
1111 speedbin = 0xffff; in adreno_gpu_init()
1112 adreno_gpu->speedbin = (uint16_t) (0xffff & speedbin); in adreno_gpu_init()
Dadreno_gpu.h82 uint16_t speedbin; member
163 uint16_t speedbin; member
605 int adreno_read_speedbin(struct device *dev, u32 *speedbin);
Da6xx_gpu.c2122 return BIT(info->speedbins[i].speedbin); in fuse_to_supp_hw()
2130 u32 speedbin; in a6xx_set_supported_hw() local
2133 ret = adreno_read_speedbin(dev, &speedbin); in a6xx_set_supported_hw()
2146 supp_hw = fuse_to_supp_hw(info, speedbin); in a6xx_set_supported_hw()
2151 speedbin); in a6xx_set_supported_hw()
/linux-6.12.1/arch/arm/boot/dts/qcom/
Dqcom-msm8226.dtsi134 /* Higher CPU frequencies need speedbin support */
Dqcom-ipq8064.dtsi380 speedbin_efuse: speedbin@c0 {
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dqcs404.dtsi376 cpr_efuse_speedbin: speedbin@13c {
Dmsm8996.dtsi769 speedbin_efuse: speedbin@133 {
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt8186.dtsi1716 gpu_speedbin: gpu-speedbin@59c {